-
Please help me!!
How can i use external dll function?
Here is my problem
prototype of this function in external dll file.
--> extern void pascal DoBeginStart(char *src);
How can i use this function in visual
Is that possible ?
this is Delphi code..
var
Filefile : String;
begin
DoBeginStart(PChar(Filefile));
end;
my e-mail address :
[email protected]
Thanks for your help.
*^^*
-
Re: Please help me!!
Declare it as follows: (Add private, if you are declaring in a Forms code)
Declare sub DoBeginStart lib "YourDLLName.dll" _
(byval lpszSrcStr as string)
and put the dll in the applications directory.
Using it as
...
Call DoBeginStart(somestring)
...
..Should work!
Ravi