CompuServe Thread

#CreateProcess failure

3 messages in this thread
#50232From: Brian CorcoranJul 30, 1993 3:21 PM
Well, first I have to find somebody with the toohelp docs. Any more specific suggestions on what API's to use, or where in the knowledgebase to look for more information. This is just a little vague to me right now. /EXIT There is 1 Reply.
#50469From: Lee Hart [Microsoft]Aug 2, 1993 11:35 PM
>>>Well, first I have to find somebody with the toohelp docs. Any more specific suggestions on what API's to use, or where in the knowledgebase to look for more information. This is just a little vague to me right now. /EXIT The ToolHelp APIs are documented in the Windows 3.1 SDK. There are also several KB articles on ToolHelp, just look for toolhelp and p_winsdk. Lee There is 1 Reply.
#51238From: Brian CorcoranAug 9, 1993 9:41 AM
Ok, excuse my ignorance, but I'm fumbling around with this 16 process creation and exit notification. I have the 16 bit example that uses the toolhelp API's. Now, is your suggestion that I use a thunked NotifyRegister to set up a callback ? Should the callback be a 16 bit function or a 32 bit function ? When I attempt to translate a 32bit callback and use a thunked NotifyRegister, it crashes miserably. I guess I also don't understand how you would have a 32bit task using 16bit toolhelp API's that assume task handles from 16 bit tasks. Using NULL for a task reference in a 16 bit thunk of NotifyRegister doesn't seem like it would work to me. Any insight you can provide would be greatly appreciated. I have code examples if you need them. Brian Corcoran SAS Institute