S
SvenC
Hi Anonymous,
Did you register the new dll or ocx with regsvr32.exe?
The dll/ocx will export a DllGetClassObject function to expose its class
factory. When using ATL there will be an automatism to use the GUIDs
specified in the idl but when I read odl you might be using MFC? IIRC MFC
puts GUIDs into the source files, so you might need to "find in files" the
old GUIDs in the .h/.cpp files.
I'm trying to change the uuid of an Activex control so that my modified
version can coexist on the same system as the official control. I did what
I thought was obvious:
1). Generated new GUIDS using the VC8 GUID generator
2). Modified the .idl (or .odl for another control) file
3). Rebuilt the project.
Did you register the new dll or ocx with regsvr32.exe?
It built ok, without reporting any errors. However, when I tried using the
ActiceX object, the object could not be created. In VB, it returned an
error 'ActiveX object could not be craeted'
The dll/ocx will export a DllGetClassObject function to expose its class
factory. When using ATL there will be an automatism to use the GUIDs
specified in the idl but when I read odl you might be using MFC? IIRC MFC
puts GUIDs into the source files, so you might need to "find in files" the
old GUIDs in the .h/.cpp files.