S
szydel
Hi,
I need to use existing dll file, I've got mylib.dll, mylib.lib,
mylib.h files. All files are in the same directory, theres is #include
<mylib.h> directive in cpp file.
comilation:
g++ -c main.cpp
g++ -o main.exe -L . -lmylib main.o
all i get is undifined referene
There is an example runnig it in VC++ 6 but i dont have it(VC++6). I'm
trying to run in in DEV-C++. Is dev so much diffrent that its
impossible to do it.
thanks for replay.
I need to use existing dll file, I've got mylib.dll, mylib.lib,
mylib.h files. All files are in the same directory, theres is #include
<mylib.h> directive in cpp file.
comilation:
g++ -c main.cpp
g++ -o main.exe -L . -lmylib main.o
all i get is undifined referene
There is an example runnig it in VC++ 6 but i dont have it(VC++6). I'm
trying to run in in DEV-C++. Is dev so much diffrent that its
impossible to do it.
thanks for replay.