View Full Version : system.typeloadexception
rkmaguluri
08-26-2003, 05:54 PM
hi,
i have to pass two 2 dimensional arrays to a method which is in a fortran dll. As suggested for the previous question i converted them into one dimensional arrays and sent them . but i am facing an exception "System.typeLoadException" while running the application
can u help me in this regard
thanks
tzeis
08-26-2003, 06:52 PM
Can you post some code demonstrating the problem? It is very difficult to diagnose without some idea of what you are doing.
rkmaguluri
08-26-2003, 08:02 PM
here i am attaching some code. run the vb.net application
tzeis
08-27-2003, 05:49 PM
There is nothing wrong with the code. If you run the excutable without using Visual Studio, it runs ok.
The problem is occurring from trying to deploy the application using the Compact Framework. We don't support the Compact Framework right now, and we haven't done any testing with it.
If I can come up with a way to get the Fortran code to run under the Compact Framework, I will let you know.
Lahey Support
08-28-2003, 12:23 AM
Here is a modification of the source code that works on the PocketPC emulator on my system. The array arguments being passed to the Fortran class library are removed, and replaced with array fields. Since the exception seems to be occurring because of the array arguments, this avoids that problem, but still allows you to make data available to the class library.
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.