Advertisement Jump to content
Sign in to follow this  
fir

static stubs for dlls

This topic is 1886 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I do not quite sure if it is called a 'stub '- but i am tallking 

about some type of static libs which can be used as

a some wrappers for dlls -  you staticaly link to that and can

call the functions from dll

 

- whot is inside of this - are there winapi functions used 

for loading module and getting adress of module functions

 

- are this generated by some automat or this is hand coded?

 

- is there some cost (overhead) added compared to dynamic linking calls?

 

 

 

Share this post


Link to post
Share on other sites
Advertisement

- whot is inside of this - are there winapi functions used 

for loading module and getting adress of module functions

 

 

Use LoadLibrary and GetProcAddress to manually load a DLL and get a pointer to functions contained therein. EDIT: Name mangling makes it more difficult if you want to get addresses for C++ functions.

Edited by Paradigm Shifter

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!