PDA

Click to See Complete Forum and Search --> : how do i replace a DLL program?


serhiy
Dec 18th, 2000, 01:46 AM
goodday everybody...

well, i wrote a exe program and a dll program. the exe program will use the dll program.
this is my problem...
i recompile the dll program and replace the old dll program.
now, when i try to run the exe program, an error msg will appear. sorry, i don't quite remember the msg. it got something to do with ActiveX component or object.

question:
can't i just copy and replace the dll program in the hope that the exe program will 'adjust' itself?
if yes, how should i do it so that i don't need to recompile the exe program all over again, which is what i'm doing now?

your help and advice will be most appreciated...

Dec 18th, 2000, 02:24 AM
serihy, under the project menu select properties, hit the component tab, and click the binary compatibilty radio button and then recompile your dll, that should solve your problem.

serhiy
Dec 18th, 2000, 03:15 AM
thanks for your help, madworm...
i'll try it...

btw, i just remember the error msg..
it goes something like this...

"Error 430
Class doesn't support Automation....."

hope this can help you understand my problem better...
thanks

Dec 18th, 2000, 03:37 PM
Yep, that error confirms what I said!!

serhiy
Dec 18th, 2000, 07:58 PM
thanks a lot, madworm...
you have been most helpful...