我原来用C++写的一个DLL,其中一个函数的类型是:
bool startPlayFile(char *filePath, bool openPlay,long volume,bool replay)delphi调用的时候是
startPlayFile(filePath:Pchar;openPlay:Boolean;volume:integer;replay:Boolean):Boolean;现在我要使用COM组件,应如何写那些类型呢?谢谢!