Click here to Skip to main content
15,894,106 members
Home / Discussions / COM
   

COM

 
GeneralRe: inserting problem with OLEDB Pin
Steve S29-Nov-04 22:50
Steve S29-Nov-04 22:50 
GeneralRe: inserting problem with OLEDB Pin
seans00230-Nov-04 3:30
seans00230-Nov-04 3:30 
QuestionHow to use variable types defined in a COM in Matlab Pin
tpndtbk24-Nov-04 1:12
tpndtbk24-Nov-04 1:12 
Generalabout "access is denied" at DCOM Pin
pig123423-Nov-04 21:01
pig123423-Nov-04 21:01 
GeneralI got A Queistion about COM+ Pin
Rassul Yunussov21-Nov-04 0:44
Rassul Yunussov21-Nov-04 0:44 
QuestionHow do I return a SAFEARRAY from an ATL object? Pin
Crappity Crap19-Nov-04 13:15
Crappity Crap19-Nov-04 13:15 
AnswerRe: How do I return a SAFEARRAY from an ATL object? Pin
Steve S21-Nov-04 22:31
Steve S21-Nov-04 22:31 
AnswerRe: How do I return a SAFEARRAY from an ATL object? Pin
Anonymous6-Dec-04 3:54
Anonymous6-Dec-04 3:54 
QuestionIZoneIdentifier interface? Pin
dandy7218-Nov-04 11:11
dandy7218-Nov-04 11:11 
AnswerRe: IZoneIdentifier interface? Pin
geo_m19-Nov-04 3:20
geo_m19-Nov-04 3:20 
GeneralRe: IZoneIdentifier interface? Pin
dandy7219-Nov-04 4:59
dandy7219-Nov-04 4:59 
GeneralRe: IZoneIdentifier interface? Pin
dandy7219-Nov-04 7:33
dandy7219-Nov-04 7:33 
GeneralRe: IZoneIdentifier interface? Pin
geo_m23-Nov-04 0:47
geo_m23-Nov-04 0:47 
GeneralRe: IZoneIdentifier interface? Pin
dandy7223-Nov-04 7:20
dandy7223-Nov-04 7:20 
GeneralRe: IZoneIdentifier interface? Pin
geo_m23-Nov-04 22:52
geo_m23-Nov-04 22:52 
GeneralRe: IZoneIdentifier interface? Pin
geo_m24-Nov-04 1:42
geo_m24-Nov-04 1:42 
aghrr, once more, today's CP problems vanished my effort in writing the final response Frown | :(

Anyway, managed it to compile! Hooray!
I hadn't too much time for that research, but I found following:
In new updated urlmon.h the IZoneIdentifier uses the macro MIDL_INTERFACE that allows to use the brand new special microsoft __uuidof.

Problem remains with the CLSID_PersistentZoneIdentifier. Although his fellows CLSID_InternetSecurityManager and CLSID_InternetZoneManager are known and will compile, this one is obviously missing.

As I don't have too much time for the research, I just hotfixed it by adding the definition of the CLSID_PersistentZoneIdentifier by hand, before the main function in your example:

static const GUID CLSID_PersistentZoneIdentifier = 
{ 0x0968E258, 0x16C7, 0x4DBA, { 0xAA, 0x86, 0x46, 0x2D, 0xD6, 0x1E, 0x31, 0xA3 } };


and the final result is then:
h = CoCreateInstance( 
           CLSID_PersistentZoneIdentifier,
	   NULL,
	   CLSCTX_INPROC_SERVER,
	   __uuidof(IZoneIdentifier),
	  (LPVOID*)&pZI 
                   );


Compiles and also creates some object in return.

Hope that helps.
GeneralRe: IZoneIdentifier interface? Pin
dandy7225-Nov-04 5:11
dandy7225-Nov-04 5:11 
GeneralRe: IZoneIdentifier interface? Pin
geo_m26-Nov-04 3:11
geo_m26-Nov-04 3:11 
GeneralRe: IZoneIdentifier interface? Pin
dandy7226-Nov-04 5:36
dandy7226-Nov-04 5:36 
QuestionHow to return a vector or an array? Pin
tpndtbk18-Nov-04 2:59
tpndtbk18-Nov-04 2:59 
AnswerRe: How to return a vector or an array? Pin
User 21559718-Nov-04 18:46
User 21559718-Nov-04 18:46 
GeneralRe: How to return a vector or an array? Pin
Steve S18-Nov-04 23:23
Steve S18-Nov-04 23:23 
GeneralRe: How to return a vector or an array? Pin
User 21559718-Nov-04 23:39
User 21559718-Nov-04 23:39 
GeneralRe: How to return a vector or an array? Pin
Steve S19-Nov-04 0:14
Steve S19-Nov-04 0:14 
GeneralRe: How to return a vector or an array? Pin
Akshay Dave19-Nov-04 0:13
Akshay Dave19-Nov-04 0:13 

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.