Subj : strange Errors when compiling To : borland.public.cpp.borlandcpp From : "peter" Date : Thu Nov 06 2003 08:52 am hi, i am compiling a program and with BCC32 and i am getting these 3 strange errors/warnings: MAKE Version 5.2 Copyright (c) 1987, 2000 Borland ilink32 /Tpe/ap/c/x/Gn c0x32 adjfile surscf,adjfile,, noeh32 import32 cw32 Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland Error: Unresolved external '__putenv' referenced from C:\SURS\PROGRAM\C\ADJFILEJ\ADJFILE.OBJ Error: Unresolved external 'JNI_CreateJavaVM' referenced from C:\SURS\PROGRAM\C\ADJFILEJ\ADJFILE.OBJ Warning: Public symbol '_Wd_Control_Rec' defined in both module C:\SURS\PROGRAM\C\ADJFILEJ\ADJFILE.OBJ and C:\SURS\PROGRAM\C\ADJFILEJ\SURSCF.OBJ ** error 2 ** deleting adjfile.exe the strangeness is that 1-it says _putenv is an unresolved external, but i have included the header file in my code, which is the library this function is contained in... 2-it says JNI_CreateJVM is an unresolved external as well, but that is in which i have also included in my code. plus, i just compiled a similar program and made a call to this function. this current program links to the same .lib, and includes the same .h file in its code, so what gives? 3-there is no '_Wd_Control_Rec' in my code, but there is a 'Wd_Control_Rec' struct that is defined in my .h file (one that i wrote myself) i appreciate any help. thanks .