On 2/8/2010 12:50 AM, Martin Henne wrote:
But I need to compile the DLL on cygwin and the rest on MinGW, and this does
not work. The reason is, that I need a dll that uses the cygwin-posix-layer.
What can I do?
Why should it work? If your .exe needs cygwin dll, don't build any
part of it
Hello,
I try to produce a DLL on cygwin, that can be linked against a MinGW compiled
program. To test with a simple example I tried the following code:
// dllfunc.h
extern "C" {
extern void sayhello();
extern int sumint(int a, int b);
}
// dllfunc.cpp
#include
extern "C" {
void sayhello(
2 matches
Mail list logo