OK but not Unicode executable

Windows specific forum
LiK137
Enthusiast
Enthusiast
Posts: 279
Joined: Wed Jun 23, 2010 5:13 pm

OK but not Unicode executable

Post by LiK137 »

Hi,
My program (which uses dll registration using string) runs in nonUnicode mode OK. But if I create Unicode executable the app fails registering dll with serial in string. This dll supports unicode mode as running in VisualStudio unicode mode accepts serial.
The problem is with only registering with serial in unicode executable.

Will be very thankful for any hint.
User avatar
Bisonte
Addict
Addict
Posts: 1226
Joined: Tue Oct 09, 2007 2:15 am

Re: OK but not Unicode executable

Post by Bisonte »

some code is needed...

but I think you have to convert the strings to ascii before you send them to the dll functions.
PureBasic 6.04 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
LiK137
Enthusiast
Enthusiast
Posts: 279
Joined: Wed Jun 23, 2010 5:13 pm

Re: OK but not Unicode executable

Post by LiK137 »

ThanQ very much,
Unicode2Ansi solved the problem
Post Reply