A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Hardware and Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

I will start here - C# and .NET



 
 
Thread Tools Display Modes
  #1  
Old March 30th 03, 05:54 PM
Andrew McDonald
external usenet poster
 
Posts: n/a
Default I will start here - C# and .NET

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.



Ads
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.