At 04:59 PM 8/25/2004, you wrote:
Hello,

While trying to use the WinScreenMode (....)  function on the Palm Emulator
with 4.2 ROM, I am getting the following error:
 "Error   : the file 'Windows.h' cannot be opened"

You mean when trying to compile your program, right?

You don't need to manually include <Windows.h>, since it's pulled in by <PalmOS.h>. However, it seems likely that your project is misconfigured and pulling in the wrong set of header files. Make sure your system access paths include

{Compiler}Palm OS Support
{Compiler}CW for Palm OS Support

in that order, and before any other paths.  Remove any path that is just

{Compiler}

as that is really inefficient and can pull in things you don't want.


-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to