|
Hi!
I am developing a Smart Device Application in C# with Visual Studio .NET 2003. Now here is the current
Situation: I made a class MForm that inherits from System.Windows.Forms.Form. I need to do that because MForm has some additional properties. My solution consists of 2 projects. One is the application (containing Form1) and the other is a dll (containing MForm and other classes).
Problem: The solution is build without warnings. When I deploy, the application is launched and exits immediately (Application has exited with code 0).
More info: The solution works perfect when launched on Win2000. Result (exit) is equal on emulator and Compaq PocketPC 2002. The dll works, even on the PocketPC. I can access methods contained in the dll. I can use the inherited MForm when MForm.cs is moved from the dll-project to the app-project (within the same solution).
Conclusions: Win2000: everything works fine PocketPC 2002: dll works and MForm works, but MForm in dll doesn't work
I would be very thankful for any help! Marc Mache
|