[Mono-list] P-Invoke global variable

Justin Cherniak compwiz312 at gmail.com
Sun Apr 20 17:12:18 EDT 2008

Hey everyone,

I was just wondering if there is a way to p-invoke a global variable
(located in a dll) without adding any unmanaged code (such as get/set
methods)?  I can't seem to figure out how it would work although in theory I
don't see why it would be any different than finding a function from the
native code as long as it is well defined in a header file.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080420/2be8b263/attachment.html 

More information about the Mono-list mailing list