ShLwApi translation problem

"Alec Bergamini" <[email protected]> Tue, 14 Jun 2005 10:11:37 -0700
Newsgroups gmane.comp.lang.delphi.jedi
Message-ID <[email protected]>
I believe there are some few problems with the ShLwApi.pas translations.


 

The most important one being that it shows the following GUIDs

  IID_IQueryAssociations: TGUID = (D1: $c46ca590; D2: $3c3f; D3: $11d2;
D4: ($be, $e6, $00, $00, $f8, $05, $ca, $57));

  CLSID_QueryAssociations: TGUID = (D1: $c46ca590; D2: $3c3f; D3: $11d2;
D4: ($be, $e6, $00, $00, $f8, $05, $ca, $57));

  SID_IQueryAssociations = '{c46ca590-3c3f-11d2-bee6-0000f805ca57}';

 

But if I go back to the MS header file ShlGuid.h

I find that CLSID_QueryAssociations

Is defined as 

DEFINE_GUID(CLSID_QueryAssociations, 0xa07034fd, 0x6caa, 0x4954, 0xac,
0x3f, 0x97, 0xa2, 0x72, 0x16, 0xf9, 0x8a);

 

Also, (Marcel, if you are listening) was there a reason why
IQueryAssociation was translated from the original as plural
(IQueryAssociations) in the ShlwApi.pas file.

 

BTW, I got to this point trying to get the helper function AssocCreate
to work. Even with the above changes, I still can't get this to return
an IQueryAssociation interface. I always get an access violation in
SHELL32.DLL (go figure). As a side note, if anyone knows how to get a
valid IQueryAssociation interface I'd be much obliged. I've been hung up
on this for a day now and it's kicking my butt.

 

AB



[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/Delphi-JEDI/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/