Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I'm trying to do some work that calls native methods...a lot of time I can find an example somewhere that will help me to know what the values of constants and the such are (such as MB_OKCANCEL)...but many times I cannot.

 

Is there a source to find these values when they are not on MSDN or in the PSDK?

 

Thanks

Posted

I usually use http://www.pinvoke.net/index.aspx.

 

But the platform SDK (PSDK you mentioned?) should cover all defines related to regular use. You'll have to wade through some (probably a lot ;) ) .h files to find the correct define, but most things are in there. (Don't use the windows built-in search, it is reproducibly crap when it comes to searching for text in files. :rolleyes: )

 

But there is also a directX development kit, driver development kit and probably some other development kits as well. Haven't tried any of them so I don't know what is in them (just documents / tools, or also actual definitions / code files ). I don't know what sort of information you are looking for, but it might be in one of these other development kits.

Nothing is as illusive as 'the last bug'.
  • 2 weeks later...
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...