Re: How to deal with C++ APIs in wine spec file

2004-10-06 Thread Jia L Wu
Hello, Actually I have the source code for the dll. Because a lot of classes in that dll are implemented in inline assembly for VC compiler and inline assembly sytax difference between vc and gcc, i thought the simple way is to use wine (winelib) and just call class methods of the dll when they ar

Re: How to deal with C++ APIs in wine spec file

2004-10-01 Thread Jon Griffiths
Hi, > I think the original poster wanted to use a closed-source > third-party DLL > written in C++ and compiled with MSVC. AFAIK none of your > suggestions address that case. If source for the dll isn't available then the only option i can think of is as follows: WARNING: Untested, but should w

Re: How to deal with C++ APIs in wine spec file

2004-10-01 Thread Jon Griffiths
Hi, > how can I call a class constructor (which is built form > another class) in spec file? Can anyone provide me an example? This is possible, although it is not immediately obvious. Here is the solution I use (I will document this one day but I'm very busy ATM): Scenario 1: App uses C++ dll,

Re: How to deal with C++ APIs in wine spec file

2004-10-01 Thread Dan Kegel
Jon Griffiths wrote: I have to write a spec file so that a winelib application can use a third party dll. The problem is that APIs in third party dll are written in C++. As c++ names and parameters are mangled, how can i call them in spec file? how can I call a class constructor (which is built for

How to deal with C++ APIs in wine spec file

2004-09-30 Thread Dan Kegel
Jia L Wu ([EMAIL PROTECTED]) wrote: I have to write a spec file so that a winelib application can use a third party dll. The problem is that APIs in third party dll are written in C++. As c++ names and parameters are mangled, how can i call them in spec file? For example, how can I call a class con

How to deal with C++ APIs in wine spec file

2004-09-29 Thread Jia L Wu
Hi, I have to write a spec file so that a winelib application can use a third party dll. The problem is that APIs in third party dll are written in C++. As c++ names and parameters are mangled, how can i call them in spec file? For example, how can I call a class constructor (which is built form an