problem with __uuidof
-
-
any 1 can help me what and when __uuidof is used in com when i used it with _CommandBarButtonEvents when creating an add in for outlook 2000 it generated error "this class have no uuid associated with it" . but in ole object viewer i can see its uuid.
can u write those lines of code whih u r using to get __uuidof ur event interface. Abhishek Srivastava Software Engineer (VC++) India ,Noida Mobile no 9891492921 :)
-
any 1 can help me what and when __uuidof is used in com when i used it with _CommandBarButtonEvents when creating an add in for outlook 2000 it generated error "this class have no uuid associated with it" . but in ole object viewer i can see its uuid.
__uuidof keyword extract guid assigned to an object via "uuid" attribute ((__declspec(uuid"...")). It's not always assigned. Usually headers generated by midl or "import" statement have such attibutes attached to the objects (interfaces, enums) Check your header file that has a declaration of _CommandBarButtonEvents Edward