|
-
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.
-
May 8th, 2011, 04:10 AM
#2
Re: COM related questions
Huhu I see this problem is too easy, how come you can't find a soluytion ?
When I was in coollege people did that on me too. Those are arrssholes
Yes, not enough files of course. Could you post it here ?
-
May 8th, 2011, 11:43 AM
#3
Re: COM related questions
Is there a question there? If you have source code, then you can re-compile it. If you have a C++ question, we have a forum for that, too. This is VB6
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
|