LORD_CHO
asked on
Problem with Delphi when accessing C dll
How do I call a dll created in C? I was informed that the dll was created in C and calls some functions in java...
I declared a function to access the dll from delphi:
function FunctionName:PChar; external 'GivenDll.dll';
i get this error message the moment i run the application:
"The procedure entry point FunctionName could not be located in the dynamic link library GivenDll.dll"
Is there a problem with my codes? or did I miss something?
Also, how can I view the functions in the dll?
Please help....
Thanks
I declared a function to access the dll from delphi:
function FunctionName:PChar; external 'GivenDll.dll';
i get this error message the moment i run the application:
"The procedure entry point FunctionName could not be located in the dynamic link library GivenDll.dll"
Is there a problem with my codes? or did I miss something?
Also, how can I view the functions in the dll?
Please help....
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you want to call Java directly then have a look at this site
http://www.pacifier.com/~mmead/jni/delphi/
http://www.pacifier.com/~mmead/jni/delphi/
You could use PEViewer from
http://www.volweb.cz/pvones/delphi/
...Snehanshu
P.S.
Win 95-98 had QuickView for this, not it is not shipped.