I have a problem, my dll has not exported any methods for me to use in other programs.
I did as follows:
namespace integration {
class RESTRequest {
public:
__declspec(dllexport) string GetPing(char* ping);
private:
static void MarshalString(String ^ s, string& os);
};
}
It's compiling cool, but when I try to access ddl with a java program, I get this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'GetPing': The specified procedure could not be found.
For me the export was done with __declspec(dllexport)
in the method, but by the way it did not work only with it, do I have to add some more deltalhe in the dll?