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

C / C++ / MFC

 
GeneralRe: Running multiple exe's in same window Pin
2249171-Jul-05 22:38
2249171-Jul-05 22:38 
GeneralRe: Running multiple exe's in same window Pin
Bill Chan2-Jul-05 15:36
Bill Chan2-Jul-05 15:36 
GeneralWrong behavior of __int64 Pin
Kristian Kratzenstein1-Jul-05 10:49
Kristian Kratzenstein1-Jul-05 10:49 
GeneralRe: Wrong behavior of __int64 Pin
PJ Arends1-Jul-05 15:49
professionalPJ Arends1-Jul-05 15:49 
GeneralRe: Wrong behavior of __int64 Pin
evilhehe1-Jul-05 15:59
evilhehe1-Jul-05 15:59 
GeneralRe: Wrong behavior of __int64 [ edited ] Pin
PJ Arends1-Jul-05 16:14
professionalPJ Arends1-Jul-05 16:14 
GeneralRe: Wrong behavior of __int64 [ edited ] Pin
Kristian Kratzenstein1-Jul-05 19:23
Kristian Kratzenstein1-Jul-05 19:23 
GeneralAccessing VB Com collection Item Pin
hulinning1-Jul-05 8:47
hulinning1-Jul-05 8:47 
Hi all,
I try to access to VB com collection Item method but I got a bad type error.
I import VB COM library into vc++ application. From the smart pointer of the collection, the function requests a VARIANT* data type. I create a variant variable as assigned 1 to it to get first item in the collection.

Here is my code:
_clsMacManPtr Mac ;
if ( Mac->ReadDailyMachiningReport (bstrFilePath) != 0 )
{
Reports = Mac->GetDailyMachiningReport () ;

if ( Reports->Count > 0 )
{
vValue.iVal = 1 ;


Report = Reports->GetItem(&vValue ) ; // failed here

bstrValue = Report->NoWork ;

}
}

I appreciate for any comments
GeneralRe: Accessing VB Com collection Item Pin
Jose Lamas Rios1-Jul-05 9:15
Jose Lamas Rios1-Jul-05 9:15 
GeneralRe: Accessing VB Com collection Item Pin
Anonymous5-Jul-05 15:39
Anonymous5-Jul-05 15:39 
GeneralRe: Accessing VB Com collection Item Pin
Anonymous5-Jul-05 15:39
Anonymous5-Jul-05 15:39 
GeneralRe: Accessing VB Com collection Item Pin
Jose Lamas Rios5-Jul-05 17:06
Jose Lamas Rios5-Jul-05 17:06 
GeneralRe: Accessing VB Com collection Item Pin
hulinning10-Jul-05 5:00
hulinning10-Jul-05 5:00 
QuestionHow to use CScrollBar from a template? Pin
IlanTal1-Jul-05 8:47
IlanTal1-Jul-05 8:47 
AnswerRe: How to use CScrollBar from a template? Pin
Cedric Moonen1-Jul-05 9:20
Cedric Moonen1-Jul-05 9:20 
GeneralRe: How to use CScrollBar from a template? Pin
IlanTal2-Jul-05 19:12
IlanTal2-Jul-05 19:12 
AnswerRe: How to use CScrollBar from a template? Pin
Jose Lamas Rios1-Jul-05 9:23
Jose Lamas Rios1-Jul-05 9:23 
Generalclipping child windows Pin
nt231-Jul-05 7:29
nt231-Jul-05 7:29 
GeneralRe: clipping child windows Pin
John R. Shaw2-Jul-05 19:05
John R. Shaw2-Jul-05 19:05 
Generaltheme Pin
Lampros Giampouras1-Jul-05 6:34
Lampros Giampouras1-Jul-05 6:34 
GeneralRe: theme Pin
Alexander M.,1-Jul-05 6:57
Alexander M.,1-Jul-05 6:57 
GeneralRe: theme Pin
Lampros Giampouras1-Jul-05 9:21
Lampros Giampouras1-Jul-05 9:21 
GeneralRe: theme Pin
Alexander M.,1-Jul-05 10:56
Alexander M.,1-Jul-05 10:56 
GeneralRe: theme Pin
badal_akr4-Jul-05 22:07
badal_akr4-Jul-05 22:07 
QuestionHow can I handle message of a class that drived from COleControl? Pin
Behzad Ebrahimi1-Jul-05 6:30
Behzad Ebrahimi1-Jul-05 6:30 

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.