by Dan East » Jun 19, 2001 @ 7:51pm
Sorry Trarman. If I had the time to sit down and think a bit about what you're trying to do I could've saved you some trouble. PQ also accesses the SIP, which of course is something HPCs don't have. So it links against aygshell.lib for the SIP routines. You can #define out the SHSipPreference calls in console.c, then remove the aygshell library in the linker settings. Use the following definition around the SHSipPreference function:<br>[fixed]<br>#ifdef _WIN32_WCE_PSPC<br>SHSipPreference(hWnd, SIP_UP);<br>#endif<br>[/fixed]<br>I also call SHFullScreen, which may not be supported on pre CE 3.0 devices. I did a quick scan through aygshell's exports and didn't see it, so you should be alright.<br><br>I also link against note_prj.lib to enumerate the flash cards inserted in the device. That one should be supported by all CE versions AFAIK.<br><br>Finally, try and document or keep track of the exact mods you make so I can merge them all into one codebase, as has been done with the MIPS and SH3 mods. Thanks!!<br><br>Dan East