I need to create a DLL that has the following 2 functions so I can interface my program with another program. Can anyone help me to make the code equivalent of the code below in VB?
VB Code:
'Required dll functions int WINAPI getmove(int board[8][8], int color, double maxtime, char str[1024], int *playnow, int info, int moreinfo, struct CBmove *move); int WINAPI enginecommand(char command[256], char reply[1024]);
where struct CBmove is defined as follows:
VB Code:
struct CBmove { int ismove; int newpiece; int oldpiece; struct coor from,to; struct coor path[12]; struct coor del[12]; int delpiece[12]; } struct coor { int x; int y; }


Reply With Quote
