Click here to Skip to main content
16,011,170 members
Home / Discussions / COM
   

COM

 
QuestionPassing Events to ActiveX Controls Pin
Ashwin kumar Gurujala29-Sep-05 23:29
Ashwin kumar Gurujala29-Sep-05 23:29 
QuestionProblem with UTF-8 data Pin
Veera Raghavendra28-Sep-05 21:03
Veera Raghavendra28-Sep-05 21:03 
QuestionHow to put a struct into a VARIANT? Pin
morenz27-Sep-05 23:23
morenz27-Sep-05 23:23 
AnswerRe: How to put a struct into a VARIANT? Pin
GizzoF28-Sep-05 0:05
GizzoF28-Sep-05 0:05 
GeneralRe: How to put a struct into a VARIANT? Pin
morenz28-Sep-05 3:47
morenz28-Sep-05 3:47 
GeneralRe: How to put a struct into a VARIANT? Pin
Mike Dimmick28-Sep-05 5:09
Mike Dimmick28-Sep-05 5:09 
GeneralRe: How to put a struct into a VARIANT? Pin
morenz29-Sep-05 1:27
morenz29-Sep-05 1:27 
GeneralRe: How to put a struct into a VARIANT? Pin
morenz30-Sep-05 0:36
morenz30-Sep-05 0:36 
Hello again...
it was too good to be real....

I used what that HOWTO said (implementing a struct into my IDL file, giving it a UUID and managing it with VARIANTs).

Now, I got a problem.
If I write in IDL
typedef [uuid(...)]
struct myStruct
{
...
...
...
}my;
, when I compile my project, MIDL is OK, but I get C2787 when compiling: no GUID has been associated with this object.

I tried to use, in IDL,
[uuid(....)]
struct myStruct
{
...
...
..
}my;
and now I get MIDL2072: inapplicable attribute: [uuid][Struct 'myStruct']

How can I get it compiled?
I'm going crazy!
thanx again!

-- modified at 6:37 Friday 30th September, 2005
GeneralRe: How to put a struct into a VARIANT? Pin
morenz30-Sep-05 3:28
morenz30-Sep-05 3:28 
AnswerRe: How to put a struct into a VARIANT? Pin
Rory Solley29-Sep-05 0:49
Rory Solley29-Sep-05 0:49 
GeneralRe: How to put a struct into a VARIANT? Pin
morenz30-Sep-05 0:42
morenz30-Sep-05 0:42 
GeneralRe: How to put a struct into a VARIANT? Pin
Rory Solley30-Sep-05 4:10
Rory Solley30-Sep-05 4:10 
GeneralRe: How to put a struct into a VARIANT? Pin
Jörgen Sigvardsson3-Oct-05 6:22
Jörgen Sigvardsson3-Oct-05 6:22 
GeneralRe: How to put a struct into a VARIANT? Pin
Rory Solley3-Oct-05 22:20
Rory Solley3-Oct-05 22:20 
GeneralRe: How to put a struct into a VARIANT? Pin
morenz4-Oct-05 3:09
morenz4-Oct-05 3:09 
QuestionCustomizing IE Pin
babai27-Sep-05 20:52
babai27-Sep-05 20:52 
QuestionThorwing a event with a collection Pin
GizzoF27-Sep-05 7:53
GizzoF27-Sep-05 7:53 
QuestionMixing COM and non-COM property pages Pin
DolphLundgren27-Sep-05 5:03
DolphLundgren27-Sep-05 5:03 
GeneralRe: Mixing COM and non-COM property pages Pin
Jörgen Sigvardsson27-Sep-05 9:56
Jörgen Sigvardsson27-Sep-05 9:56 
QuestionDynamically switching between DLLs Pin
Divick26-Sep-05 20:41
Divick26-Sep-05 20:41 
AnswerRe: Dynamically switching between DLLs Pin
prasad_som26-Sep-05 21:18
prasad_som26-Sep-05 21:18 
GeneralRe: Dynamically switching between DLLs Pin
Divick26-Sep-05 21:28
Divick26-Sep-05 21:28 
GeneralRe: Dynamically switching between DLLs Pin
Divick27-Sep-05 20:47
Divick27-Sep-05 20:47 
GeneralRe: Dynamically switching between DLLs Pin
rwestgraham28-Sep-05 19:08
rwestgraham28-Sep-05 19:08 
QuestionActiveX Controls Pin
Ashwin kumar Gurujala26-Sep-05 18:14
Ashwin kumar Gurujala26-Sep-05 18:14 

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.