GenCOM & VS2005

sritchie

Member
Has anyone managed to get (8.97) GenCOM compiling under VS2005? I'm getting a swag of compilation errors at the moment and I'd like to know whether I should continue fiddling with the environment variables or if I'm pushing the proverbial uphill.

Compilation errors are mostly either:
cannot convert parameter 1 from 'TCHAR *' to 'wchar_t *', or
cannot convert from 'const wchar_t [44]' to 'JCHAR *'

In addition to the (VS2005 versions of the) environment variables in the documentation, I've also included:

INCLUDE
C:\e812\system\includev\unicode
C:\e812\system\include\connector

LIB
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\Lib

PATH
C:\Program Files\Microsoft Visual Studio 8\Common7\IDE

Any help would be appreciated.

Cheers,
Sam.
 
Hello Sam and JDEList !

I have the same issue (on Standalone E900)...
I understand that "Unicode" is not activated during compilation : all "jdeStrXXX" function prototypes are mapped to "C standard" instead of "Unicode"...
... But I still have not figured out how to enable "unicode"...

Did you find a solution ?
 
The solution seems to be deactivate the compiler option "Treat wchar_t as Build-in Type".
This option can be found in the "Properties" of your project, in "Configuration Properties" / "C/C++" / "Language" sub-menu (in VS2005)

Anything I said in my previous post was anything!
grin.gif
 
Back
Top