Test and Measurement Forum

Using TC0832.dll in vb.net

Post your .Net discussions here

Using TC0832.dll in vb.net

Postby dmc1980 » Mon Jun 16, 2008 12:20 pm

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?
dmc1980
Newbie
 
Posts: 1
Joined: Mon Jun 16, 2008 11:25 am
Location: Belfast

Return to .Net Languages (C#, VB.Net, .)

Who is online

Users browsing this forum: No registered users and 1 guest