[mono-vb] mono vb compile error

Klaus Siebke ksiebke at web.de
Tue Mar 31 06:23:58 EDT 2009


Hi Tamara,

this is your lucky day - I had some time this morning and corrected your
program (see attached zip file).
All corrections are marked with my initials ($KS).
To keep it simple I opened a new MonoDevelop solution and pasted your code
into the main module Application.vb.
Please make sure that you've added your DLL (cszmq.dll) to the references as
a .NET assembly.
Then everything should work fine.

Here's my test output:

haegar at nydam:~/temp/vb_local_lat/vb_local_lat/vb_local_lat/bin/Debug$
./vb_local_lat.exe localhost 512 10
message size: 512 [B]
roundtrip count: 10
Your average latency is 9250,00 [us]

Have a nice day,
Klaus


http://www.nabble.com/file/p22802308/Application.vb.zip Application.vb.zip 



TamaraKustarova wrote:
> 
> Hello,
> 
> thank you for your help.
> The version of vbnc I use is: version (Mono 2.0 -r)
> 
> I include the projects that I tried to compile. First, I compile cszmq,
> to create cszmq.dll (I set the option sign the assembly with the key
> zmq_strong_name.snk), then I install cszmq.dll to gac (sudo gacutil -i
> cszmq.dll). Then I try to compile vb_local_lat and I get the error I
> wrote you about. The error is:
> 
> [Task:File=/home/tamara/Projects/trunk/windows/vbzmq/vb_local_lat/<MyGenerator>
> , Line=1, Column=1, Type=Error, Priority=Normal, Description=Unexpected
> error: There has been an internal error in the compiler.(VBNC99999)]
> 
> when I click on the error, I get a popup saying:
> File not
> found:
> /home/tamara/Projects/trunk/windows/vbzmq/vb_local_lat/<MyGenerator> .
> 
> Tamara
> 
> On Tue, 2009-03-31 at 03:19 +0200, Rolf Bjarne Kvinge wrote:
>> Hi,
>> 
>> > Hello,
>> > 
>> > I am trying to port my visual basic application to unix, Ubuntu 8.04.
>> > The original application was developed on Windows Xp, using Microsoft
>> > Visual Basic studio. When I try to compile it in MonoDevelop, I get the
>> > error:
>> > 
>> > [Task:File=/home/tamara/Projects/trunk/windows/vbzmq/vb_remote_lat/<MyG
>> > enerator> , Line=1, Column=1, Type=Error, Priority=Normal,
>> > Description=Unexpected error: There has been an internal error in the
>> > compiler.(VBNC99999)]
>> > 
>> > When I double click on the error, I get a pop up windows, which says:
>> > File not found:
>> > /home/tamara/Projects/trunk/windows/vbzmq/vb_remote_lat/<MyGenerator>
>> > 
>> > What kind of file is it looking for? i tried to google it, but couldn't
>> > find anything.
>> 
>> This is a compiler crash, and the file name is also wrong.
>> 
>> Which version of vbnc (the compiler) are you using? (open a terminal
>> window
>> and type 'vbnc' will tell you)
>> 
>> Would it be possible to get a copy of your project so that I can try to
>> figure out what's going wrong?
>> 
>> Rolf
>> 
>> > 
>> > I am using mono version 2.0 and vbnc version 2.0.
>> > 
>> > Thank you for your advice.
>> > 
>> > Tamara
>> > 
>> > 
>> > _______________________________________________
>> > Mono-vb mailing list
>> > Mono-vb at lists.ximian.com
>> > http://lists.ximian.com/mailman/listinfo/mono-vb
>> 
> 
>  
>  
> _______________________________________________
> Mono-vb mailing list
> Mono-vb at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-vb
> 
> 

-- 
View this message in context: http://www.nabble.com/mono-vb-compile-error-tp22771184p22802308.html
Sent from the Mono - VB mailing list archive at Nabble.com.



More information about the Mono-vb mailing list