Jump to content
limelect

dspack

Recommended Posts

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 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 by limelect

Share this post


Link to post
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

@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 by limelect

Share this post


Link to post
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×