Tuesday, September 7, 2004 03:22 AM
I need to call a function that is there in a C++ dll. The arguments to the function are STRUCT and string. The return type is void. Also I donot have any rights to change the dll and I have to use as it is.... So here goes my questions:
1. How to pass a struct variable from Java to a function in DLL.
2. The function returns void and the second argument is the output variable which I need to use. So is there anyway, that call by reference can be used from Java?
3. Where should I place my dll to compile it?
Quick reply would be appreicated.
Thanks in advance.
Re: Calling a C++ dll from Java
Tuesday, September 7, 2004 04:20 AM