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

[DLL] - Exporting imported function by same name

Status
Not open for further replies.

acamat

Programmer
Oct 24, 2003
2
DE
Hi there,

for a VB-Project I want to wrap some API-Functions (e.g. GetComputerName, GetUserName), which come from different System-DLLs (here Kernel32.dll, Advapi32.dll), in _one_ wrapper DLL, and provide it for VB by a typelibrary. Of cause, I would like to keep the functionname, too.

I there a way to write this wrapper-dll, that function calls just passes to the right one?

--
Regards,
Carsten
 
SOLVED! :)

In the wrapper dll I use new names for the functions to export and do some aliasing in the *.odl file...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top