Using TC0832.dll in vb.net

Post your .Net discussions here
Post Reply
dmc1980
Newbie
Posts: 1
Joined: Mon Jun 16, 2008 11:25 am
Location: Belfast

Using TC0832.dll in vb.net

Post by dmc1980 »

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 Reply