I was trying to invoke GetWindowsDir, but the compiler does not seem to recognize it. Am I missing an include file or does it need to be defined in some way?

Many thanks in advance, of course!
Posted on 2002-06-14 09:01:45 by The Beginner
GetWindowsDirectory
Posted on 2002-06-14 09:08:53 by smurf
If you are using masm, than first include file kernel32.inc and includelib kernel32.lib with other filez. Then call it like GetWindowsDirectoryA,Param1,Param2,... You will also have to specity a buffer for working with this api. Please consider revising iczlions tutorials first. you could be able to find a link in this website. Also get win32.hlp file.:alright:
Posted on 2002-06-16 08:40:42 by Wonder Mage