PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework RE: problem getting type...

Reply

RE: problem getting type...

 
Thread Tools Rate Thread
Old 07-07-2003, 10:16 PM   #1
Nazim Lala [MSFT]
Guest
 
Posts: n/a
Default RE: problem getting type...


What happens when you try the following:

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

--------------------
> 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@TK2MSFTNGP10.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!TK2MSFTNGP10.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
Rate This Thread
Rate This Thread:

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