similar to: build a wine lib

Displaying 20 results from an estimated 20000 matches similar to: "build a wine lib"

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
2008 Dec 15
0
wine: could not load and Bad EXE format for
Hi All, I have tried to write dll from window and try to implement a WineLib wrapper. BUT after compile successful, I have run the function, it show me error as below: wine: could not load L"Z:\\root\\huutri\\maintest.exe.so": Bad EXE format for Can anybody can how to solve this problem? Thank in advance The below is some code: Code: 1. windows HelloImpl.dll __declspec(dllexport)
2008 May 18
2
problem build wine lib
This is my first post here, please excuse any incorrect terms etc. I have tried to follow chapter 5 of winelib-guild.pdf, but found winemaker does not correspond to the pdf. I am using wine version 1.0-rc1. I am trying to call a Linux shared library from an unmodified windows C++ program using a ?C? interface to a DLL. I have built very simple test case that I would like help to compile. Sorry for
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 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 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
2009 Sep 03
2
wine advantages over mingw
What are the advantages of using winegcc over the mingw cross compiler? Also, what are the differences in the header files / libs supplied with each ? I have an app (http://www.autohotkey.com/forum/viewtopic.php?t=46546) cross compiling with mingw using codeblocks, and I have it working under winelib side by side native linux code. I wanted to translate it so it would compile with winegcc so
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
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
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! ___________________________________________________________________________
2006 Jun 26
2
Compilation error using winegcc
Hello!! I am new user to Wine. I have downloaded Wine-0.9.15 sources on solaris box and tried to compile a simple "Hello World" program using WineLib. I am getting following error: winegcc: -Wl,-G,-B,symbolic failed. *** Error code 2 make: Fatal error: Command failed for target `helloworld.so' Can anybody guide me as to what went wrong? I have following environment setup
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
2007 May 09
1
Porting a Win32 application using Winelib...
Hello, I'm currently trying to use Winelib to port a fairly big windows application to Linux. The application consists of quite a lot of DLLs, some of which don't depend on the Win32 API (they can be compiled with gcc). I think I read all available documentation, but I still have a few questions: - is it possible to link a linux binary with "linux" shared libs and
2007 Apr 30
1
Building ZDoom with winelib
Hi all, I'm trying to build the Windows version of ZDoom 2.1.7 under Linux with Winelib. Of course, I know that ZDoom can be compiled natively under Linux, but I'm aiming to port Skulltag (which is based on ZDoom) to Linux and if ZDoom can't be build with Winelib, Skulltag can't be either. With little modifications I was able to compile ZDoom with winegcc, but during linking the
2011 Jan 16
5
Winelib Calling POSIX function from Windows application
Suppose that I have Windows application using Code: LoadLibrary followed by Code: GetProcAddress It should be possible to load a library implemented in terms of POSIX function but I do not understand how. Should I load the dll.so file generated by winegcc or do i need a plain .dll file?[/code]
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
2009 Feb 17
5
Problems in Compiling MFC
1) i'm facing problem while compiling MFC code when "winemaker" command is given i get these lines admin at XXX:~/.wine/drive_c/windows/system32/MFC> winemaker --lower-uppercase . Winemaker 0.6.0 Copyright 2000 Francois Gouget <fgouget at codeweavers.com> for CodeWeavers closedir() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 1054. closedir()
2001 Jun 19
1
winelib with a dll
Sorry to bug you all, but I want to know if I am trying to do something impossible. I am trying to use winelib to compile an exe that links to a dll, without compiling the dll under winelib (i.e. the equivalent of simply linking in the .lib). I have a win32 DLL project (hw5) that generates a hw5.lib, hw5.dll and hw5.h under M$. I have a win32 gui exe project (hw6) that includes hw5.h, links to
2011 Feb 13
1
no comdef.h while compiling ff-activex-host with winelib
Dear all, While trying to port ff-activex-host to Linux with winelib, I got an error as below: $ make wineg++ -c -O0 -W -mno-cygwin -I/home/fracting/wine-git/dlls/atl -DWIN32 -D_WINDOWS -DXP_WIN32 -DMOZILLA_STRICT_API -DXPCOM_GLUE -DXP_WIN -D_X86_ -DNPSIMPLE_EXPORTS -o GenericNPObject.o GenericNPObject.cpp In file included from GenericNPObject.cpp:36: GenericNPObject.h:39: fatal error:
2009 May 24
1
directions for porting my own code using 3rd party dll
Hi I have a c++ project Im working on under windows. it uses a 3rd party library (ie, i have headers and dll). mostly for development I'd like to be able to work on it under linux. and i thought that should be easy with wine. but now i read through the Winelib User's Guide and Im somewhat lost. its talking about winemaker and bad cases of filenames, generating makefiles and stuff. Im