Creating DLL's
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
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
"Paranoia is the belief in a hidden order behind the visible." - Anonymous
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement