Debugging a Delphi OCX running inside Internet Explorer
From: Paul (none_at_none.com)
Date: 01/17/05
- Next message: Skybuck Flying: "Re: Delphi Quiz: SetLength( WideString, 10 );"
- Previous message: Rob Kennedy: "Re: Detecting a key pressed at startup"
- Next in thread: Jamie: "Re: Debugging a Delphi OCX running inside Internet Explorer"
- Reply: Jamie: "Re: Debugging a Delphi OCX running inside Internet Explorer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Skybuck Flying: "Re: Delphi Quiz: SetLength( WideString, 10 );"
- Previous message: Rob Kennedy: "Re: Detecting a key pressed at startup"
- Next in thread: Jamie: "Re: Debugging a Delphi OCX running inside Internet Explorer"
- Reply: Jamie: "Re: Debugging a Delphi OCX running inside Internet Explorer"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|