Debugging a Delphi OCX running inside Internet Explorer

From: Paul (none_at_none.com)
Date: 01/17/05


Date: Mon, 17 Jan 2005 09:56:15 -0000

Hi,

I am familiar with deploying a Delphi OCX to a webserver and having it run
inside a web page. The problem I'm having is when I try to debug the OCX
within Delphi 6.0. After starting the debugging session and waiting for the
page to load, I immediately get an exception within the debugger. Its an
EOleSysError with message "Type Mismatch". This error occured
intermittently before I updated Delphi 6.0 with these packs:
General Update 2
Delphi 6 Runtime Library Update 2
Delphi 6 Runtime Library Update 3

Now the above exception occurs every time I try to debug. Before updating
Delphi, I was able to get around the problem by recompiling the OCX and
redeploying it to the webserver. I think the problem was that the OCX on
the localhost webserver was different to the last compiled OCX in my project
directory. I am unable to resolve this issue the same way as before.

Does anyone have any suggestions? Could there be some discrepency between
the debugging dcus and the dcus used to build the OCX? Perhaps, the updates
left certain file versions out of sync?

Thanks in advance,
Paul



Relevant Pages

  • Re: Delphi? Futureproof re vb!
    ... Does RealBasic have OCX support? ... | thought I heard they were moving toward a .NET implementation of Delphi, ... | As for me, when the day comes that VB6 is "no more", my preference will be ... |> by Microsoft to get back to the vb6 concept which they should never have ...
    (microsoft.public.vb.general.discussion)
  • Re: Debugging a Delphi OCX running inside Internet Explorer
    ... Paul wrote: ... The problem I'm having is when I try to debug the OCX ... > within Delphi 6.0. ... > redeploying it to the webserver. ...
    (alt.comp.lang.borland-delphi)
  • Re: Interrupt-Event
    ... ich bekomme ein Interrupt-Event (CAPI-Call) aus einem OCX. ... ich hab mir auch mal so ein CAPI-Teil gebastelt, in Delphi, aber auch aus VFP aufrufbar. ...
    (microsoft.public.de.fox)
  • Re: VCL and Delphi?
    ... >> I just want to know if my VB project can use VCL or is this a Borland IDE ... VCLs are a Borland (or Delphi) thing. ... > create an OCX from a VCL (obviously having to use Delphi to create the ... The VCL file itself, however, is not ...
    (microsoft.public.vb.general.discussion)
  • =?ISO-8859-1?Q?Re:_Delphi_f=FCr_Web-Anwendungen_geeignet=3F?=
    ... den Webserver oder die Datenbank vorzuschreiben bzw. ... Sicher kannst Du theoretisch mit einem neuen Delphi ... Zu .NET mit Mono habe ich leider keinerlei Erfahrungen. ...
    (de.comp.lang.delphi.misc)