similar to: directions for porting my own code using 3rd party dll

Displaying 20 results from an estimated 10000 matches similar to: "directions for porting my own code using 3rd party dll"

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
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
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
2009 Dec 14
2
FlexBuilder plugin (JAVA) with native windows dll calling
Hi, I'm developping an Adobe FlexBuilder plugin (it's an Eclipse plugin). This plugin is written in Java. But it use windows dlls that was created for some features of the plugin. And I try to port my plugin on MacOSX. I've one question about wine : - In java I use System.LoadLibrary to load my dlls, does Wine can help me for loading theses dlls under MacOSX? Does wine can map these
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 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()
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
2008 Jul 03
1
windows program compiled using wineg++ looks for wine binary
Hi ! I have compiled a sample Windows VC++ win 32 based HelloWorld application using the winelib. I used wineg++ to compile the application in Linux. When I try to execute the application it looks for wine. When I set the path to the wine /bin directory the application works properly. Is it possible that after compiling using wineg++ the program will run in any platform even if wine is not
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
2010 Jul 29
2
Include Wine in my project and using WinGDI under Linux.
Hy guys, I make my application for Windows/Linux/Mac and I have problem with next using: I'm include in my project next headers: #ifndef WNT #include </tmp/include/windef.h> #include </tmp/include/winbase.h> #include </tmp/include/wingdi.h> #include </tmp/include/winuser.h> #include </tmp/include/winerror.h> #endif And It's cool working with libEMF.so, but
2002 Aug 14
2
Linux C++ program using 3rd-party DLL?
Hi, I'm working with a spectrometer at an research institute but they only have windows 16-bit dll to control the sprectrometer. The dll is documented. My question is: Can I write a linux c++ program that uses this dll with wine? On the wine webpage it says "Optional use of external vendor DLLs" but how do I do it? On a first glance I have also not found any hints on that in
2001 Jun 28
3
Porting with Winelib
Hi, I am looking into good way to port Windows applications to Linux and hopefully any other Unixes. I'd like to know about questions below. If anyone answer them, I'd appreciate it. 1. Can I use Winelib to port commercial application whose sources will be not disclosed ? 2. Is it possible to link Winelib statically with an application and distribute it ? 3. In case that I
2009 Mar 26
1
Questions on winelib
Hi. I'm currently starting the process of porting a windows based gaming engine (uses the windows API),to linux. I have winelib (winemaker?) and have read through it's documentation but am still unsure what it's really for. Is it possable to use winelib to assist me in porting this engine from windows to linux,is that what it's for? If so,do I have to provide all nessesary
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'
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
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 Mar 02
1
Error while compiling code using wineg++ / winegcc
Hi!! I am not able to compile a test program on solaris using winegcc tool. Can anybody help? Here's the program source code: // file test.cpp #include <stdio.h> #include <windows.h> int main () { SYSTEMTIME lpSystemTime; GetSystemTime(&lpSystemTime); printf("Today is: %d/%d/%d\n", lpSystemTime.wYear,
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
2001 Jul 06
2
winelib and compiling MFC
Hi, The company I work for, has asked me to use winelib to port some code, however I have a problem compiling the MFC. I run winemaker 0.5.7 with options: 'winemaker --lower-uppercase -nomfc --dll ./ > \ winemaker_output.txt' No errors in file or stderror; further winemaker accesses the correct directories. But when I run ./configure as: './configure --with-wine=/usr/bin \
2007 Mar 19
1
Winemaker - Visual Studio 6.0 package
I am trying to get a rather large C++ program written in visual studio 6.0 to work on a linux system. I have installed the wine libraries and it runs just fine using: wine <executable name> However, I would like to be able to compile the program using winemaker on my linux box. Winemaker runs smoothly. However, the makefile generated by Winemaker in the root directory has all kinds of