OLE control in DLL's problem
Chris Masterton -- chris@digital-animations.co.uk
Tuesday, July 30, 1996
Environment: Win 95, VC++ 4.2
After installing 4.2 over 4.1 we tried to test our little app which =
involves using an ole control in a DLL. Using 4.1 everything works =
great and with no problems at all.. but... under 4.2 we get a 'not =
registering ole control' error message. Its all been checked out and =
I'm fairly sure this is a microsoft bug as I've checked evrything else I =
could think of (including testing in a seperate app and registering it =
manually). I've not managed to get in touch with microsoft yet to see =
what they say.. thought I'd check out here to see if anyone else has had =
the same problems?
Cheers,
Chris
Mike Blaszczak -- mikeblas@nwlink.com
Sunday, August 04, 1996
[Mini-digest: 3 responses]
At 08:04 PM 7/30/96 +-100, you wrote:
>Environment: Win 95, VC++ 4.2
> After installing 4.2 over 4.1 we tried to test our little app
> which involves using an ole control in a DLL.
That is, you've written some code which lives in a DLL and makes use of
an OLE control, right?
> Using 4.1 everything works great and with no problems at all..
> but... under 4.2 we get a 'not registering ole control' error message.
When searching through the MFC sources, I can't find this error message
anywhere. Who prints it out? When? Is that the exact text of the
error message? If it is the exact text, I don't think the error message
is coming from MFC.
Do you get this message in the debugger output? What debug output _do_
you get? Or does this message pop up in a message box?
> Its all been checked out,
What, specifically, has all been checked out? I don't understand what
this means.
.B ekiM
http://www.nwlink.com/~mikeblas/
These words are my own. I do not speak on behalf of Microsoft.
-----From: "Ward, Ted"
If the DLL you are trying to register, can't find a dll or ocx it is
looking for, it won't register. You might make sure all required dll's
are in the path.
-----From: "John Elsbree"
Chris -
You'll need to provide more specific information (to the list please, not to
me directly).
You say you installed 4.2 over 4.1. After doing so, what did you recompile:
your application? your OLE control? both?
When do you get the "not registering ole control" message: while running
REGSVR32? (if so, what's the error code value?) while running your app? while
running your app's setup program (if any)?
On which machines do these problems occur: only on the machine where 4.2 was
installed? only on other machines, where 4.2 has NOT been installed? on all
machines?
John ("not speaking for Microsoft") Elsbree
| Вернуться в корень Архива
|