DLL,registering, source code, entry points and etc.
Posted on 2004-03-31
I have a simple windows 32-bit DLL File all written and it is working quite well. But when I try to register it at the dos prompt or thru a setup program, errors appear - meaning it can not register the DLL. Within the DLLMAIN program, there are four areas: (I am simplifiying here)
1) primary attach
2) primary detach
3) secondary attach
4) secondary detach.
But my question, is how do I register my dll from within my dll file OR from/via a setup program OR from the dos prompt. The errors I recieve, is that there are no entry points for registering and unregistering the DLL file. This is the area I need the most help in. And is there other areas/things that I need to accomplish this, that I do not have that I need to make this operation run smooth?? I have this project I am trying to deploy, and I have run into this problem. Can you help me out please. Can you please provide (in straight "C") source code examples on how this is answered and solves my problem(s).