Click to See Complete Forum and Search --> : application error


ZComplx
August 2nd, 2002, 10:56 AM
I implemented these Grid Ctrl ( http://www.codeproject.com/miscctrl/gridctrl.asp ) files using Embedded Visual C++. I I got this error message in the CE platform once the program is initialized:

" < unknown application > : File afxwin1.inl, Line 19 "

I searched through the code to find out that this line in CGridCtrl.cpp was creating the error:

HINSTANCE hInst = AfxGetResourceHandle();

Why would this generate an error though?

undiwahn
August 6th, 2002, 04:45 PM
Can you post some contextual code around it?? Maybe you're calling it from an invalid thread / window...