Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Lea Allocator.... Pin
User 988521-Apr-03 5:58
User 988521-Apr-03 5:58 
GeneralRe: Lea Allocator.... Pin
User 988521-Apr-03 5:57
User 988521-Apr-03 5:57 
QuestionShare memory problem? Pin
chen21-Apr-03 5:33
chen21-Apr-03 5:33 
AnswerRe: Share memory problem? Pin
John M. Drescher21-Apr-03 8:02
John M. Drescher21-Apr-03 8:02 
AnswerRe: Share memory problem? Pin
User 988521-Apr-03 9:36
User 988521-Apr-03 9:36 
QuestionHow to enumurate the shell folders like the explorer.exe? Pin
zmnie21-Apr-03 5:03
zmnie21-Apr-03 5:03 
Generaleasy question about RecordSet Pin
Martin_Viet21-Apr-03 4:33
Martin_Viet21-Apr-03 4:33 
GeneralRe: easy question about RecordSet Pin
dabs21-Apr-03 4:56
dabs21-Apr-03 4:56 
You have to check it explicitly. Probably best to wrap this in a function:
CString VariantToString( const _variant_t& var )
{
	if ( var.vt == VT_EMPTY || var.vt == VT_NULL )
	{
		return CString( );
	}
	else
	{
		_bstr_t bstrVar( var );
		CString strVar( (LPCWSTR)bstrVar );
		return strVar;
	}
}

and then use it like this:
CString x = VariantToString( pRs_SP->Fields->Item["id_symposium"]->Value );




Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
GeneralThanx you very much!!!!!! (;)) Pin
Martin_Viet21-Apr-03 5:10
Martin_Viet21-Apr-03 5:10 
GeneralEfficient method to convert decimal string to hex string and vice versa. Pin
George221-Apr-03 4:18
George221-Apr-03 4:18 
GeneralRe: Efficient method to convert decimal string to hex string and vice versa. Pin
David Crow21-Apr-03 8:13
David Crow21-Apr-03 8:13 
GeneralRe: Efficient method to convert decimal string to hex string and vice versa. Pin
George221-Apr-03 16:26
George221-Apr-03 16:26 
GeneralRe: Efficient method to convert decimal string to hex string and vice versa. Pin
George221-Apr-03 17:05
George221-Apr-03 17:05 
GeneralRe: Efficient method to convert decimal string to hex string and vice versa. Pin
David Crow22-Apr-03 2:26
David Crow22-Apr-03 2:26 
GeneralRe: Efficient method to convert decimal string to hex string and vice versa. Pin
George222-Apr-03 19:41
George222-Apr-03 19:41 
GeneralUsing VS.NET help with VS 6.0 Pin
dabs21-Apr-03 4:11
dabs21-Apr-03 4:11 
GeneralIE: Check if GoBack and GoForward is possible Pin
Dominik Reichl21-Apr-03 4:11
Dominik Reichl21-Apr-03 4:11 
GeneralRe: IE: Check if GoBack and GoForward is possible Pin
dabs21-Apr-03 4:47
dabs21-Apr-03 4:47 
GeneralRe: IE: Check if GoBack and GoForward is possible Pin
Dominik Reichl21-Apr-03 5:08
Dominik Reichl21-Apr-03 5:08 
GeneralRe: IE: Check if GoBack and GoForward is possible Pin
dabs21-Apr-03 5:38
dabs21-Apr-03 5:38 
GeneralRe: IE: Check if GoBack and GoForward is possible Pin
Dominik Reichl21-Apr-03 6:18
Dominik Reichl21-Apr-03 6:18 
GeneralGDI+, MFC and Print Preview Pin
bensabat21-Apr-03 3:49
bensabat21-Apr-03 3:49 
GeneralFew questions. Pin
Anonymous21-Apr-03 2:38
Anonymous21-Apr-03 2:38 
GeneralRe: Few questions. Pin
User 665821-Apr-03 4:25
User 665821-Apr-03 4:25 
GeneralCString Vs std::string Pin
John-theKing21-Apr-03 2:31
John-theKing21-Apr-03 2:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.