HighTechTalks DotNet Forums  

RE: problem getting type...

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss RE: problem getting type... in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default RE: problem getting type... - 07-07-2003 , 06:16 PM






What happens when you try the following:

JavaConnector jc = new JavaConnector();
Console.WriteLine(jc.GetType());

--------------------
Quote:
From: "Dominique Vandensteen"
dominique.vandensteen_herecomesat_acunia.com
Subject: problem getting type...
Date: Thu, 12 Jun 2003 09:27:56 +0200
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <#LZLCSLMDHA.2460 (AT) TK2MSFTNGP10 (DOT) phx.gbl
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: nat.acunia.com 194.7.211.211
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP10.phx.gbl
Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework :25519
X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework

I have a program I'm running on an ipaq.
It worked fine but suddently I began to receive an error running this code
(C#):

Type myType = typeof(JavaConnector);

The error is:
An unhandled exception of type 'System.TypeLoadException' occurred in
mscorlib.dll
Additional information: TypeLoadException

The strange thing is that the JavaConnector class must be loaded because
it
is allready used just before calling this line.
Anybody an idea why I receive this error?

Dominique



__________________________________________________ __________________________
________
This posting is provided "AS IS" with no warranties, and confers no rights.




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.