Log in

View Full Version : Executing BBMPEG.DLL from Delphi


MattO
24th September 2002, 21:51
Hello all,

I am trying to execute 'BBMPEG.DLL' from my Delphi program.
Looking a few C sources it seems as if I do it like so:

procedure bbMpegDll; stdcall; external 'bbmpeg.dll' name 'bbMPEGInit';

then I call bbMpegDll to run the DLL . . . But this doesnt work :(

Can anyone give me a Delphi example code to execute 'BBMPEG.DLL' ?

thanks

MattO

BlackSun
30th September 2002, 07:50
But what is the error ?

MattO
30th September 2002, 09:25
There is no error message ... It just does nothing.

The function obviously exists otherwise I would get an error, so I must be doing something wrong, but I do not know what.