Re: DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
"Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I think I'm making marvelous progress. Unfortunately, I'm getting an > > error that doesn't make sense: > > > > $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o > > other.dll -Wl,--out-implib,libdllhello.a -Wl

DLL calling a DLL: undefined reference when linking.

2003-02-22 Thread Wil Hunt
Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhello.o(.text+0x164

Generating C/C++ headers from DLL or pascal information

2003-02-22 Thread Wil Hunt
I need to link against a DLL created using Borland's Delphi pascall product. I have been provided the DLL and the pascal signatures, but I'm not sure how to translate pascal signatures into C/C++. I have used impdef/dlltool to generate a library file for the DLL against which I can link, however I

Re: Creating DLLs with Cygwin/g++

2003-02-22 Thread Wil Hunt
That was wonderful, thank you! Now on to my next issues... ;) Wil "Elfyn McBratney" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hey all, > > > > I'm rather new to DLL programming and my C++ days are five years > behind > > me. So please bear with me. :) > > > > I'd l

Creating DLLs with Cygwin/g++

2003-02-22 Thread Wil Hunt
Hey all, I'm rather new to DLL programming and my C++ days are five years behind me. So please bear with me. :) I'd like to write a C++ program that will link as a DLL to be loaded as a plugin in another application. I've broken the learning process down as follows: 1) Make and compile

Cannot Undock XP Laptop

2002-03-20 Thread Wil Hunt
Howdy... I've installed cygwin (with all current packages, actually) and now my XP laptop will not undock. The error is that a process in still using the COM port, so I presume that there is some process monitoring the COM port for hard-line telnet sessions or something. Does anyone know wh