JNI - make dll (fatal error LNK1181)
I make a simple jni program ( it just print "Hello World" )
but, when I compile this program I got a LINK error
D:\JavaProjects\HW>cl -I c:\java\jdk1.3.1_01\include -I c:\java\jdk1.3.1_01\incl
ude\win32 -I c:\java\jdk1.3.1_01\cinclude -LD helloworldimp.c -Fe hello.dll
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
Command line warning D4024 : unrecognized source file type 'hello.dll', object f
ile assumed
helloworldimp.c
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
/dll
/implib:helloworldimp.lib
/out:helloworldimp.dll
helloworldimp.obj
hello.dll
LINK : fatal error LNK1181: cannot open input file "hello.dll"
anyone knows this error? then, plz help me
thanx

