VB.net bugs....

Interested in integrating USB-UIRT support into an application? Look here!

Moderator: jrhees

VB.net bugs....

Postby Olivier » Fri Oct 14, 2005 8:15 am

Hello,
i build a project in vb.net with the wrapper.
IR transmission works well but i get an unmanaged error when the IR learning completes (100%).
Here is a zip of my project:
http://snort.free.fr/usbuirt/testusbuirt1.zip

Question: as i have the wrapper.net source code, is there a way to include it in my project and debug it ?

thanks in advance
Olivier
 

Postby jrhees » Fri Oct 14, 2005 10:52 pm

I haven't had a chance to look at your code yet...

Yes, you should be able to include the Wrapper as part of your project rather than merely adding the Class Library reference.

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm

Postby Guest » Sun Oct 16, 2005 3:50 am

Can you give some details? What's the error you see? Does it happen evey time?
Guest
 

Postby Olivier » Sun Oct 16, 2005 12:11 pm

it happens at 95 times on 100.....

Learning progression works well but when it reaches 100%, i get this error: Instruction at "0x00191073" use memory adress "0xffffffff". Memory can not be read.

Note: i cant manage this error through the debugger :(
Note2: test app in C# provided with the .net wrapper works well.....

please....... :)
Olivier
 

Postby Olivier » Sun Oct 16, 2005 12:28 pm

don't ask me why but it works now.....
thanks all for ur help :)
Olivier
 

VB.NET code example?

Postby CNN » Fri Nov 04, 2005 1:52 am

Can anyone help me with some VB .net example code?

I need to write a program to learn codes, store them and play them back on demand (a custom remote control).

Thanks in advance!

CNN
CNN
 

Postby Guest » Sat Nov 05, 2005 1:00 pm

Olivier wrote:it happens at 95 times on 100.....

Learning progression works well but when it reaches 100%, i get this error: Instruction at "0x00191073" use memory adress "0xffffffff". Memory can not be read.

Note: i cant manage this error through the debugger :(
Note2: test app in C# provided with the .net wrapper works well.....

please....... :)


I get the same error...
How did you fix the code?

Claus
Guest
 

Postby jrhees » Sat Nov 05, 2005 2:57 pm

One possibility (although I'm not much help in tracing this out for you), is that the Grabage collector has freed up the variables (pointers to those variables) you passed to the Learn function. There is some .NET docs talking about how to tell the Garbage collector not to free up a variable it 'thinks' is no longer in use.

However, I don't believe this should be a problem since you should be doing a non-Async learn...

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm

Postby olivier » Wed Nov 16, 2005 7:17 pm

i solved this bug using a debug version of the .net wrapper ....
________
DIGITAL VAPORIZERS
Last edited by olivier on Mon Mar 14, 2011 7:20 pm, edited 1 time in total.
olivier
 
Posts: 3
Joined: Tue Oct 18, 2005 5:37 pm

I got same problem in python

Postby Guest » Tue Mar 28, 2006 11:55 pm

olivier wrote:i solved this bug using a debug version of the .net wrapper ....


Can you tell me more details about the issue you found and how
you fixed it? Thanks a lot.
Guest
 


Return to Developers

Who is online

Users browsing this forum: No registered users and 19 guests

cron