News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

xp drives Q

Started by DC, November 24, 2005, 03:27:25 AM

Previous topic - Next topic

Darrel

make these modifications to your last post.

.data?
BufTo       db 1000 dup (?)

invoke RegQueryValueEx, hKey, addr szKeyName, NULL, addr dwType, addr BufTo, addr dwLnth

czDrillard

I guess I was misled by the name of your post xp drives Q made me think this is an xp os question.  Use SHGetSpecialFolderLocation for shell32.dll version 4.7  if your using windows 9x and of course there is more than one parameter to pass.  The one I mentioned is the key one if you're looking for Program Files folder.  :)

best regards,

czDrillard

DC

how rusty can I be?
thanx Darrel... it works now.
I'll be back
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net