Click here to Skip to main content
15,885,216 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Weird problem using C++ dll from vb6 Pin
MicroVirus24-Aug-11 17:41
MicroVirus24-Aug-11 17:41 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien25-Aug-11 1:31
lenourien25-Aug-11 1:31 
GeneralRe: Weird problem using C++ dll from vb6 Pin
MicroVirus25-Aug-11 3:25
MicroVirus25-Aug-11 3:25 
GeneralRe: Weird problem using C++ dll from vb6 Pin
lenourien25-Aug-11 12:39
lenourien25-Aug-11 12:39 
QuestionWTSSendMessage fails as RPC Server is unavailable Pin
Arun Parthasarathy22-Aug-11 1:24
Arun Parthasarathy22-Aug-11 1:24 
AnswerRe: WTSSendMessage fails as RPC Server is unavailable Pin
Tony Richards25-Aug-11 13:05
Tony Richards25-Aug-11 13:05 
QuestionConverting ADO data types into C++ data types Pin
Bahram198420-Aug-11 0:47
Bahram198420-Aug-11 0:47 
AnswerRe: Converting ADO data types into C++ data types Pin
John Schroedl22-Aug-11 3:28
professionalJohn Schroedl22-Aug-11 3:28 
Once you exectue the query, the count will be the data value in the first (only) row, first column of the resultant recordset. So, you will get the data value of the first field as a _variant_t.

Pseudocode:

// Assume you executed: select count(*) as mycount from table
pField = recordSet->Fields->GetItem(_variant_t("mycount"));

_varint_t val = pField->GetValue();
int count = val.iVal;

John
QuestionInheriting a template class Pin
Subin Mavunkal17-Aug-11 1:43
Subin Mavunkal17-Aug-11 1:43 
AnswerRe: Inheriting a template class Pin
George L. Jackson9-Sep-11 12:13
George L. Jackson9-Sep-11 12:13 
Questionc++ function name parameter problem Pin
ali_zdn14-Aug-11 3:11
ali_zdn14-Aug-11 3:11 
AnswerRe: c++ function name parameter problem Pin
Richard MacCutchan14-Aug-11 7:03
mveRichard MacCutchan14-Aug-11 7:03 
QuestionProject Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang5-Aug-11 11:16
Andraw Tang5-Aug-11 11:16 
AnswerRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan5-Aug-11 22:32
mveRichard MacCutchan5-Aug-11 22:32 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang8-Aug-11 4:37
Andraw Tang8-Aug-11 4:37 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan8-Aug-11 7:02
mveRichard MacCutchan8-Aug-11 7:02 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Andraw Tang8-Aug-11 7:18
Andraw Tang8-Aug-11 7:18 
GeneralRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Richard MacCutchan8-Aug-11 7:38
mveRichard MacCutchan8-Aug-11 7:38 
AnswerRe: Project Converted From VS2003 to VS2008, get exception when call dialog.doModal Pin
Arun Parthasarathy22-Aug-11 1:27
Arun Parthasarathy22-Aug-11 1:27 
Questionpin_ptr on value struct is needed? Pin
Dusan Paulovic3-Aug-11 6:51
Dusan Paulovic3-Aug-11 6:51 
QuestionHow to disable a Checkbox created using MFCRibbonCheckBox? Pin
MeghaJoshi1-Aug-11 18:20
MeghaJoshi1-Aug-11 18:20 
QuestionTCP packet sniffer Pin
itaybo24-Jul-11 19:26
itaybo24-Jul-11 19:26 
AnswerRe: TCP packet sniffer Pin
Richard MacCutchan24-Jul-11 21:15
mveRichard MacCutchan24-Jul-11 21:15 
AnswerRe: TCP packet sniffer Pin
Albert Holguin25-Jul-11 4:26
professionalAlbert Holguin25-Jul-11 4:26 
RantRe: TCP packet sniffer Pin
Richard MacCutchan25-Jul-11 5:59
mveRichard MacCutchan25-Jul-11 5:59 

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.