Host crashes with 3.5 dll


I tried to create a simple TodayApp with Visual Studio 2008, Windows Mobile 6 and .NET Compact Framework 3.5.
The Host crashes with an invalid cast exception in Main().
Do i have to recompile the Framework with 3.5?
Im using a HTC Kaiser with .NET Compact Framework 3.5 installed.


Steffel wrote May 2, 2008 at 4:37 AM

I solved the problem the following way:
  • Update Framework-Project to 3.5
  • Outcomment WM_INITDIALOG in CustomItemOptionsDlgProc (Problem with SHInitDialog, didnt find external reference)
  • recompile all

DragonFly5 wrote May 29, 2008 at 12:04 AM

Steffel, can you please send the compilable code for Visual Studio 2008.
I get all kinds of errors when trying to compile framework. Who can help?

Error 2 fatal error C1083: Cannot open precompiled header file: 'Windows Mobile 6 Professional SDK (ARMV4I)\Debug/ManagedTodayScreenItem.pch': No such file or directory x:\WorkSpace\Code\ManagedTodayScreen-9160\Framework\ManagedTodayScreenItem\ManagedTodayScreenItem.cpp 5 ManagedTodayScreenItem

Error 2 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? x:\WorkSpace\Code\ManagedTodayScreen-9160\Framework\ManagedTodayScreenItem\ManagedTodayScreenItem.cpp 316 ManagedTodayScreenItem

wrote Apr 17, 2009 at 5:54 PM

wrote Feb 13, 2013 at 3:44 AM