- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi frens,
i am developin an application in java which requires me to use some of the apis which r developed in c.
Now while i complile the c file for usin in java it gets compiled.It also gets executed if i use a main in the program.
But when i try creatin dll for the same program without the main giving the Cl/LD filename.c in the pre compile options of the Microsoft Visual C++ editor it gives me the Lnk2001 Error sayin
IstTest1.obj : error LNK2001: unresolved external symbol _ETUnLink
IstTest1.obj : error LNK2001: unresolved external symbol _ETSocketLink
N so on.
The above functions r declared ina header et1000.h which i have already included in my program.
Also i have included all the other necessory files.
I have also included the necessary lib file n linked it by puttin it in the object/options of the project /settings options of the Microsoft Editor.
Pls tell me wht could b wrong.
Its very urgent.
I really dont understand while executing the same program with main it gets executes fine by includin the header files.
But when i remove the main for makin the dll to b used in the java program it gives me the LNK error.
PLs help....
I'm stucked
i am developin an application in java which requires me to use some of the apis which r developed in c.
Now while i complile the c file for usin in java it gets compiled.It also gets executed if i use a main in the program.
But when i try creatin dll for the same program without the main giving the Cl/LD filename.c in the pre compile options of the Microsoft Visual C++ editor it gives me the Lnk2001 Error sayin
IstTest1.obj : error LNK2001: unresolved external symbol _ETUnLink
IstTest1.obj : error LNK2001: unresolved external symbol _ETSocketLink
N so on.
The above functions r declared ina header et1000.h which i have already included in my program.
Also i have included all the other necessory files.
I have also included the necessary lib file n linked it by puttin it in the object/options of the project /settings options of the Microsoft Editor.
Pls tell me wht could b wrong.
Its very urgent.
I really dont understand while executing the same program with main it gets executes fine by includin the header files.
But when i remove the main for makin the dll to b used in the java program it gives me the LNK error.
PLs help....
I'm stucked
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This forum is for users of, and questions relating to, Intel Fortran for Windows and Compaq Visual Fortran. I don't see that you're using either of these products - are you?
Steve
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page