Windows Develop Bookmark and Share   
 index > Windows Forms General > Inherited Form in dll doesn't work with Smart Device
 

Inherited Form in dll doesn't work with Smart Device


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
MigrationUser 1  Monday, November 17, 2003 8:28 AM
Hi!

Please help me solve this problem.
If you don't know a solution, perhaps you can tell me another forum where I can ask my question...
MigrationUser 1  Wednesday, November 19, 2003 4:47 AM

You can use google to search for other answers

Custom Search

More Threads

• panel1.Visible problem....
• No support to Create App Settings Using the Designer in VC++ Express?
• Turn Redraw of a control/form OFF?
• Splitter and SplitContainer
• Treeview - Multi Color Nodes
• inherited user control
• RichTextBox and SelectionFont problem
• Rebar and Band controls ported to .NET
• Need webBrowser to execute while app waits??
• Access Keys Underscore is hidden if I hold ALT key for second time