Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Name that API: Found it!! Pin
Ryan Binns1-Mar-05 20:06
Ryan Binns1-Mar-05 20:06 
GeneralRe: Name that API: Found it!! Pin
Michael Dunn2-Mar-05 12:13
sitebuilderMichael Dunn2-Mar-05 12:13 
Generalobtaining fixed disk size Pin
tlowell1-Mar-05 10:41
tlowell1-Mar-05 10:41 
General2 dimmensional dynamic array of pointers Pin
Liborac_1-Mar-05 10:13
Liborac_1-Mar-05 10:13 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Chris Losinger1-Mar-05 11:40
professionalChris Losinger1-Mar-05 11:40 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Anonymous1-Mar-05 12:05
Anonymous1-Mar-05 12:05 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Alton Williams1-Mar-05 12:49
Alton Williams1-Mar-05 12:49 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Rick York1-Mar-05 13:35
mveRick York1-Mar-05 13:35 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Liborac_1-Mar-05 19:52
Liborac_1-Mar-05 19:52 
GeneralRe: 2 dimmensional dynamic array of pointers Pin
Axter26-Apr-05 18:14
professionalAxter26-Apr-05 18:14 
Generaldrawing a tic tac toe grid MFC Pin
crxtreme271-Mar-05 10:08
crxtreme271-Mar-05 10:08 
GeneralRe: drawing a tic tac toe grid MFC Pin
Maximilien1-Mar-05 10:33
Maximilien1-Mar-05 10:33 
GeneralRe: drawing a tic tac toe grid MFC Pin
r1ryder1-Mar-05 11:50
r1ryder1-Mar-05 11:50 
GeneralRe: drawing a tic tac toe grid MFC Pin
Christian Graus1-Mar-05 12:06
protectorChristian Graus1-Mar-05 12:06 
Generalms word 2000 Pin
rjnl1-Mar-05 8:18
rjnl1-Mar-05 8:18 
GeneralRe: ms word 2000 Pin
rjnl1-Mar-05 15:37
rjnl1-Mar-05 15:37 
GeneralI need to append to this string Pin
Tom Wright1-Mar-05 8:07
Tom Wright1-Mar-05 8:07 
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 8:57
peterchen1-Mar-05 8:57 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 11:10
Tom Wright1-Mar-05 11:10 
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 11:37
peterchen1-Mar-05 11:37 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 12:07
Tom Wright1-Mar-05 12:07 
the column is a text. I read it like this:
<br />
	try<br />
	{<br />
		pCommand.CreateInstance(__uuidof(Command));<br />
		pCommand->ActiveConnection = m_pConnection;<br />
		pCommand->CommandText = _bstr_t("SELECT TOP 1 MDC1_DATA_TEXT FROM MDC1 WHERE (MDC1_I_O = 'O')");<br />
		pRecordset.CreateInstance(__uuidof(Recordset));<br />
		pRecordset->CursorLocation = adUseClient;<br />
		pRecordset->Open((IDispatch*) pCommand, <br />
			vtMissing,<br />
			adOpenStatic,<br />
			adLockBatchOptimistic,<br />
			adCmdUnknown);<br />
		_variant_t MDC1_DATA_TEXT;<br />
<br />
		while (!pRecordset->adoEOF)<br />
		{<br />
			CString mySQLData = (char*)(_bstr_t)pRecordset->Fields->GetItem("MDC1_DATA_TEXT")->Value;<br />



Tom Wright
tawright915@yahoo.com
GeneralRe: I need to append to this string Pin
peterchen1-Mar-05 18:37
peterchen1-Mar-05 18:37 
GeneralRe: I need to append to this string Pin
Tom Wright1-Mar-05 12:08
Tom Wright1-Mar-05 12:08 
GeneralCustom icon for an app Pin
Alton Williams1-Mar-05 7:07
Alton Williams1-Mar-05 7:07 
GeneralRe: Custom icon for an app Pin
Blake Miller1-Mar-05 7:19
Blake Miller1-Mar-05 7:19 

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.