PC Review


Reply
Thread Tools Rate Thread

How to access a variable exported from a DLL?

 
 
Richard
Guest
Posts: n/a
 
      3rd Mar 2005
In VB.NET, I am successfully calling C++ functions and subroutines
that were exported from a DLL. Is it also possible in VB.NET to
directly access a variable that was exported?

Specifically, the DLL has C++ functions and variables that were
exported with __declspec(dllexport). In VB.NET, I can call the
functions after declaring with DllImport. However I haven't figured
out how to access exported variables (not functions or subroutines).
Is it necessary for me to build wrapper access functions?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some columns exported from Access do not sum =?Utf-8?B?Sm9lQTIwMDY=?= Microsoft Excel Misc 0 21st Nov 2006 04:00 PM
Re-using forms for an Access database that was exported to sql ser =?Utf-8?B?T2NlYW5NaXN0?= Microsoft Access Forms 1 13th Jul 2006 05:20 PM
Variable from Exported Excel File LJG Microsoft Access Queries 9 18th Jan 2006 11:04 PM
Store Variable with Exported Worksheet =?Utf-8?B?U3RyYXR1c2Vy?= Microsoft Excel Programming 2 10th Jun 2005 09:31 PM
Working with data exported from Access =?Utf-8?B?QW1hbmRhIEd1ZW50aG5lcg==?= Microsoft Excel Misc 7 13th Sep 2004 08:42 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:41 PM.