Hi Elfyn,
It compiled! Thanks. =) But now I'm trying to
build the .lib and main program in DOS, and DOS isn't
finding the function. My command line is:
cl add.cpp function.lib
Do you know why it's not working? Thanks again!
~Julie
--- Elfyn McBratney <[EMAIL PROTECTED]> wrote:
> On Mon,
On Mon, 9 Jun 2003, JS wrote:
> These are the commands I used to create the .lib and
> exports.o files:
>
> gcc -c function.c
> dlltool -e exports.o -l function.lib function.o
> gcc function.o exports.o -o function.dll
^^
You need to add the `-shared' flag after invocation o
2 matches
Mail list logo