Search:

Type: Posts; User: Frank Cheng

Page 1 of 41 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    9
    Views
    376

    Re: DF 20.0 Soap Call returns no results

    I didn't see anything weird regarding the "MonetaryValue" field. Maybe DAW will look into that for you.

    Frank Cheng
  2. Replies
    9
    Views
    376

    Re: DF 20.0 Soap Call returns no results

    Post the UPS soap package here and we might be able to take a look. Until then, here is a guess
    MonetaryValue seems like it should be a number type, and yet in the debugger, it shows up as tNString....
  3. Replies
    2
    Views
    237

    Embedded DF with VSS

    One of our customers uses VSS (https://docs.microsoft.com/en-us/windows/win32/vss/volume-shadow-copy-service-portal) to backup their data hourly. While VSS is running, our DF applications would run...
  4. Replies
    8
    Views
    308

    Re: Process control

    While you can specify "Global" or "Local" to specify the scope of the mutex, by default (as in you don't specify any prefix), it is local.
    ...
  5. Re: Bug: Studio ActiveX package name suggestion for first item in the list

    Slow clap...

    Frank Cheng
  6. Re: Error DF 20 last update after registering my license - Windows 11

    Did you forget to attach a screenshot of the error message?

    Frank Cheng
  7. Replies
    11
    Views
    595

    Re: DF20 bug with pos

    This is fixed (along with other string related bugs) in the latest DF 20, however it was not mentioned in the release note. I reckon this is one of the more important issues to mention in the release...
  8. Re: Integer Function has a mind of it's own (not truncating reals)

    EXTERN_C int WINAPI Int(double r)
    {
    int i = r;
    return i;
    }




    External_Function Int "Int" Int.dll Real r Returns Integer
  9. Replies
    10
    Views
    697

    Re: Datetime bug found with DateAddDays

    Bad info
  10. Replies
    10
    Views
    697

    Re: Datetime bug found with DateAddDays

    Let me come up with something...
  11. Replies
    9
    Views
    1,994

    Re: Frankcheng.com is updated again

    Just got my https for frankcheng.com, yay

    https://www.frankcheng.com

    Frank Cheng
  12. Replies
    9
    Views
    1,994

    Re: Frankcheng.com is updated again

    Hi Nils, I just sent you an email.

    Frank Cheng
  13. Replies
    10
    Views
    697

    Re: Datetime bug found with DateAddDays

    Easy fix

    http://www.frankcheng.com/vdf/leap_year_datetime.htm

    Frank Cheng
  14. Replies
    9
    Views
    1,994

    Re: Frankcheng.com is updated again

    After 8 months of inactivity, I am starting to post again. Finally added the Win32 C++ section, and added a quick post in VDF.

    http://www.frankcheng.com

    Frank Cheng
  15. Replies
    13
    Views
    787

    Re: Years later, Variant bug still there

    Oliver,

    It's Friday and I was bored, and I managed to patch my VDF 16.1 so that DateTime to/from Variant would retain the milliseconds. It involves IAT runtime patching, an old technique I used in...
  16. Replies
    3
    Views
    137

    Re: Weird Compiler Question

    Thank Michael! Awesome find!

    Frank Cheng
  17. Replies
    3
    Views
    137

    Weird Compiler Question

    Hi all,

    This is just me playing around to see if I can create the "leanest" exe (while have some functionality).



    Function ABC Returns Integer
    End_Function
    Showln (ABC())
  18. Replies
    13
    Views
    787

    Re: Years later, Variant bug still there

    Hi Oliver,

    I agree with you that DateTime precision should not be lost during DateTime from/to Variant.

    Having said that, I am curious about the example you gave. If a COM control were to...
  19. Replies
    10
    Views
    697

    Re: Datetime bug found with DateAddDays

    I think it's a pretty easy fix. If you look into the implementation of DateAddDays, DAW was adding days by converting DATETIME to a DATE first, then do the addition.
    As noted in the forum somewhere...
  20. Replies
    7
    Views
    281

    Re: Bug in Function_Return And ByRef

    Sorry if I wasn't being clear. The ByRef value is correct, but the return value is not correct. (see the comment in the code)



    Procedure Main
    String s1 s2
    Get SomeFunction (&s1) to s2...
  21. Replies
    7
    Views
    281

    Re: Bug in Function_Return And ByRef

    Hi Stephen,

    This is 16.1.

    Frank Cheng
  22. Replies
    7
    Views
    281

    Bug in Function_Return And ByRef

    This is a super weird bug. To boil it down, I call a function, and the function is not returning what it supposed to return. The following is the pseudo code
    "SomeFunction" would return a value, and...
  23. Replies
    6
    Views
    457

    Re: External function call problem

    To reproduce the problem, declare "Handle hProvider" as a global variable, exactly like how Anders did it. You did it inside the procedure Test, thus your code is not the same as the OP's code.
    ...
  24. Replies
    8
    Views
    270

    Re: Treeview Flicker

    Instead of looking at the trace, you could try reducing the number of "variables" in the problem to see if the problem persists. Get rid of the treeview, see if the rich edit still flickers. Then...
  25. Re: cStopWatch class - high precision time interval measurement

    I thought it's supposed to be VDF/DF, not PHP, lol
    14793

    Frank Cheng
Results 1 to 25 of 1005
Page 1 of 41 1 2 3 4