It seems to me that the Borland Problem isn't solved yet.
I have tried the latest nighty build
vlc-0.8.5-svn-20051110-0001-win32
in common with Delphi 4, Delphi 6 and Delphi 7.
It doesn't work and crashes!
When i do not place the activex component but
create it in the code (Tested with Delphi 6):
Var
VLCPlugin : TVLCPlugin;
procedure TForm1.Button1Click(Sender: TObject);
begin
VLCPlugin :=TVLCPlugin.Create(Form1);
VLCPlugin.Parent := Form1;
end;
then it crashes in the moment of setting the parent!
Debugging it shows me following:
It crashes while setting then origin with OnPosRectChange (System unit OleCtrls):
function TOleControl.OnPosRectChange(const rcPosRect: TRect): HResult;
begin
FOleInPlaceObject.SetObjectRects(rcPosRect, Rect(0, 0, 32767, 32767));
Result := S_OK;
end;
Is there anybody out there who can solve the problem?
I think that there are a lot of Delphi users waiting on it.
Frank