Hello. I want to use my own third party library for my current unreal project.
Here is the struct.
struct DataTable
{
int idx;
int value;
};
Here is the dll module and function call.
DataTable p = {...};
myModule->Load(&p);
Load()'s parameter is DataTable* so it can see what values are in.
it does not work. It was empty when I called the function everytime.
But once I modified the function to accept parameter as int*, it works.
int i = 3;
myModule->Load(&i);
It seems only user-defined struct cannot be accepted as a parameter for third library function.
I really need help. I put an alphabet F in front of struct name. but it did not work, too. Does anyone have an idea to solve this problem ?
Thank you.