what is SetUnhandledExceptionFilter good for. i don't understand what its good for. Does it have something to do with CreateThread ?
Posted on 2004-06-10 16:38:43 by diablo2oo2
No, it sets the unhandled exception filter for the program. The same filter is used for all of the its threads. It is called when an exception is not handled by the per-thread exception chain. This could be used, for example, to allow an user to save a document before the crashing program gives up.
Posted on 2004-06-10 17:41:31 by Sephiroth3
HANDLE CreateThread(

LPSECURITY_ATTRIBUTES lpThreadAttributes, // address of thread security attributes
DWORD dwStackSize, // initial thread stack size, in bytes
LPTHREAD_START_ROUTINE lpStartAddress, // address of thread function
LPVOID lpParameter, // argument for new thread
DWORD dwCreationFlags, // creation flags
LPDWORD lpThreadId // address of returned thread identifier
);

what happens when i set lpThreadId = NULL ??
Posted on 2004-06-11 09:00:37 by diablo2oo2
lpThreadId
Pointer to a variable that receives the thread identifier. If this parameter is NULL, the thread identifier is not returned.
Posted on 2004-06-11 09:04:29 by donkey

Windows Me/98/95: This parameter may not be NULL.
Posted on 2004-06-11 09:41:11 by stormix
thats why my app is not working under win98 ! thanks!

i think i need a newer API Reference. where can i get a new one?
Posted on 2004-06-11 11:41:42 by diablo2oo2
Posted on 2004-06-11 11:49:13 by f0dder
hmm i cant believe it that you need so much space for some helpfiles.
Posted on 2004-06-11 12:36:59 by diablo2oo2
it's not just helpfiles - there's examples and a lot of other things too... and it's a lot better than the crappy old win32.hlp . Too bad the viewer for htmlhelp2 is so sluggish.
Posted on 2004-06-11 12:39:39 by f0dder
too bad with my isdn connection. 342MB is really too much. can't microsoft send me a CD ? :D
Posted on 2004-06-11 15:25:12 by diablo2oo2
Yes, you can order it on CD for the cost of shipping...

https://qmedia.e-storefront.com/showcontent.asp?contentname=PlatformSDKHome

You can also download it in smaller peices (~20MB each) from the update site.
Posted on 2004-06-11 16:33:54 by donkey