well, i dont have that much experience with dlls, and im not at home(im on vacation, so i cant really test anything) and i have a question:
lets say you have this code as your DLL:
#include <iostream>
#define DllFunction __declspec(dllexport)
int number;
DllFunction void NewPrint(int flag)
{
if (flag == 0){
cout << number;
number = number+1;
}
}
and this code in DBP:
i assume that this will cause DBP to print 0 then 1 then 2 ect...
is this correct? or is there something im doing wrong to produce that result? basically, i want the dll to be able to store information. is this possible, or does all data have to be stored within DBP?
Thread: http://forum.thegamecreators.com/?m=forum_view&t=78971&b=8&p=0
*New Website Coming Soon*