Question: creating DLL with cygwin

Dear all: Inside maple, I want to call C program which is compiled using cygwin & gcc. I did a very easy one for testing. int _stdcall add( int num1, int num2 ) { return num1+num2; } and then gcc -o add.c && gcc -shared -o add.dll add.o However, this doesn't work. Maple continue to load the DLL forever...... Does anyone know the reason? I did it with Visual C++ with VC specific options and it works just fine. Thanks, Peter
Please Wait...