I want a java program that call functions of a dll (dynamic link library).
I don't want any specific program.
I just want a person who can guide me how to pass a reference of a java function as an argument to a dll function. I am able to call functions of that dll using JNA ([url removed, login to view])
But the problem is with Callback function.
My dll contains a function that expects a reference for a callback function as an argument. I am passing a reference of a java function (using Callback interface of JNA) to that function of the dll but the problem is that the dll is not calling my function back.
This is simple for programmers who have worked on it. I just need those programmers to guide me how to make the dll call my function back.