USB-UIRT Forum Forum Index USB-UIRT Forum
Plug-n-Play IR Solution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

VB.net bugs....

 
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers
View previous topic :: View next topic  
Author Message
Olivier
Guest





PostPosted: Fri Oct 14, 2005 8:15 am    Post subject: VB.net bugs.... Reply with quote

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
Back to top
jrhees
Site Admin


Joined: 28 Jan 2003
Posts: 1652

PostPosted: Fri Oct 14, 2005 10:52 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Guest






PostPosted: Sun Oct 16, 2005 3:50 am    Post subject: Reply with quote

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





PostPosted: Sun Oct 16, 2005 12:11 pm    Post subject: Reply with quote

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 Sad
Note2: test app in C# provided with the .net wrapper works well.....

please....... Smile
Back to top
Olivier
Guest





PostPosted: Sun Oct 16, 2005 12:28 pm    Post subject: Reply with quote

don't ask me why but it works now.....
thanks all for ur help Smile
Back to top
CNN
Guest





PostPosted: Fri Nov 04, 2005 1:52 am    Post subject: VB.NET code example? Reply with quote

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
Back to top
Guest






PostPosted: Sat Nov 05, 2005 1:00 pm    Post subject: Reply with quote

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 Sad
Note2: test app in C# provided with the .net wrapper works well.....

please....... Smile


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

Claus
Back to top
jrhees
Site Admin


Joined: 28 Jan 2003
Posts: 1652

PostPosted: Sat Nov 05, 2005 2:57 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
olivier



Joined: 18 Oct 2005
Posts: 3

PostPosted: Wed Nov 16, 2005 7:17 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Guest






PostPosted: Tue Mar 28, 2006 11:55 pm    Post subject: I got same problem in python Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    USB-UIRT Forum Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group