|
-
May 8th, 2011, 03:59 AM
#1
COM related questions
I have a source code of a program using a compiled tlb file
the file as I extracted into VC++ includes structs that do not define themselves (as I saw them in tlh and tli)
I see in VB source code of the program the lines
Dim a as IUnknown
//.... and in form-load
Set a = New StructName
I do similar in C++ as
IInterface i=new StructName();
and get an error stating StructName has no appropriate constructor.
I read all the VB files I was given and couldnot find where the (Co)CreateInstance is used. I don't find any COM functions only the compiled interfaces are freely easily used as some normal classes.
I guess they want to freek me out by not having sent me all required files. They discriminate me!
Thank you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|