Problems using The ActiveX component in Delphi 6

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
A Guest

Problems using The ActiveX component in Delphi 6

Postby A Guest » 18 Oct 2005 16:17

I tried to use the ActiveX plugin of VideoLan in Delphi 6.

Installation is very simple, you install VideoLan(i tried it with all available releases, that included the ActiveX PlugIn, should be 8.2 and higher) an then you import the ActiveX in Delphi. Then you create a component and instantiate it.

In version 8.2.x there was the problem of a invalid pointer, when you try to create an instance. It was solved, i read here.
In version 8.4.x Delphi says "inalvid variant operation", when i want to instantiate. This problem still occurs on the latest nightly builds.

I don´t know if anyone can give me a hint. Creating an Instance ist that simple, i dont know what i may do wrong and what i can do to get it working.

dumarjo
Blank Cone
Blank Cone
Posts: 29
Joined: 04 Dec 2003 21:03

Postby dumarjo » 19 Oct 2005 19:57

i'm in the smae situation even on delphi ou bcb

Jonathan

ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

Postby ZerBit » 19 Oct 2005 23:50

I also have problems with BCB 5. Take a look to this message thread.:

viewtopic.php?t=12461

Regards.

ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

Postby ZerBit » 20 Oct 2005 23:13

I have tested the ActiveX with VBasic without problems

I have tested the ActiveX with Delphi 2005 with the same related problems

Any advice?

ZerBit
Blank Cone
Blank Cone
Posts: 75
Joined: 15 Sep 2004 16:35

Postby ZerBit » 21 Oct 2005 00:51

Now i have tested with DeXter (BCB & Delphi 2006). I also have an error when i try to put the videolan ActiveX into one form. This is the error message:

Access violation at address 52082D9C in module vcl100.bpl. Read of address 00000000

And this is the error details:

+ $26[52082D9C]{vcl100.bpl } OleCtrls.OleCtrls.TOleControl.OnPosRectChange (Line 2638, "OleCtrls.pas" + 1) + $26
+ $0[51EC698B]{rtl100.bpl } System.System.@HandleAnyException (Line 9980, "system.pas" + 13) + $0
+ $36[77F69B73]{ntdll.dll } RtlConvertUlongToLargeInteger + $36
+ $9[77FA4DB8]{ntdll.dll } KiUserExceptionDispatcher + $9
+ $1131[64FC3281]{axvlc.dll } DllMain@12 + $1131
+ $EDB[64FC302B]{axvlc.dll } DllMain@12 + $EDB
+ $2D[520801B7]{vcl100.bpl } OleCtrls.OleCtrls.TOleControl.CreateWnd (Line 861, "OleCtrls.pas" + 5) + $2D
+ $10[51FFBD29]{vcl100.bpl } Controls.Controls.TWinControl.UpdateShowing (Line 6926, "Controls.pas" + 10) + $10
+ $2[51FFBDE4]{vcl100.bpl } Controls.Controls.TWinControl.UpdateControlState (Line 6952, "Controls.pas" + 8) + $2
+ $5[52081B62]{vcl100.bpl } OleCtrls.OleCtrls.TOleControl.SetParent (Line 1972, "OleCtrls.pas" + 1) + $5
+ $19[53355CA3]{vcldesigner100.bpl} VCLSurface.VCLSurface.TControlItem.SetParent (Line 871, "vclsurface.pas" + 1) + $19
+ $1A[20EFD79A]{designide100.bpl} ComponentDesigner.ComponentDesigner.TComponentRoot.CreateCurrentComponent (Line 4331, "ComponentDesigner.pas" + 2) + $1A
+ $6[20F0DD2E]{designide100.bpl} Surface.Surface.TDesignSurface.AppTextDFM (Line 171, "Surface.pas" + 0) + $6
+ $3[20EE3D9A]{designide100.bpl} Designer.Designer.TDesigner.DoDragCreate (Line 764, "Designer.pas" + 1) + $3
+ $D[20EE451C]{designide100.bpl} Designer.Designer.TDesigner.DragEnd (Line 928, "Designer.pas" + 18) + $D
+ $2[20EE68BC]{designide100.bpl} Designer.Designer.TDesigner.MouseMove (Line 1674, "Designer.pas" + 1) + $2
+ $6[5335A618]{vcldesigner100.bpl} VCLSurface.VCLSurface.TVclDesignSurface.IsDesignMsg (Line 3028, "vclsurface.pas" + 34) + $6
+ $21[51FF8557]{vcl100.bpl } Controls.Controls.TControl.WndProc (Line 5035, "Controls.pas" + 4) + $21
+ $6[51FFC57B]{vcl100.bpl } Controls.Controls.TWinControl.WndProc (Line 7161, "Controls.pas" + 60) + $6
+ $5[52010D3B]{vcl100.bpl } Forms.Forms.TCustomForm.WndProc (Line 3277, "Forms.pas" + 125) + $5
+ $C[221F3DCB]{delphivclide100.bpl} VCLFormContainer.VCLFormContainer.TControlSizer.ControlWndProc (Line 303, "VCLFormContainer.pas" + 33) + $C
+ $6[51FFBEFC]{vcl100.bpl } Controls.Controls.TWinControl.MainWndProc (Line 6984, "Controls.pas" + 3) + $6
+ $8[51F00F00]{rtl100.bpl } Classes.Classes.TDataModule.WriteVerticalOffset (Line 11524, "classes.pas" + 0) + $8
[77D13A65]{USER32.dll }
[77D13B32]{USER32.dll }
+ $120[77D13D8C]{USER32.dll } GetMessageW + $120

I think that the most interesting information is these lines:
+ $36[77F69B73]{ntdll.dll } RtlConvertUlongToLargeInteger + $36
+ $9[77FA4DB8]{ntdll.dll } KiUserExceptionDispatcher + $9
+ $1131[64FC3281]{axvlc.dll } DllMain@12 + $1131
+ $EDB[64FC302B]{axvlc.dll } DllMain@12 + $EDB
+ $2D[520801B7]{vcl100.bpl } OleCtrls.OleCtrls.TOleControl.CreateWnd (Line 861, "OleCtrls.pas" + 5) + $2D

Any advice?

Regards


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests