PDA

View Full Version : Re: I will start here - C# and .NET


Andrew McDonald
March 30th 03, 05:54 PM
How did you conclude that an OS-specific hardware group would be the best place to ask?
I'd try microsoft.public.dotnet.languages.csharp.

Andrew

"john" > wrote in message ...
> I reviewed all the newgroup selections on this site and
> saw this as the closest possiblility.
>
> Question:
>
> I am trying to use P/Invoke to import DLLs and so far I
> have succeeded with many WIN32 APIs. However, I found a
> case that MSDN has not reference. I need to import a DLL
> function that contains OPTIONAL parameters and my case
> requires a NULL to be inserted, in the case with C++.
> However, I need to pass a "ref" in C# to hold to the
> Import format, and need to somehow pass a NULL to the
> parameter in C#. Any ideas?
>
> I reviewed all the MSDN P/Invoke literature from John
> Hind and Eric Gunnerson from Microsoft and they don't
> have any mention on this topic. Richard Grimes does not
> touch on the subject either.
>
> Any help or direction would be appreciated.

Google