limelect 48 Posted December 8, 2023 D10.2.3 Does anyone have a link/source to DPACK component that compiles and used perfect on my Delphi All the links I have have problems Share this post Link to post
FPiette 383 Posted December 8, 2023 Is it what you are looking for: https://github.com/YepSfx/DSPack Share this post Link to post
limelect 48 Posted December 8, 2023 (edited) @FPiette i Missed it but it also gives me an error Hr := MPC.GetOverlaySurfaceColorControls(Tmp); [dcc32 Error] DSPack.pas(3967): E2033 Types of actual and formal var parameters must be identical tmp is supposed to be TDDColorControl which is Tmp : TDDColorControl; I fixed 1 now I have another hr := FMediaEventEx.GetEvent(Event, Param1, Param2, 0); Now I have a different problem of compile ver Edited December 8, 2023 by limelect Share this post Link to post
FPiette 383 Posted December 8, 2023 19 minutes ago, limelect said: I fixed 1 now I have another hr := FMediaEventEx.GetEvent(Event, Param1, Param2, 0); Just look at the GetEvent declaration and the declarations of you variables. BTW: Do you know that DirectX API exists now in Delphi. It was missing when DSPACK was created but now it exists. Share this post Link to post
limelect 48 Posted December 8, 2023 (edited) @FPiettea Now i have compilation version problems I have to clean up things GDIPAPI was compiled with a different version of DirectDraw.IDirectDrawSurface7 I am trying to find my DirectDraw.dcu that does the problem Edited December 8, 2023 by limelect Share this post Link to post
limelect 48 Posted December 8, 2023 All compile well my last installation problem Dspack_2010 and DXE2 Share this post Link to post
FPiette 383 Posted December 8, 2023 1 hour ago, limelect said: GDIPAPI was compiled with a different version of DirectDraw.IDirectDrawSurface7 I am trying to find my DirectDraw.dcu that does the problem It is likely a path issue. There are DirectX units in DSPACK which are also in Delphi. Your GDIAPI was probably compiled using Delphi's units while your application is compiled with DSPACK. I suggest you get rid of DSPACK. It is an old thing that is no more maintained. I used it in the past and updated my code to use DirectX units of Delphi. Share this post Link to post
limelect 48 Posted December 8, 2023 Merci Thanks old BPL mix Why I did not find that component link I wonder Share this post Link to post
FPiette 383 Posted December 8, 2023 37 minutes ago, limelect said: Merci Thanks old BPL mix Why I did not find that component link I wonder Avec plaisir. Share this post Link to post
limelect 48 Posted December 9, 2023 (edited) Ok I did it This is why I needed it for that https://en.delphipraxis.net/topic/10628-webcam-settings/ I am using ShowFilterPropertyPage(Form1.Handle, Filter as IBaseFilter, ppDefault); where the filter gets in the base filter the video Edited December 10, 2023 by limelect Share this post Link to post