Click here to Skip to main content
15,909,039 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: How to manipulate CEdit in CAxDialogImpl Pin
Michael Dunn9-Nov-06 7:15
sitebuilderMichael Dunn9-Nov-06 7:15 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly9-Nov-06 18:20
georgekjolly9-Nov-06 18:20 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
Michael Dunn9-Nov-06 23:00
sitebuilderMichael Dunn9-Nov-06 23:00 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly12-Nov-06 17:15
georgekjolly12-Nov-06 17:15 
AnswerRe: How to manipulate CEdit in CAxDialogImpl Pin
wangweixing20089-Nov-06 23:21
wangweixing20089-Nov-06 23:21 
GeneralRe: How to manipulate CEdit in CAxDialogImpl Pin
georgekjolly12-Nov-06 17:14
georgekjolly12-Nov-06 17:14 
QuestionHow to use two recent file lists in a SDI project Pin
jingli04178-Nov-06 21:49
jingli04178-Nov-06 21:49 
QuestionUsing Interface type from the imported TLB (Attributed COM) Pin
arun14057-Nov-06 23:57
arun14057-Nov-06 23:57 
I am writing a attributed COM component in Visual Studio .NET 2003 (VC++ 7.1). For reusing the types defined in some other TLB, I want to import this TLB that I do by inserting the following line in stdafx.h.

[ importlib("test.tlb") ];

This 'importlib' attribute places this line in the library block of the IDL file. However, now if some of the interface methods in my COM component want to return an interface defined in test.tlb, it gives me IDL compilation error.

Perhaps, it is probably since the automatic IDL generation by the compiler puts all the interface declarations of my component outside the library block, and the importlib attribute generates the importlib line inside the library block... and, so the interface declarations of my component are not able to recognize the interface types defined in the imported type library.

Can anyone suggest me if I am importing the library in a wrong way, or if there is any other solution to it ?

Thanks & Regards,
Arun
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
Michael Dunn8-Nov-06 14:07
sitebuilderMichael Dunn8-Nov-06 14:07 
AnswerRe: Using Interface type from the imported TLB (Attributed COM) Pin
wangweixing20089-Nov-06 23:33
wangweixing20089-Nov-06 23:33 
QuestionLoading Icon on buttons created using TBBUTTON Pin
georgekjolly1-Nov-06 2:40
georgekjolly1-Nov-06 2:40 
AnswerRe: Loading Icon on buttons created using TBBUTTON Pin
led mike1-Nov-06 5:16
led mike1-Nov-06 5:16 
QuestionInsert data in ms access by oledb connection Pin
With_problem31-Oct-06 15:04
With_problem31-Oct-06 15:04 
QuestionHow to provide tooltip for toolbar on ATL control? Pin
Amar Sutar31-Oct-06 2:04
Amar Sutar31-Oct-06 2:04 
Questionregistering a plugin Pin
saqib8230-Oct-06 1:57
saqib8230-Oct-06 1:57 
AnswerRe: registering a plugin Pin
dharani7-Nov-06 21:57
dharani7-Nov-06 21:57 
GeneralRe: registering a plugin Pin
saqib827-Nov-06 22:24
saqib827-Nov-06 22:24 
QuestionCoCreateInstance problem Pin
hybride27-Oct-06 1:05
hybride27-Oct-06 1:05 
AnswerRe: CoCreateInstance problem [modified] Pin
Jonathan [Darka]27-Oct-06 4:40
professionalJonathan [Darka]27-Oct-06 4:40 
QuestionMemory of the COM objects get allocated? Pin
Killer326-Oct-06 19:19
Killer326-Oct-06 19:19 
AnswerRe: Memory of the COM objects get allocated? Pin
Gupta Suraj14-Nov-06 8:19
Gupta Suraj14-Nov-06 8:19 
QuestionHow to mashal IElementBehaviorFactory interface? Pin
jinhaibo26-Oct-06 0:02
jinhaibo26-Oct-06 0:02 
Questionhelp in coding for database Pin
With_problem24-Oct-06 17:45
With_problem24-Oct-06 17:45 
AnswerRe: help in coding for database Pin
led mike25-Oct-06 12:30
led mike25-Oct-06 12:30 
QuestionConversion to and from TCHAR* Pin
rana7423-Oct-06 20:19
rana7423-Oct-06 20: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.