From: John D. <moo...@gm...> - 2016-03-05 09:33:19
|
You'll have to modify the C code the binary runs on. Most of that should take place in /source/start.c You can look at my fork for a working example. Once you are done with your changes you'll have to build the package from source, then install it. https://github.com/goatpig/py2exe On 3/5/2016 10:26 AM, Gianluca Cantoro wrote: > Hi, > thanks for your suggestion. > How would I have to proceed in order to build with Wide characters? > Thanks > > >> This has to do with the inner workings of the prebuilt binary. It's >> built around A (for ANSI) calls and you need replace them with W (for >> wide char) calls. >>> On 3/3/2016 10:19 AM, Gianluca Cantoro wrote: >>> Dear all, >>> I'm having some troubles with some specific characters in the >>> installation folder. >>> If I convert my script and run it from a simple named folder, say >>> c:\myprogram\myscript.exe, everything works fine. >>> If I put the same script in a folder with other characters, say >>> c:\myprogram\???\myscript.exe, I get the error that the program cannot >>> load python27.dll... and I can assure you that the dll is in that >>> folder. >>> >>> I assume the issue has to do with the "?" symbol in the path but I >>> don't know how to solve it and which file to modify. Perhaps the >>> setup.py file? or should I put something in my scripts' headers? >>> >>> Any help is welcome. >>> Thanks, >>> Gianluca |