How to Compile DLL?
843829Dec 25 2002 — edited Dec 26 2002Dear friend,
I tried very hard (couple of days) to create a dll file, which contains 2 C++ file and 2 header file and 2 external thirty-party libraries (*.lib).
When I used the following command to generate *.dll file, some errors happened.
[COMMAND]
cl -Ic:\jdk1.3\include -Id:\jdk1.3\include\win32 -Id:\project\include -Gz -LD main.c exception.c book.lib order.lib /Femain.dll
[After execute the command, the ERRORs]
Creating library main.lib and object main.exp
main.obj : error LNK2001: unresolved external symbol _getFileType@0
........
A bunch of error LNK2001.
Any one has some experience and can give me a hand?
Very Appreciated in advance!!!