Search:

Type: Posts; User: Frank Cheng

Page 1 of 32 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    212

    Re: cFileSystem Lib

    We have a sub-reddit??!!! Why was there no announcement / sticky ??!!!

    Frank Cheng
  2. Replies
    11
    Views
    180

    Re: Radio labels disappearing

    It should be a very easy problem to debug. If you set a breakpoint at XLate, and set a breakpoint at "Set Label", you should be able to tell what goes wrong.



    Function XLate Global String s...
  3. Replies
    11
    Views
    180

    Re: Radio labels disappearing

    Without a reproducible sample, I can only guess.

    Possible solution -> comment out the End_Construct_Object augmentation.
    Reason: Imagine the following code where Xlate function translates the...
  4. Replies
    4
    Views
    206

    Re: What happened to TopMostMixin

    The TopMostMixin is still inside of the file Dfotpanl.pkg in my DF 19.1 PKG folder.

    Frank Cheng
  5. Replies
    16
    Views
    550

    Re: Language Request : Multiline strings.

    To answer to my own question - no, the syntax highlighting in the Studio doesn't handle this kind of multi-line string correctly.

    Frank Cheng
  6. Replies
    16
    Views
    550

    Re: Language Request : Multiline strings.

    A senior programmer used it in a few places in the source code. I discovered this trick when I was writing a language parser for VDF. I had to write special rules to account for this particular...
  7. Thread: VDF Lint

    by Frank Cheng
    Replies
    46
    Views
    2,697

    Re: VDF Lint

    I haven't looked at it in a while because I was moved to another non-VDF project. I will look at it again once I am moved back to the VDF world.

    Frank Cheng
  8. Re: Anyone have a hex to text conversion routine?

    I got it covered - http://www.frankcheng.com/hextoint.htm

    Frank Cheng
  9. Replies
    2
    Views
    211

    Mysterious ComboForm crash Solved

    This is just a FYI post in case you run into the same thing.

    A junior VDF developer at our company encountered a crash with ComboForm. He was able to boil down the code to this



    Use...
  10. Re: Anyone have a hex to text conversion routine?

    The fastest way is to tag a "$" in front of the hex string


    Use UI
    String sHexString
    Move "1AB3" to sHexString
    Showln (Integer("$"+sHexString)) // If you want an integer result
    Showln...
  11. Re: what windows class is the dbForm control based off?

    I gave it a go sometime ago. Long story short, it was a no-go. Check out my old post at

    http://www.frankcheng.com/hint_text1.htm

    Frank Cheng
  12. Sticky: Re: Recent Microsoft Changes to Windows 10 May Impact Functionality and/or Data Integrity

    Check out http://www.frankcheng.com/ (Shameless plug :D )
    http://www.frankcheng.com/windows10utf8.htm

    Frank Cheng
  13. Sticky: Re: Recent Microsoft Changes to Windows 10 May Impact Functionality and/or Data Integrity

    Disclaimer - chessey idea, not to be taken seriously

    1. Rename the existing VDFVM19.DLL
    2. Create a dll called VDFVM19.DLL, where the sole purpose of that dll is to forward the calls to the...
  14. Sticky: Re: Recent Microsoft Changes to Windows 10 May Impact Functionality and/or Data Integrity

    open control panel
    click on regional settings
    go to the administrative tab.
    go to the language for non unicode programs settings button
    the checkbox for "utf-8 for the language support in all...
  15. Replies
    20
    Views
    784

    Re: DF19.1 Debugger Crash

    Hi Raveen,

    Would you happen to have the original code that caused the debugger to crash? I am curious to see why the original code crashed in the first place.

    Frank Cheng
  16. Replies
    20
    Views
    784

    Re: DF19.1 Debugger Crash

    I see that in Winuser.pkg, it references OemToCharA. But there is no reference to OemToAnsiW. Are you talking about the DF 19.1 runtime using OemToAnsiW internally? If that's the case, there is not...
  17. Re: 2 functions, same name, different parameters - what goes wrong here?

    I remember the explanation from Vincent from 2005. (Use Get for member function, move for global function)
    I stated that even DAW package files are still using the expression method to call member...
  18. Replies
    24
    Views
    656

    Re: JsonToDataType parse bug

    Hi Wil,

    This is off-topic

    It's the compiler/FMAC 's fault to generate wrong code. I tested the following behavior on 19.1 and 16.1



    Use UI
  19. Replies
    42
    Views
    1,778

    Re: Google Maps anyone?

    Just a quick note - you might want to remove your google api key from github.

    Frank Cheng
  20. Re: psUserName and psPassword not used by HttpGetJson from cJsonHttpTransfer

    According to Microsoft

    https://docs.microsoft.com/en-us/windows/win32/wininet/handling-authentication, that matches what Michael was saying. psUserName/psPassword is just InternetSetOption with...
  21. Replies
    5
    Views
    335

    Re: paXML and OEM encoding gotcha

    The direct_output is just to demonstrate the problem. Binary mode doesn't change the encoding.

    The problem I ran into was to use HttpPostAddrRequest with paXml without doing OEM->utf8.

    Frank...
  22. Replies
    5
    Views
    335

    paXML and OEM encoding gotcha

    Hi all,

    Just want to share a gotcha - I have a big xml node (could be a few MBs) and I need to "post" it to a web service. I used paXML to retrieve the address from the XML Node and "post" the...
  23. Replies
    6
    Views
    494

    Re: Windows Notifications

    You are talking about 2 different types of notifications.

    First type:
    Notifu gives you a simple "System Tray Icon" notification, which can be easily done with the API call "Shell_NotifyIcon".
    ...
  24. Re: ProgressBar(s) only update after Process has completed

    The moment you call "DoAdvance", it queues up a "Paint" event to the program's message queue, then you proceed to "sleep" for 3 seconds (suspending the current thread for 3 seconds).

    All the...
  25. Re: I bet this program doesn't do what you thing it does.

    Thanks for the explanation. It is very informative.

    Seriously this should be documented. Or at least do a "Sonny Falk" style blog post (kinda like under the hood, deep dive).

    Frank Cheng
Results 1 to 25 of 788
Page 1 of 32 1 2 3 4