For this bit of code:

if ( dbCameraPositionX ( 1 ) == dbObjectPositionX ( 3 ) && 
			 dbCameraPositionY ( 1 ) == dbObjectPositionY ( 3 ) &&
			 dbCameraPositionZ ( 1 ) == dbObjectPositionZ ( 3 ) )// the 3 is the ID number for the object, which DarkGDK requires.
		{
			float x = dbCameraPositionX ( 1 );
			float y = dbCameraPositionY ( 1 );
			float z = dbCameraPositionZ ( 1 ); //the 1 is the ID number for the camera.

			dbObjectPositionX = x;
			dbObjectPositionY = y;
			dbObjectPositionZ = z;
		}

i get this error:

error C2659: '=' : function as left operand

I am using VC++ and have Windows XP Pro
as you can see, the function is on the right side of the '=' so i dont know what it is complaining about. And i searched the intellisense database to see if it was a function but that was a no and i also put a bracket infront of it to see if if would tell me what paramaters to put into it if it was a function but that was a no also :(

any help would be appreciated, thanks in advance! :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.