Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

system path

Status
Not open for further replies.

sarafe

Computer
Joined
Feb 27, 2008
Messages
2
Location
IT
Hello everybody! can you tell me how to get the windows system path, of any version? I will use it to register my dll, with:

Code:
Private Declare Function RegMyServerObject Lib  winsys32path Alias 
"DllRegisterServer" () As Long

where winsys32path should be the complete path and name of the dll, but if I get the path I cannot use a constant, while it needs a constant...
help, how can I do?
thank you
 
Just use the filename rather than the full path
 
now I try, thank you!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top