| $PELLES 'Comment out all the following ~20 lines for regular ascii X86 code 'NOTE: change paths and filename to suit your setup 'This header code for both x86 unicode and PPC $HEADER #ifndef _UNICODE #define _UNICODE #endif $HEADER #include <tchar.h> 'Use next 2 lines to Translate for
x86 Unicode
'$ONEXIT "D:\Dev\BCX\XLator\Unicodelexer.EXE
D:\Dev\BCX\ThisFileName.c"'add special include files here ' 'End of specific code for unicode X86 'Use next 2 lines to Translate for PPC $ONEXIT "D:\Dev\BCX\XLator\Unicodelexer.EXE D:\Dev\BCX\ThisFileName.c -ppc" $INCLUDE "D:\Dev\bcx\Wince\common\WinCesetup.bas" 'add other PPC only include files here ' 'End of specific code for ppc 'End of non - ascii code 'Start the rest of your code here: |
| PellesC GUI x86Call in ASCII |
||
| pocc -W1 -Ot -Gd -Go -Ze -Zx -MT
-Tx86-coff -D_WIN32_WINNT=0x0501 myFileName.c |
||
| PellesC GUI Call in UNICODE |
||
| pocc -W1 -Ot -Gd -Go -Ze -Zx -MT
-Tx86-coff -D_WIN32_WINNT=0x0501 -DUNICODE -D_UNICODE myFileName.c |
||
| PellesC PPC Call in UNICODE | ||
| pocc -Tarm-coff -Zi
-W1 -MT -Gd -Ze -Zx -D_WINCE -D_WIN32_WCE=0x400 -DARM -D_ARM_ -DUNICODE
-D_UNICODE myFileName.c |
| PellesC GUI x86 Call in ASCII and UNICODE |
||
| polink -release
-machine:ix86 -subsystem:windows myFileName.obj ResFileName.res
kernel32.lib advapi32.lib delayimp.lib user32.lib gdi32.lib
comctl32.lib comdlg32.lib %4 %5 %6 |
||
| PellesC PPC Call in UNICODE | ||
| polink -release
-machine:arm -subsystem:windowsce,4.0 myFileName.obj
ResFileName.res -stack:0x10000,0x1000 -version:1.1 aygshell.lib
coredll.lib corelibc.lib commctrl.lib |