|
-
Jan 17th, 2001, 12:33 AM
#1
Thread Starter
Hyperactive Member
Dear all,
Anyone got the following error when instantiating an OLE DLL. The error is Automation Server can't create object.
-
Jan 17th, 2001, 06:45 AM
#2
Fanatic Member
The object hasn't been registered. Use regsvr32 and register it manually.
-
Jan 17th, 2001, 12:07 PM
#3
Thread Starter
Hyperactive Member
No Bill the component has been registered correctly and is present in the registry
-
Jan 25th, 2001, 08:59 AM
#4
Fanatic Member
Well
Either it's not a valid COM object (and can't be instantiated)
OR the registered version is incompatable with the one you're trying to use.
-
Feb 8th, 2001, 04:38 AM
#5
Hyperactive Member
msdnexpert ;-)
Give us the context in which you are trying to create the object.
td.
"One logical slip and an entire scientific edifice comes tumbling down." - Robert M. Pirsig
[email protected]
"but if Einstein is right and God is in the details, reality requires that we sometimes get religion." - Scott Meyers.
-
Feb 8th, 2001, 06:03 AM
#6
Thread Starter
Hyperactive Member
The object is being created through an ASP page.
-
Feb 12th, 2001, 04:24 PM
#7
New Member
DLL registration problem
I agree with Simon.. If your problem is occurring when you are trying to instantiate, then it sounds like a version capability problem. Check your compatibility setting under Project Properties.
Another option is to use late binding for your DLL & force your program to grab the latest version from the registry at run-time. Although late binding can sacrifice performance. Hope this helps..
On a similar note.. I get the "ActiveX cannot create object" error AFTER my object is instantiated (using late binding). The puzzling part is (1) I have confirmed the object has been created (2) this error only appears when I try to use the DLL's methods (3) it only seems to occur on Win95 machines.
Ideas anyone?
-
Mar 7th, 2001, 01:57 AM
#8
Lively Member
May I join and ask a question of my own?
<Rebart>
How do you do late binding? What I do is everytime I make changes to my COM component, I have to recompile the EXE as well for it to associate itself with the new COM. Thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|