G
Guest
Hi,
I'm trying to share code between a WCE application and a W32 application.
I've created a Solution and created 4 projects (one Windows app, one Smart
Device App - Selected as an Windows App, two Smart Device App - Selected as
Class Library).
I've developed all the WCE app without problem, but when I tryed to develop
the W32 app, I have problems after compiling the first time. The forms do not
open, and the following error apear:
"An error occurred while loading the document. Fix the error, and try
loading the document again. The error message follows:
An exception occurred while trying to create an instance of
System.Windows.Forms.Form. The exception was 'Unable to load DLL (AGL)'".
I've read some stuff about sharing code, but any of them describes this
problem. Does anyone knows what is this error and how to solve it? Am I doing
something wrong?
Thanks in advance.
I'm trying to share code between a WCE application and a W32 application.
I've created a Solution and created 4 projects (one Windows app, one Smart
Device App - Selected as an Windows App, two Smart Device App - Selected as
Class Library).
I've developed all the WCE app without problem, but when I tryed to develop
the W32 app, I have problems after compiling the first time. The forms do not
open, and the following error apear:
"An error occurred while loading the document. Fix the error, and try
loading the document again. The error message follows:
An exception occurred while trying to create an instance of
System.Windows.Forms.Form. The exception was 'Unable to load DLL (AGL)'".
I've read some stuff about sharing code, but any of them describes this
problem. Does anyone knows what is this error and how to solve it? Am I doing
something wrong?
Thanks in advance.