Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

NewDeal

Creating DLL's

This topic is 6537 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

Hiya Im trying to figure out how to create dll''s. They always compile just fine (especially when i use the VC++ wizards ). My problem occurs when i try to register the dll''s using regsvr32(only way i know). I get an error message looking something like: c:\test.dll was loaded, but the DllRegisterServer entry point was not found. DllRegisterServer may not be exported......blah blah. Do i have to include the DllRegisterserver function in my code ? If not, what am i doing wrong. I cant seem to use the dll''s either. Thanx alot

Share this post


Link to post
Share on other sites
Advertisement
Why would you have to register the DLL? Just compile, link the (static) library (which is created when you compile the DLL) with your executable and stick the DLL in the same directory as the executable (or windows/system). Compile, run and smile!

"Paranoia is the belief in a hidden order behind the visible." - Anonymous

Share this post


Link to post
Share on other sites
I''m pretty sure you only have to register ActiveX controls (if they are in DLLs, then you would have to register those DLLs) but if you''re just writing a DLL with some functions in it, you just have to either compile with the library or load the dll at runtime via LoadLibrary.

Share this post


Link to post
Share on other sites
quote:
Original post by Qoy

I''m pretty sure you only have to register ActiveX controls (if they are in DLLs, then you would have to register those DLLs) but if you''re just writing a DLL with some functions in it, you just have to either compile with the library or load the dll at runtime via LoadLibrary.



You have to register any COM DLL.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!