[VSDK Macho/PB] makeing cursor update prblm.

Totte Alm totte at code66.se
Thu Jan 23 19:46:22 CST 2003


Hello Ruslan,

mY brain just doesnr work today and I get this errors on the lines  
below.

SIS-Common/SisDB/SisDB.cpp: In member function `void  
SisCompany::SetTotalShares()':
SIS-Common/SisDB/SisDB.cpp:485: warning: invalid conversion from  
`UInt64' to `VDK_ULLong*'
SIS-Common/SisDB/SisDB.cpp:486: cannot convert `double' to  
`VDK_Double*' in assignment

		// Update using cursor
		VDK_ULLong* ufld = mc->GetULLongField(3);
		VDK_Double* dfld = mc->GetDoubleField(4);
		ufld = (UInt64) holdershares; // have tried ufld =holdershares;
		dfld = (double) holdervotes; // have tried dfld = holdervotes;
		mc->Update();

Shouldnt the overloaded = take care of this, or is it me or gcc that  
needs some sleep.

// Totte (or maybe I'm turning military today ;-))

------------------------------------------------------------------------ 
---------------------
Intelligence is meassured in tary; decitary, centitary and military.


More information about the Valentina mailing list