OK but not Unicode executable

Windows specific forum
LiK137
Enthusiast
Enthusiast
Posts: 282
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: 1313
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.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
LiK137
Enthusiast
Enthusiast
Posts: 282
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