microsoft / Windows-classic-samples

This repo contains samples that demonstrate the API used in Windows classic desktop applications.
Other
5.1k stars 3.24k forks source link

IFilterSample GUIDs conflicts with GUIDs uses by Microsoft Search Handler #230

Open dmitryshunkov opened 2 years ago

dmitryshunkov commented 2 years ago

It seems, that {1AA9BF05-9A97-48c1-BA28-D9DCE795E93C} and {6C337B26-3E38-4F98-813B-FBA18BAB64F5} already used in Windows 10 by PDF Persistent Handler and Reader Search Handler (%systemroot%\system32\Windows.Data.Pdf.dll) so the IFilterSample sample fails to register/unregister correctly.

nekumar-nv commented 2 years ago

Hi, Were you able to get it working? its not working for me.

dmitryshunkov commented 2 years ago

@nekumar-nv Hello. Yes, I updated two GUIDs in https://github.com/microsoft/Windows-classic-samples/blob/67a8cddc25880ebc64018e833f0bf51589fd4521/Samples/Win7Samples/winui/WindowsSearch/IFilterSample/Dll.cpp#L12-L13 with newly generated and then followed instructions here: https://github.com/microsoft/Windows-classic-samples/blob/main/Samples/Win7Samples/winui/WindowsSearch/IFilterSample/README.md#to-build-and-use-this-sample.

nekumar-nv commented 2 years ago

Thanks dmitryshunkov for confirming. I tried changing these GUIDs but still no luck.