Re: Wrapped OCX cant execute methods



You're right Bill. This case is the one you are mentioning ant it needs
an AXControlSite to be correctly instantiated.

Now I'm making a presenter with the image/video capture capabilities.

thanks a lot,

Sebastian


Bill Schwab escreveu:

Sebastián,

I'm trying to evaluate a set of OCX (for embedding video and image
capture capabilities to a dolphin application) and I'm having the same
annoying result. Every message I send to an instance of the main OCX
object, is giving this "Catastrofic Error".

Some of wich I tried are:

Viscom -> Videocap (aVIDEOCAPLib_DVideoCap>>aboutBox)
Fathsoft -> VideoCapX (aVIDEOCAPXLib_DVideoCapX>>aboutBox)
Marvelsoft -> VideoOCX (aVIDEOOCXLib_DVideoOCX>>init)

of course I've registered the ocx files previously to the tests. I
even made a test to see if the examples runs in VB6 and they do, but in
dolphin, right now I cant event diagnose what is going on.

It can be somethig in the configuration of the system? exists then
posibility of the ActiveX wizard had not wrapped the ocx right? what
I'm missing?

Have you tried testing it in the active x conrol browser? My first
guess is that the control is expecting to be hosted in a control site
and that you have simply instantiated and started invoking methods.
Some controls are happy that way, others are not.

Have a good one,

Bill

--
Wilhelm K. Schwab, Ph.D.
bills@xxxxxxxxxxxxxxxxxxxx

.



Relevant Pages

  • Re: Wrapped OCX cant execute methods
    ... Every message I send to an instance of the main OCX ... dolphin, right now I cant event diagnose what is going on. ... posibility of the ActiveX wizard had not wrapped the ocx right? ... My first guess is that the control is expecting to be hosted in a control site and that you have simply instantiated and started invoking methods. ...
    (comp.lang.smalltalk.dolphin)
  • Re: Windows form application problem
    ... I thought I saw just plain .ocx as the extension. ... Now I have to try to find that control and see what I can come up with. ... Gerry O'Brien ... >>> reference, rebuilt, re-referenced and rebuilt.. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: ActiveX Download Conflict Directory
    ... changes for the same named OCX or packaged files, ... > existing control and update the control (rather than install a second, ... downloaded on client machines by ASP. ...
    (microsoft.public.vb.controls.internet)
  • Re: executionEngineException
    ... No, this is not a solution, by doing this you are fooling the system by pretending that the component can be loaded into the MTA and COM will load it into the newly created thread which enters the MTA by default, but beware you are fooling yourself, here is why: ... An OCX is not designed to be hosted in the MTA, ... - OCX's must be hosted in a ActiveX control container, an MTA is not such container, the UI thread running a Windows Form is a valid container. ... set the Threadingmodel back to apartment and initialize your thread to enter an STA by setting the ApartmentState attribute to STA2. ...
    (microsoft.public.dotnet.framework.interop)
  • Re: OT; Obamas speech to kids
    ... Bill, ... Bush I Administration: ... The grand jury did not issue an indictment connected ... pledges (control) to *33* czars ranging from Diversity to ...
    (rec.bicycles.tech)