Page 1 of 1

OK but not Unicode executable

Posted: Fri Mar 03, 2017 8:17 pm
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.

Re: OK but not Unicode executable

Posted: Fri Mar 03, 2017 9:20 pm
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.

Re: OK but not Unicode executable

Posted: Sat Mar 04, 2017 7:48 am
by LiK137
ThanQ very much,
Unicode2Ansi solved the problem