search for: bindlls

Displaying 3 results from an estimated 3 matches for "bindlls".

Did you mean: bills
2009 Sep 03
4
build wine dll problem
I am trying to follow the instructions here (http://www.winehq.org/docs/winelib-guide/bindlls-wrapper) to build a dll with wine that i can load dynamically in a windows wine application. this is what i am doing: MyWinDll.spec Code: 2 stdcall MyWinFunc (int) MyProxyWinFunc MyWin.c Code: #include <windef.h> short MyProxyWinFunc(int *i) { return 5; } shell Code: winemaker --nosour...
2010 Jun 09
2
Help with simple dll wrapper around linux so
Ive recently got metatrader to work 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 n...
2011 Jun 21
2
Using winemaker / building wine DLLs
...s a somewhat unusual case, in that this library is actually explicitly being written for a Windows binary that will run in Linux (I'm basically trying to wrap a Linux system call so that I can call it from a Windows program). So, I followed the guide at http://www.winehq.org/docs/winelib-guide/bindlls, and winemaker gave me a makefile. I ran winemaker with: winemaker --nosource-fix --dll --single-target MyLib --nomfc Running make produced errors related to 32/64-bit incompatibility, which persisted until I: 1. added -m32 to CEXTRA and 2. added an explicit target for .o files (since the implic...