Re: using a dll created by cygwin in msvc++

2003-08-01 Thread Jérôme DESPATIS
re Thank you, in fact, i want to compile a qt program under win using a dll i've created with cygwin so with cygwin i get a cygfoo-0.dll and a libfoo.a so with my qt program under win, i do: qmake -f Makefile foo1.pro I edit Makefile to add to LIBS: (foo needs ssl, crypto and z) "libcygwin.a" "

Re: using a dll created by cygwin in msvc++

2003-07-31 Thread Larry Hall
Jérôme DESPATIS wrote: Re So you say Larry that i need an import library (foo.lib) to link against in msvc++. I think so also. My problem is now to create this .lib. Indeed, in the bottom of the link http://cygwin.com/cygwin-ug-net/dll.html, it's explained to create a .def file and .a file, but n

Re: using a dll created by cygwin in msvc++

2003-07-31 Thread Jérôme DESPATIS
Re So you say Larry that i need an import library (foo.lib) to link against in msvc++. I think so also. My problem is now to create this .lib. Indeed, in the bottom of the link http://cygwin.com/cygwin-ug-net/dll.html, it's explained to create a .def file and .a file, but not a .lib file that i n

Re: using a dll created by cygwin in msvc++

2003-07-31 Thread Larry Hall
Jérôme DESPATIS wrote: i've created a .dll with cygwin i'd like now to create a simple program under msvc++ that use functions of this dll when i compile my very simple program, i get those errors at link step: unresolved external symbol _foo where foo is a function of my dll so how can i use thi

using a dll created by cygwin in msvc++

2003-07-31 Thread Jérôme DESPATIS
i've created a .dll with cygwin i'd like now to create a simple program under msvc++ that use functions of this dll when i compile my very simple program, i get those errors at link step: unresolved external symbol _foo where foo is a function of my dll so how can i use this dll in my program ?