Re: mmsystem should be loaded at startup
24 Nov
2001
24 Nov
'01
8:10 p.m.
Joshua Thielen wrote:
Note: I'm not sure if I should have called ExitProcess if mmsystem.dll can't be loaded
not needed, if it couldn't be loaded, then no need to free it
and if I needed to call FreeLibrary. I just took the LoadLibrary("user32") as an example. well, error reporting for 16 bit DLL is a bit different (see below)
+ if(!(mmsystem = LoadLibrary16("mmsystem.dll"))) the correct test should be + if((mmsystem = LoadLibrary16("mmsystem.dll")) < 32) (the other values (< 32) are the error codes)
A+ -- --------------- Eric Pouech (http://perso.wanadoo.fr/eric.pouech/) "The future will be better tomorrow", Vice President Dan Quayle
8790
Age (days ago)
8790
Last active (days ago)
0 comments
1 participants
participants (1)
-
eric pouech