I have a hardware interrupt function in a .NET DLL-C wrapper that registers a callback function for an Interrupt Handler (could be any callback function pointer).
How can I pass the equivalent of a VI function pointer to the DLL as an arguement? In a simple world, I hope to typecast the VI reference (function pointer) to an UINT32, pass to the .NET DLL as a regular UINT32 arguement, and then re-typecast on the DLL side.
Can I get the equivalent of 32-bit function pointer of the VI to pass as an arguement? Do you know another method?
I saw this solution:
http://msmvps.com/blogs/vandooren/archive/...rs-via-net.aspx
But sure seems messy.
Thanks,
Rick
PS...Good Site...