Displaying 20 results from an estimated 5000 matches similar to: "Re: Winelib application linking with non-system Windows DLL - ho"
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
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 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
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]
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)
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
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
2001 Nov 12
0
WineLib and Static Libs
I read the following on wine HQ:
Linking in .lib Files
....
You cannot use .lib files directly with Winelib. The reason is
that winebuild does not support reading .lib files. Support
for '.lib' files (or possibly even '.dll' files) could be
added in but it is not there currently.
Exactly how you deal with that depends on what your situation:
1.if you
2011 Apr 20
1
build a wine lib
Hello community,
I'm still new on linux (ubuntu) and wine, but I want to build a winelib for a missing dll. I have create the lib-soruce file with winedump and want to comile those ones; but winegcc does not found the file #include "config.h".
Missing reference / package?
Regards, wesche
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
2004 Nov 09
0
How to : C++ DLLs
I remember seeing a message somewhere about C++ DLLs and wanting to
implement them in Winelib. Well here is an idea that I use in Windows that
works great:
Define your class in a common header (let's call it dll.hpp):
class DllClass {
public:
int somedata;
virtual void member(int arg);
};
Define the DLL source with two exports:
#include <dll.hpp>
extern "C"
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
2001 Aug 13
1
WineLib Linker Error?
I am doing some testing with WineLib and the 20010731 release
and am having some trouble with the final linkage. I have a
very simple test.cpp file and the following spec file:
name test
mode guiexe
type win32
import shell32.dll
import comdlg32.dll
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
and a hand crafted make file. When I run the make I get the
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 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:
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
2006 Feb 23
0
Re: Server Requirements
On 2/23/06, Gomez, Felix <Felix.Gomez@ocgov.com> wrote:
> Does Wine run on CentOS 4 (RHEL4) for IBM zSeries/s390?
Simple answer: no.
Long answer: if you have the sources for an application written in C or C++
for Windows, you may be able to recompile it for Linux for zSeries
using Winelib, although some extra work may be required
to finish porting winelib to zSeries; see
2009 Dec 26
3
Unable to compile wine on WinXP with Cygwin
Hi,
I'm trying to compile wine on XP with cygwin but make fails :
Code:
$ make
make[1]: Entering directory `/home/Alex/wine-git/tools'
make[1]: `makedep.exe' is up to date.
make[1]: Leaving directory `/home/Alex/wine-git/tools'
make[1]: Entering directory `/home/Alex/wine-git/libs'
make[2]: Entering directory `/home/Alex/wine-git/libs/port'
make[2]: Nothing to be done for
2001 Jul 09
1
winelib problems with .configure
I am attempting to use winemaker on a relatively straightforward
Windows App that we have. Just a little background, we started the
effort by first evaluating our application in Wine itself and obtained
very good results. Now, we're moving on to try and compile a version
for Linux by using Winelib and running into this problem. I ran
winemaker with this: winemaker --lower-all which finished
2012 Feb 04
1
winelib shared memory problem
Hi
I have two programs:
The first is a windows binary compiled in Visual C++ which acts like a Server.
The second program is a Client, which I compile from sources. Both are written in C++.
Server and client communicate using two IPC mechanisms: named pipe and shared memory. shared memory consists of a structure, e.g.:
Code:
struct GameData
Using mingw compiler Client compiles well. Then I