I am trying the driver example after I read Mike Hall's aticle
<<SPOT the Geek and Windows CE Drivers>> in MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html/embedded03042003.asp
The Driver project is compiled smoothly. Then I create a project for the
application--MyApp. It was created from a "Hello world" Project wizard.
I replaced the .cpp file with the file MyApp.cpp which Mike have given.
Next, I created a menu for this program.
But when I build it, it failed. the build output is:
---------------------------------------------------------------
MyApp.obj : error LNK2019: unresolved external symbol
CommandBar_InsertMenubar referenced in function "long __cdecl WndProc(struct
HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
MyApp.obj : error LNK2019: unresolved external symbol CommandBar_Create
referenced in function "long __cdecl WndProc(struct HWND__ *,unsigned
int,unsigned int,long)" (?WndProc@@YAJPAUHWND__@@IIJ@Z)
XIZANGRel/MyApp.exe : fatal error LNK1120: 2 unresolved externals
Error PB2505: Error executing link.exe.
---------------------------------------------------------------
By lookup MSDN, I found that the prototype of these two functions
CommandBar_InsertMenubar() and CommandBar_Create() are
defined in <commctrl.h>, but this header file have already been included.
So why cannot this project be built successully?
Should I add some features into my OS-image project?
Thank you!