| View previous topic :: View next topic |
| Author |
Message |
Olivier Guest
|
Posted: Fri Oct 14, 2005 8:15 am Post subject: VB.net bugs.... |
|
|
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
|
Posted: Fri Oct 14, 2005 10:52 pm Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Sun Oct 16, 2005 3:50 am Post subject: |
|
|
| Can you give some details? What's the error you see? Does it happen evey time? |
|
| Back to top |
|
 |
Olivier Guest
|
Posted: Sun Oct 16, 2005 12:11 pm Post subject: |
|
|
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.......  |
|
| Back to top |
|
 |
Olivier Guest
|
Posted: Sun Oct 16, 2005 12:28 pm Post subject: |
|
|
don't ask me why but it works now.....
thanks all for ur help  |
|
| Back to top |
|
 |
CNN Guest
|
Posted: Fri Nov 04, 2005 1:52 am Post subject: VB.NET code example? |
|
|
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
|
Posted: Sat Nov 05, 2005 1:00 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
jrhees Site Admin
Joined: 28 Jan 2003 Posts: 1652
|
Posted: Sat Nov 05, 2005 2:57 pm Post subject: |
|
|
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 |
|
 |
olivier
Joined: 18 Oct 2005 Posts: 3
|
Posted: Wed Nov 16, 2005 7:17 pm Post subject: |
|
|
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 |
|
 |
Guest
|
Posted: Tue Mar 28, 2006 11:55 pm Post subject: I got same problem in python |
|
|
| 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 |
|
 |
|