similar to: Winelib Calling POSIX function from Windows application

Displaying 20 results from an estimated 3000 matches similar to: "Winelib Calling POSIX function from Windows application"

2003 Aug 19
1
Problems building dlls for use with winelib
Hi, I am currently having trouble building the DLLs of an application ported from Win32 to Winelib - compiling, thanks to some hints from Dimi O. Paun, now works fine, only(?) the final linking step fails. Since Winelib-documentation is unfortunately pretty outdated, I tried to orientate myself on the makefiles of the Winelib dlls in the cvs /wine/dlls/ directory. I tried the following
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 --nosource-fix
2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731 you get a warning message. // generates a warning CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1); These warning relates to the defines found in include/winbase.h file where we have: UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD); UINT WINAPI
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
Hi All, I have implemented a JNI library on window that call the C++ dll APIs. Now I want my JAVA program is run on the UNIX system. I have used WineLib to wrapper Window Dlls to the Share Object Lib (so lib) (Using Winedump and Winegcc to build). The functions in the so lib can work normally with my C main test function. BUT when I call it from Java. The function can linked BUT it is crashed at
2011 Sep 01
5
Another TAPI issue (Microkey Millennium)
Everything appears to install properly under wine when I'm setting up Millennium, but when I try to launch it, I get the following error: "The procedure entry point phoneInitializeExA could not be located in the dynamic link library tapi32.dll" I know tapi support in wine is woefully underdeveloped, but does anyone know if there's some kind of work-around for this kind of
2007 Jun 17
2
Sending changes to winelib ?
I have a little program coded for windows, and I want to compile it using winegcc. Unfortunately, some functions are not implemented in winelib, and I have to tweak some files. So, How do I submit those changes ? I found nothing on the WineHQ site. SO, if someone knows where to redirect me, I can do it alone! ___________________________________________________________________________
2011 Jun 21
2
Using winemaker / building wine DLLs
Hi. I'm not sure if this is the correct place for this question, or if the wine-devel list is more appropriate; please let me know if I should ask over there. I'm trying to build, using winemaker/winegcc/etc, a DLL for use with a Windows binary. This is a somewhat unusual case, in that this library is actually explicitly being written for a Windows binary that will run in Linux (I'm
2008 Dec 16
1
My first winelib app - where am I going wrong?
I eventually want to write a Linux application that can load Windows DLLs using winelib (I can do that, right?) but to start off, I just wanted to do a little Hello World test. Here's what I've got: main.c Code: #include <windows.h> int main(int argc, char** argv) { MessageBox(NULL, "Hello world.", "Hello", MB_OK); return 0; } This compiles fine
2009 Feb 21
2
Compiling Winelib application under x86_64
Hi All I'm trying to compile the following program int main() { return 0; } I generated a makefile using winemaker running make I get wineg++ -c -mno-cygwin -o test.o test.cpp wineg++ -mwindows -mno-cygwin -o test.exe.so test.o -lodbc32 -lole32 -loleaut32 -lwinspool -luuid ld: Relocatable linking with relocations from format elf32-i386
2010 Feb 24
0
Re: Winelib application linking with non-system Windows DLL - ho
Unfortunately not all our documentation is up to date. We try to move more to our wiki and update it there but I'm not sure if there is winegcc stuff there already. You have roughly two options. The easiest one is to dynamically load the dll using LoadLibrary and load the functions you need using GetProcAddress. Another way is to create a dummy dll against which you can link. You need
2015 Aug 29
2
Compilation error with MinGW
Hi all, I'm hitting the same problem as in this[1] thread. I use release_37 branch on 64-bit Windows 7. The problem is here: #ifdef __MINGW32__ #include <imagehlp.h> #else #include <dbghelp.h> #endif <skip> typedef BOOL (WINAPI *fpEnumerateLoadedModules)(HANDLE,PENUMLOADED_MODULES_CALLBACK64,PVOID); imagehlp.h doesn't define PENUMLOADED_MODULES_CALLBACK64 type. I
2015 Aug 30
3
Compilation error with MinGW
I use the one from mingw.org, installed by the recommended way with mingw-get-setup.exe. Sly. On 30.08.2015 06:10, Yaron Keren wrote: > Which mingw distribution exactly do you use? > > 2015-08-30 0:46 GMT+03:00 Slycelote via llvm-dev <llvm-dev at lists.llvm.org>: > >> Hi all, >> >> I'm hitting the same problem as in this[1] thread. I use release_37
2008 Jun 13
2
WineLib child Window to X11 Window
Is there a way to create child winapi window to x11 window with winelib? I need it to port a piece of window application to linux. I need a HWND equivalent of X11 Window handle to pass it to CreateWindow as parent.
2006 Jun 18
2
Winelib Getting Started 1.3.2. Test Drive
Hello, Would a wine developer please revisit this page http://www.winehq.org/site/docs/winelib-guide/winelib-getting-started and modify it to have a step by step guide to take a Linux box without wine nor winelib to a running notepad exe built by the newbie (and not downloaded)? Or if you are a wine-user, please provide such steps to this list. As a newbie, the statement "It can be found
2008 Jul 19
1
GetModuleFileName in winelib DLLs
Hi, I have the following problem - when I compile a DLL using winegcc and call GetModuleFileName on it I get a name in "c:\windows\system", regardless of the DLLs actual location. I have googled for it, and found this thread http://www.winehq.org/pipermail/wine-devel/2003-December/023224.html which says that this behavior is needed for built-in DLLs. My problem is that I'm
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
2008 Jul 18
1
Question about Winelib
Hi, I was searching on information whether it is possible to use winelib in order to develop (compile/link) and test DirectX (that make especially use of Direct3D) applications on linux? Can somebody provide some information in how far this is possible? I couldn't find anything useful by Google.
2008 Jun 14
1
Porting with winelib - undefined reference to `WinMain'
Hello! I'm trying to port zCPU emulator (http://www.wiremod.com/forum/cpu-tutorials-programs/2956-zcpu-emulator.html) to Linux with winelib. This app is mainly console, but can draw some stuff using SDL. The problem is: compiles fine but when linking I get Code: /usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main': exe_main.c:(.text+0x9d): undefined reference to `WinMain'
2011 Aug 30
6
how to cross-compile
I want to compile wine to another architecture,such as ARM,MIPS,PPC. But How to do this ? Thank you in advance.
2013 Feb 20
4
[LLVMdev] x86_stdcallcc @<n> mangling vs. '\1' prefix [was: x86_stdcallcc and extra name mangling on Windows]
I don't remember anything other that what I've written in the bug João has mentioned. Probably something like this patch http://llvm.org/bugs/show_bug.cgi?id=14410#c6 ? 2013/2/20 João Matos <ripzonetriton at gmail.com>: > I think so. There have been other reports lately related to this being > wrong. > > http://llvm.org/bugs/show_bug.cgi?id=14410 > > CC'ing