There are some good books on this, I was told - if noone answers I can ask someone for a list.
Sorry, I gave up using PInvoke some time ago and make a managed C++ class now for this when I need it. Now, this is not against PInvoke - all my cases were a LITTLE too complicated for PInvoke to handle. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) -----Original Message----- From: Ovidiu Platon [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 22. Mai 2002 15:33 To: [EMAIL PROTECTED] Subject: [DOTNET] PInvoke question I'm sorry if this question has been posted before, but I've looked through the archives and wasn't able to find a suitable answer. I need to get a full list of Win32-to-.NET type mappings for PInvoke, or to find out whether the PInvoke manager in .NET can handle subtle type mismatches; for example, I need to know whether CreateFile(string, uint, ...) is the same with CreateFile(string, int, ...); does the sign bit matter or is size the only important thing? (I mean the number of bits, of course ;-) Also, I want to know how to choose between ref and out parameters. Please give me at least some MSDN or Web links. TIA, Ovidiu Platon. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.