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

C / C++ / MFC

 
GeneralRe: threads and owning classes Pin
Ravi Bhavnani28-Mar-04 8:12
professionalRavi Bhavnani28-Mar-04 8:12 
GeneralCRecordView and DialogBox Pin
bbush28-Mar-04 6:48
bbush28-Mar-04 6:48 
GeneralCurrent User Profile Pin
MHillary28-Mar-04 3:48
MHillary28-Mar-04 3:48 
GeneralRe: Current User Profile Pin
Mazdak28-Mar-04 8:26
Mazdak28-Mar-04 8:26 
GeneralNo Conversion From... Pin
monrobot1328-Mar-04 3:28
monrobot1328-Mar-04 3:28 
GeneralRe: No Conversion From... Pin
Michael Dunn28-Mar-04 5:04
sitebuilderMichael Dunn28-Mar-04 5:04 
GeneralRe: No Conversion From... Pin
monrobot1328-Mar-04 14:39
monrobot1328-Mar-04 14:39 
GeneralA really tough question for experts - ITypeLib Pin
YaronNir28-Mar-04 2:49
YaronNir28-Mar-04 2:49 
I have an exe. i have several COMs (0 or more) which are Dlls.

all COMs have the same one and only interface called IMgr and co-class CMgr.
in this interface there is a method called 'GetModuleDlg' which does something

all the COM-Dlls are located under the subdirectory 'Dlls'

I use the 'LoadTypeLib' and GetTypeInfoCount and GetTypeInfo
to connect to the COM-Dlls. i need to mention, i don't have the *.tlb files and all the connection is done dynamically in run-time not in compilation time.

my question is this : all i have to do is to "CreateInstance" of the COM dll, and then invoke "GetModuleDlg"....can any1 show me code on how to do that using the ITypeLib and ITypeInfo interfaces???

I've searched CP, CG and google, but i found poor examples regarding....

thanks in advanced

Yaron


Ask not what your application can do for you,
Ask what you can do for your application
GeneralArray without constant Pin
Daniel132428-Mar-04 1:44
Daniel132428-Mar-04 1:44 
GeneralRe: Array without constant Pin
Ravi Bhavnani28-Mar-04 8:15
professionalRavi Bhavnani28-Mar-04 8:15 
GeneralRe: Array without constant Pin
Anonymous28-Mar-04 8:37
Anonymous28-Mar-04 8:37 
GeneralRe: Array without constant Pin
Christian Graus28-Mar-04 9:47
protectorChristian Graus28-Mar-04 9:47 
GeneralRe: Array without constant Pin
Gary R. Wheeler28-Mar-04 13:21
Gary R. Wheeler28-Mar-04 13:21 
GeneralRe: Array without constant Pin
Prakash Nadar28-Mar-04 14:09
Prakash Nadar28-Mar-04 14:09 
GeneralRe: Array without constant Pin
Daniel132429-Mar-04 6:48
Daniel132429-Mar-04 6:48 
GeneralRe: Array without constant Pin
Gary R. Wheeler29-Mar-04 11:39
Gary R. Wheeler29-Mar-04 11:39 
GeneralRe: Array without constant Pin
Daniel132429-Mar-04 12:44
Daniel132429-Mar-04 12:44 
GeneralRe: Array without constant Pin
Phil J Pearson29-Mar-04 2:19
Phil J Pearson29-Mar-04 2:19 
GeneralCapture console buffer to text Pin
Snillet2k28-Mar-04 1:40
Snillet2k28-Mar-04 1:40 
GeneralRe: Capture console buffer to text Pin
Prakash Nadar28-Mar-04 2:12
Prakash Nadar28-Mar-04 2:12 
GeneralHELP - from VS6 to VS.NET problem Pin
the_snow_master28-Mar-04 1:07
sussthe_snow_master28-Mar-04 1:07 
Generaluser priveldges Pin
Irish_GUI27-Mar-04 23:46
Irish_GUI27-Mar-04 23:46 
GeneralSharing object between thread Pin
packetlos27-Mar-04 23:25
packetlos27-Mar-04 23:25 
GeneralRe: Sharing object between thread Pin
packetlos28-Mar-04 6:37
packetlos28-Mar-04 6:37 
GeneralGetting a handle to some window Pin
Anonymous27-Mar-04 21:37
Anonymous27-Mar-04 21:37 

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.