Search:

Type: Posts; User: Frank Cheng

Page 1 of 52 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    113

    Re: Questions by converting to SQL Server

    I don't mean to sound brash, but you probably need some consulting from DAW or Mertech or team members in this forum.
    Even if we answer every question in this post, you will have a lot more coming...
  2. Re: DLL Return of String - how do I free memory.

    I guess you got that code from copilot, because I got very similar code from co-pilot as well.



    // Import the necessary crates
    extern crate libc;
    use libc::c_char;
    use std::ffi::{CStr,...
  3. Re: DLL Return of String - how do I free memory.

    In C/C++, it's pretty easy. You usually just export another function for freeing memory. I know that both Rust and C++ don't have garbage collection, and it's easy to hand out memory in C++. I know...
  4. Replies
    2
    Views
    73

    Re: LibXL case sensitive

    I highly doubt this is the case (no pun intended). File paths/names are case insensitive on Windows platforms. At the end of the day LibXL has to call Windows API to open any file. The case...
  5. Replies
    5
    Views
    159

    Re: Printing Extended ASCII in a report

    Try Character(7) instead of Character(149)

    For OEM codepage 437 (which is the default OEM codepage US Windows systems), 149 = ò. DF still uses OEM in v19
    For ANSI codepage 1252 (which is the...
  6. Replies
    8
    Views
    218

    Re: Import from Hell

    Hit the button "Go Advanced", then the toolbar will contain the "attach file" toolbar button.

    16720

    Frank Cheng
  7. Replies
    8
    Views
    218

    Re: Import from Hell

    I asked CoPilot - Give me an example in C# on using SQLBulkCopy to insert records from a CSV file to SQL Server



    using System;
    using System.Data;
    using System.Data.SqlClient;
    using...
  8. Replies
    8
    Views
    218

    Re: Import from Hell

    If they have Excel installed, you can convert an .xlsx to .csv using Excel programatically.

    Also, if you wanna use bulk copy (without copying the .csv to the computer that hosts the sql server),...
  9. Thread: Disd 2024

    by Frank Cheng
    Replies
    6
    Views
    516

    Sticky: Re: Disd 2024

    I gotta say, that "Technology of the Stack Project" sounds very mysterious and intriguing ...

    Frank Cheng
  10. Replies
    9
    Views
    289

    Re: Formatting XML

    You can use XSLT to format your XML.

    Look up XSLTransformationToAddress

    Frank Cheng
  11. Replies
    11
    Views
    472

    Re: 2024 RC2: Unable to Sign Exes

    instead of <application> <workspace> <project>
    do this "<application>" "<workspace>" "<project>"

    Frank Cheng
  12. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Hi Nils,

    I then proceeded to uninstall ODBC v18 (v17 is still on my machine), both DF 23 & 24 now work fine again. Hopefully the future version of MSSQLDRV would work with the latest version of...
  13. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    So here is the kicker - I have 23 and 24 on my machine. I did a simple Login command to connect to SQL 2022, everything was fine with both DF versions.
    AND I was using MS ODBC v17 driver.

    Then I...
  14. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Hi Nils,

    One funny check you could do (this is to rule out SQL Server being too TOO strict) is to download the Flex2SQL from Mertech (I think it's a 30day free trial) and compile a small DF app to...
  15. Re: Login command to MS-SQL: "SSL Provider: The certificate chain..."

    Just curious if installing the latest ODBC driver from MS would help. We use Mertech drivers (and login command) to connect to SQL up to 2022 just fine. Although Mertech uses OLEDB instead of ODBC......
  16. Replies
    12
    Views
    573

    Re: DataFlex 2024 RC

    Got the codes. Thanks.

    Frank Cheng
  17. Replies
    12
    Views
    573

    Re: DataFlex 2024 RC

    Boss man said no codes...

    Frank Cheng
  18. Replies
    12
    Views
    573

    Re: DataFlex 2024 RC

    Oh, good to know. I will check with my boss cause he hasn't told me anything yet...

    Frank Cheng
  19. Re: Header tooltips for old grids not working anymore

    Happy New Year to you too, Will!

    Frank Cheng
  20. Thread: Release

    by Frank Cheng
    Replies
    6
    Views
    590

    Re: Release

    Just an unsolicited 2 cents here - upgrading from 19.1 to 23.0 is a huge deal, considering that the implication of switching the string format from OEM and Utf-8. All the third party components you...
  21. Re: Header tooltips for old grids not working anymore

    In the spirit of the Chinese New Year, here is a couple of hours of my life. I tested it against DF 23 with both 32 and 64 bit.

    Frank Cheng
  22. Replies
    12
    Views
    485

    Re: breakdown URL ?

    https://www.frankcheng.com

    Frank Cheng
  23. Re: Header tooltips for old grids not working anymore

    Unfortunately, I do not have any plans to update FCP.dll to work with Unicode or 64 bit. You should go ahead and look for alternatives.

    Frank Cheng
  24. Re: DF 19.1 windows application closes now and then without any message

    I am suspecting SMB timeout https://community.spiceworks.com/topic/2305696-smb-share-idle-timeout

    Frank Cheng
  25. Replies
    10
    Views
    583

    Re: Structs and memory

    Very logical questions 👍

    Frank Cheng
Results 1 to 25 of 1283
Page 1 of 52 1 2 3 4