[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference varese::basestar_open

Title:BASEstar Open Multiplatform Application Framework
Notice:Kit pointers: see topic 3
Moderator:VARESE::CORBETTA
Created:Tue Oct 02 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:607
Total number of notes:1971

600.0. "Using B* API routines from Visual C++ 4.0" by METZFI::SIGNORINI (Mangez des pommes !) Mon May 05 1997 19:23

	Hi,

		I have installed BASEstar Open V3.1 on a ALPHA running 
	Window's NT 3.51. Now, i would like to generate C programs using 
	the BASestar Open API. I am using the MicroSoft Visual C++ 4.0 
	Developer Studio environment to build these programs.

	I have just made up a little program which have to read a data point.
	This program uses the following APIs : 
	bstr_initialize, 
	bstr_reference_set, 
	bstr_data_point_get_value,
	bstr_reference_unset,
	bstr_finish.
	But when i build it, i get the following message for each API routines :
	error LNK2001: unresolved external symbol bstr_...

	Just before the BUILD command, i have initialized the directory path
	to the library files with D:\BSTRO31S\BSTR\LIB

	I think it's probably wrong or it's not enough.

	If someone could help me or give me the location of a Window's NT
	developping guide, it would be very appreciate.
	
	Best regards

	Laurent Signorini 
	
	 
T.RTitleUserPersonal
Name
DateLines
600.1Using B* API routines from Visual C++ 4.0VARESE::CASTIGLIONITue May 06 1997 10:0913
	Hi Laurent,
		before going more deeply into your problem, could you please
	check that the reference to the bstr.lib file has been properly set.
	You should look into your developer studio in Build->Setting->Link
	->Object/library modules. Since you have set the library path, you 
	must have there specified the bstr.lib file name.

	Btw, note that B*Open for NT has been built using Visual C++ 4.2
	which is a more stable version of VC++ than V4.0. 
	

	Regards
	-Maurizio Castiglioni
600.2Using B* API from Visual C++ 4.0METZFI::SIGNORINIMangez des pommes !Tue May 06 1997 19:4310
	Thank you Maurizio,

	My reference to the bstr.lib file was not correct.
	Now my program works fine.

	Regards

	Laurent SIGNORINI