Dear All,
I got a problem and need your help.
After I converted my project (Embedded VC++ 3.0 for Pocket PC) to .NET 2005 Framework I can compile it without any error or warning. Then I ran it on iPAQ got an error "The parameter is incorrect".
After debug I found the following line caused the error message:.
CTime t1(1970, 1, 1, 0, 0, 0);
Then I created a new MFC Smart Device Application in .NET 2005,
project type:Visual C++ for Smart Device,
SDKs: Pocket PC 2003
Application Type: Dialog based
Use of MFC: Use MFC in a shared DLL
Inside the new project I put the CTime t1(1970, 1, 1, 0, 0, 0);
Ran in Pocket PC, It works OK.
So I thought the problem may be in stdafx.h or stdafx.cpp
After I replaced the stdafx.h or stdafx.cpp in the converted application with that from new project, the problem still there.
Your ideas are highly appreciated. Many thanks in advance.
qpwang