[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] DLL's and language integration
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] DLL's and language integration |
Date: |
Sun, 17 Aug 2003 10:21:55 +1000 |
User-agent: |
KMail/1.4.3 |
On Sunday 17 August 2003 08:41 am, Matthieu Cormier wrote:
> What is my issue?
> I am getting "car.vb:22: invalid throw expression" spit out at me from the
> compiler. Commenting out the throw line compiles my dll nicely but I
> kinda want the throw in there and can't see anything wrong with the code.
> It's also not my code, it's from the book .Net framework essentials.
The VB compiler is still in a very early phase. Right now it uses the VB
syntax, but the C# semantics, which are not the same as VB semantics. You'll
need to rewrite your program in C# to use it with Portable.NET at the moment.
Or if you have some compiler experience, then we can always use the help in
making the VB compiler work better.
Cheers,
Rhys.