Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Problem with dynamic Type

$
0
0
Unfortunately it isn't very simple. Have a look here.

Alternatively, you can just fake it. Consider changing your class so that the client code must specify what native methods it intends to call:
user32 = new NativeLibraryImporter('user32.dll', 'MessageBox', 'MessageBeep'/* etc */);
The class would just store those names and return them from GetDynamicMemberNames().

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>