Quantcast
Viewing all articles
Browse latest Browse all 207710

TS_ORIGIN is invalid in different AnsiCodePage, Who can tell me another method to get the exe's real path?

Hi.

 

    Environ$("TS_ORIGIN") is only valid when AnsiCodePage in Package.ini is same with the OS's AnsiCodePage run the  packaged .exe file.

    Environ$("TS_ORIGIN") is empty when package the files to a .exe in one AnsiCodePage, and run the .exe in OS with another AnsiCodePage.

    Who can tell me another way to get the exe's path except  Environ$("TS_ORIGIN")?

 

    Thanks very much!!


Viewing all articles
Browse latest Browse all 207710

Trending Articles