I have been trying to write a sample application for the TC-08 in vb.net 2005.
I have declared all the functions etc as normal, and setup a sample piece of code the same as the VB5 sample that comes with the SDK.
Initially i was getting the error, A call to PInvoke has unbalanced the stack, so i fixed this by changing the variables to Int32.
I am now continuously getting an error 'Attempted to read or write protected memory. This is often an indication that other memory is corrupt.' when calling the tc08_get_temp function.
From looking into it it is something to do with the 2.0 framework, but i cant get it fixed.
Anyone any ideas?
Post your .Net discussions here
1 post • Page 1 of 1