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

C / C++ / MFC

 
GeneralStack register/pointer problem Pin
ForNow21-Mar-08 11:25
ForNow21-Mar-08 11:25 
GeneralRe: Stack register/pointer problem Pin
Arman S.21-Mar-08 13:14
Arman S.21-Mar-08 13:14 
GeneralRe: Stack register/pointer problem Pin
ForNow22-Mar-08 14:35
ForNow22-Mar-08 14:35 
GeneralRe: Stack register/pointer problem Pin
Arman S.23-Mar-08 0:11
Arman S.23-Mar-08 0:11 
GeneralRe: Stack register/pointer problem Pin
ForNow23-Mar-08 2:08
ForNow23-Mar-08 2:08 
QuestionHow to reference tlb file in VC++ Pin
Jahnson K21-Mar-08 11:21
Jahnson K21-Mar-08 11:21 
AnswerRe: How to reference tlb file in VC++ Pin
Arman S.21-Mar-08 13:46
Arman S.21-Mar-08 13:46 
GeneralRe: How to reference tlb file in VC++ Pin
Jahnson K25-Mar-08 7:46
Jahnson K25-Mar-08 7:46 
Hi Arman,

Thanks for the sample code
I did import my tlb file with rename_namespace("MYNAMESPACE") option
I got following two compilation errors
1) error C2664: '_com_issue_errorex' : cannot convert parameter 2 from MYNAMESPACE::MYCLASS *const ' to 'IUnknown *'
2) error C2504: 'AnyObject' : base class undefined

I tried import using following command
#import "C:\temp\Mytlb.tlb" rename_namespace("MYNAMESPACE") raw_interface_only

The first compliation error went off but the second error
error C2504: 'AnyObject' : base class undefined
still exists.

When I see my tlh file my class is deriving from AnyObject base class.
I am not sure why it is deriving from AnyObject?
Is there any base class called "AnyObject" in C++? If yes what are the include files i need to include? Please help me.

Thanks in advance.

Regards
JK
GeneralRe: How to reference tlb file in VC++ Pin
Jahnson K27-Mar-08 13:02
Jahnson K27-Mar-08 13:02 
GeneralUsing resources with subclassed controls. Pin
Amaroqwlf21-Mar-08 8:22
Amaroqwlf21-Mar-08 8:22 
GeneralRe: Using resources with subclassed controls. Pin
Mark Salsbery21-Mar-08 8:41
Mark Salsbery21-Mar-08 8:41 
GeneralRe: Using resources with subclassed controls. Pin
led mike21-Mar-08 9:20
led mike21-Mar-08 9:20 
GeneralRe: Using resources with subclassed controls. Pin
Amaroqwlf21-Mar-08 9:57
Amaroqwlf21-Mar-08 9:57 
GeneralRe: Using resources with subclassed controls. Pin
Mark Salsbery21-Mar-08 10:50
Mark Salsbery21-Mar-08 10:50 
QuestionGetCurrentHwProfile Pin
Joseph Marzbani21-Mar-08 8:16
Joseph Marzbani21-Mar-08 8:16 
GeneralRe: GetCurrentHwProfile Pin
led mike21-Mar-08 8:51
led mike21-Mar-08 8:51 
GeneralRe: GetCurrentHwProfile Pin
David Crow21-Mar-08 10:09
David Crow21-Mar-08 10:09 
GeneralRe: GetCurrentHwProfile Pin
Arman S.21-Mar-08 13:52
Arman S.21-Mar-08 13:52 
Questiontaylor formula Pin
me_10121-Mar-08 8:05
me_10121-Mar-08 8:05 
GeneralGet back in the Soapbox Kyle! Pin
led mike21-Mar-08 8:45
led mike21-Mar-08 8:45 
GeneralRe: taylor formula Pin
malaugh21-Mar-08 9:04
malaugh21-Mar-08 9:04 
QuestionRe: taylor formula Pin
CPallini21-Mar-08 10:40
mveCPallini21-Mar-08 10:40 
GeneralOpening terminal windows from command line app Pin
malaugh21-Mar-08 7:16
malaugh21-Mar-08 7:16 
AnswerRe: Opening terminal windows from command line app Pin
Rajkumar R21-Mar-08 9:22
Rajkumar R21-Mar-08 9:22 
GeneralRe: Opening terminal windows from command line app Pin
malaugh21-Mar-08 10:24
malaugh21-Mar-08 10:24 

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.