Re: DefaultInterface.QueryInterface - WeOnlyDo Discussion board

Re: DefaultInterface.QueryInterface (General questions)

by wodSupport, Friday, February 18, 2005, 15:58 (5404 days ago) @ dandraka


to explain in common words - QueryInterface returns Blob type from FileBlob. As you may guessed, FileBlob is based on Blob type. Since wodCrypt requires Blob type, QueryInterface casts (in COM terms) from FileBlob to Blob, so wodCrypt accepts it properly.

It doesn't matter if you set Filename before this case or after it - reference always points to exactly the same object.

Hope it helps.

Complete thread: