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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get the DLL's startup directory

Status
Not open for further replies.

zallen

Programmer
Aug 10, 2000
227
CN
Hi,friends
I want to know the dll's startup dir within my MTS component code.Which API can i use?

Any suggestion is appreciated!
zallen@cmmail.com
Long live of freedom!
 
If the API was written in VB, you could just use App.Path. - Jeff Marler B-)
 
Maybe you can use GetModuleHandle and GetModuleFileName.But i donot test it :(

Regards! IPO_z@cmmail.com
Garbage in,Garbage out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top