On Oct 21, 10:07 am, tomi <tomi.tres...@gmail.comwrote:
Help please
Ho can I write following (from C#) thing in VB.NET ?
IntPtr pointer = new IntPtr(&mode)
mode is a instance of some structure.
I cannot find any solution. I need to pass the pointer to a structure
to COM+ object Thanks
Tomas
Usually, it would just make the VB.NET signature as ByRef. So, it
would be:
Dim mode As TheMode
....
theFunction (mode)
I'm not exactly sure why they are doing that in C# either. You're
going to have to be a little more explicit.
--
Tom Shelton