Search:

Type: Posts; User: Frank Cheng

Page 1 of 33 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    228

    Re: DISD Round Table

    When and where will the round table be? I assume it will be held in Crowne Plaza Dallas Downtown. We are arriving in Dallas on Thursday. I just want to see if I can catch the round table session.
    ...
  2. Replies
    16
    Views
    735

    Re: Virtual Print Engine (VPE) and Unicode

    Arnold,

    I understand how converting UTF8 to ANSI works. However that seems to defeat the purpose of having UTF8 in the first place. Let's say I want to print a report that has text from different...
  3. Replies
    16
    Views
    735

    Virtual Print Engine (VPE) and Unicode

    Does anyone have any experience upgrading their VPE reports to be Unicode/UTF8 compatible?

    We have many VPE reports. Converting them for DF 20 seems pretty PITA.

    Frank Cheng
  4. Replies
    6
    Views
    429

    Re: tWin32_Find_Data in tWinStructs.pkg

    DAW is not trying to make their package backward compatible/compilable. All the external functions are pointing to the "W" version.

    Otherwise you would have seen


    #IF (!@ < 200)
    ...
  5. Replies
    1
    Views
    140

    Re: A small registry challenge

    A bit of reading about how Windows handles registry/file system redirection.

    https://docs.microsoft.com/en-us/windows/win32/winprog64/registry-redirector

    Frank Cheng
  6. Replies
    4
    Views
    331

    Re: Struct Padding - Example 2

    Sometimes it's a pointer to a string, sometimes it's the actual string. Like these (I am sure there are plenty more)
    ...
  7. Replies
    8
    Views
    380

    Re: OT: vdfwiki.com down?

    Same? https://dataflex.wiki/index.php?title=Main_Page

    Frank Cheng
  8. Re: Install issue: Sentinel.exe detected as "Generic ML PUA" and removed from install

    You can add an optional parameter to SignDataFlexProject to NOT sign an executable if it already has an digital signature already. Something like


    SignDataFlexProject /SkipSignIfExists

    ...
  9. Re: Windows API wrappers and the state of brokenness

    The layer of indirection (or abstraction) is that I can make the APIs work with OEM / UTF-8 without touching my VDF source files. I suspect it will take a few months to do a full regression test on...
  10. Re: Windows API wrappers and the state of brokenness

    Wil,

    You don't have to have the source. Take PathRemoveExtension for example - I definitely don't have the source for that function.

    However I could do this in VDF


    External_Function...
  11. Re: Windows API wrappers and the state of brokenness

    Here is another idea - write a wrapper DLL that wraps all the Windows APIs to take UTF8 strings. It's a lot faster to do it in C++ than to convert our existing VDF API wrappers.

    Frank Cheng
  12. Re: Windows API wrappers and the state of brokenness

    Your app just got translated to Chinese for free, what more do you want? Lol, with tears...

    Frank Cheng
  13. Re: Windows API wrappers and the state of brokenness

    It's a long road for us to DF 20 since we do so much API wrapping. I also write lots of API on a daily basis.

    It would be nice to have a bit more documentation on the API front for the "Component...
  14. Replies
    6
    Views
    309

    Re: DF_FILE_PHYSICAL_NAME changes casing

    Works fine with DF 19.1.56 and VDF 16.1. Seems like a new bug.

    Frank Cheng
  15. Replies
    12
    Views
    575

    Re: Preventing negative number in forms

    Here is the paste method

    https://docs.dataaccess.com/dataflexhelp/index.htm#t=mergedProjects%2FVDFClassRef%2FDfBaseForm-Procedure-Paste.htm

    Frank Cheng
  16. Replies
    12
    Views
    575

    Re: Preventing negative number in forms

    See my previous reply

    https://support.dataaccess.com/Forums/showthread.php?65111-Preventing-negative-number-in-forms&p=349645#post349645

    Frank Cheng
  17. Replies
    12
    Views
    575

    Re: Preventing negative number in forms

    I guess it's time to rip out that C++ compiler again, lol.

    Frank Cheng
  18. Replies
    12
    Views
    575

    Re: Preventing negative number in forms

    I am trying not to use the Key procedure (as stated in the OP), mainly because it's not quite reliable. It wouldn't work if you decide to copy/paste by ctrl-v, shift-insert, context menu/paste a...
  19. Replies
    12
    Views
    575

    Re: Preventing negative number in forms

    I am trying to not use validation (Exiting, OnKillFocus) like I mentioned. I am hoping that is some magical property (like pbPositiveNumbersOnly and non-negative mask) that I missed.
    Also it's not a...
  20. Replies
    3
    Views
    283

    Re: Scroll Wheel behavior Win7 vs Win10

    https://www.thurrott.com/windows/windows-10/2435/windows-10-tip-scroll-inactive-windows

    Frank Cheng
  21. Replies
    12
    Views
    575

    Preventing negative number in forms

    Hi all,

    Is there a way to prevent the user from entering negative number into a form besides using procedure Key?
    (I know I can validate on Exiting/OnKillFocus afterwards as that is my current...
  22. Replies
    1
    Views
    165

    Bug: FormatNumber and French Locale

    In cFormatter.pkg in DF 19.1, line 182



    Get_Attribute DF_THOUSANDS_SEPARATOR to iCh
    Move (Character(iCh)) to sSep


    The above code did not take OEM translation into...
  23. Replies
    2
    Views
    226

    Re: 19.1 New Linker Broke my code..

    It's at a different fixed location. You generally should use ImageHlp.dll to find out where the compile/link time is at. For VDF 16.1, the compile time is at 0x48 offset. DF 19.1 is at 0x110. But...
  24. Re: "DF_FILE_ROOT_NAME" or "DF_FILE_LOGICAL_NAME"

    Have you tried setting the filelist path manually at the startup of the program?



    Use VDFBase.pkg
    String sPath
    Get_File_Path "FILELIST.CFG" to sPath
    Set_Attribute DF_FILELIST_NAME to sPath
  25. Re: Suggestion: New DD Data Entry Option DD_HIDDEN

    Maybe I am missing something - but what's the point of having a DEO that is not visible?

    Frank Cheng
Results 1 to 25 of 816
Page 1 of 33 1 2 3 4