I’m trying to use the getPropertyInfo method but I can’t make it work in C#. I suppose the problem is the string marshaling.

How should I use this function? I’m passing 0 to the propertyindex and a string intptr to the propertyname so that I can check it’s EventProperty_Type.
I already tried every way I could think of to get the IntPtr to my string but I only got crashes and invalid param results.


  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.