Friends,
While building an application to create an exe..i am getting the below error...in the log file..
Codegen compilation error, see file 'C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.log'.
The cietadmin.log contains the below entries.
CGEN: Compiling 'C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c'
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) function argument(s) do not match those in prototype
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) 'unsigned stdcall (__export FN_RunExecutable)( HINSTANCE__ const *, HINSTANCE__ const *, wchar_t *, int, wchar_t *, int )' defined in: d:\Program Files\Sybase\Shared\PowerBuilder\cgen\EN32T.h(1) (col 1)
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) cannot convert argument 3 defined in: C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(22) (col 49)
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) source conversion type is "char * (lvalue)"
C:\DOCUME~1\PA\LOCALS~1\Temp\cietadmin.c(21) target conversion type is "wchar_t *"
What might be the problem? How can i solve it? I have reinstalled the PB software but no use.
Thanks & regards
My first suggestion would be to examine why you're building to machine code. I've written a rather long diatribe on how machine code benefits very select cases, and is known to present challenges.
The other suggestion is to make the case that, if you're leaving yourself dependent for peer support, your team should move up to a more current / more used version of PowerBuilder. PB7 is pretty Y2K.
Good luck,
Terry.