Displaying 1 result from an estimated 1 matches for "winadd".
Did you mean:
winad
2010 Jun 09
2
Help with simple dll wrapper around linux so
...ork on linux uner wine and would now like to see if i can import a dll wrapper so i can use some code i wrote in linux. Im trying something like this (based on http://www.winehq.org/docs/winelib-guide/bindlls) :
add.c:
Code:
int add(int a,int b) {
return a+b;
}
add.h:
> int add(int,int);
WinAdd.c:
WinAdd.c:
Code:
#include <windef.h>
#include "add.h"
int WINAPI WinAdd (int a,int b) {
return add(a,b);
}
WinAdd.dll.spec:
Code:
2 stdcall WinAdd (long long) WinAdd
now, i have these all in a directory called test. I type:
Code:
winemaker . --nosource-fix --nomfc...