Using TC0832.dll in vb.net

 
Post new topic   Reply to topic    Pico Technology Forum Index -> .Net Languages (C#, VB.Net, .)
Author Message
dmc1980
Newbie


Joined: 16 Jun 2008
Posts: 1
Location: Belfast

PostPosted: Mon Jun 16, 2008 12:20 pm    Post subject: Using TC0832.dll in vb.net Reply with quote

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?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Pico Technology Forum Index -> .Net Languages (C#, VB.Net, .)
All times are GMT
Page 1 of 1

 


Pico Technology topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group