Chich14
04-01-2005, 05:24 AM
hey, i have a .dll that is referenced to my project. now i have obtained the source code for that .dll and am wondering how i change my references so that my project uses the loaded active x control rather then the referenced .dll from system32.
thanks :)
wakjah
04-01-2005, 05:26 AM
You would have to register the new ActiveX DLL under another name and GUID so that COM can tell the difference between your modified version and the old version. You can do this simply by changing the project name. Then all you have to do is reference the new one instead of the old one in your project and voila :)
Chich14
04-01-2005, 05:37 AM
no sorry thats not what i mean. originally i was using a EXTERNAL activeX .dll, but i now have the source code for the .dll so i have added it to my project. but when i go to Project>References and uncheck the external .dll and run my project, i get an error saying "User defined type not defined" and it highlights one of my declarations ("Implements ISubclass"). so i need some way to point vb to the activeX project source code that i have added to my project so its able to declare this class. the only thing is i dont know how :(
herilane
04-01-2005, 07:45 AM
Adding a reference to the .vbp file of that dll should solve it.
Chich14
04-01-2005, 08:29 AM
yes i know that, but the point is that i want to have a STAND-ALONE .exe when im done, not carry around a bunch of .dll's with it.