Problem with OleCreateLinkToFile()
-
My problem is not the function OleCreateLinkToFile() itself, but the resulting pointer. ppvObj [out] Address of pointer variable that receives the interface pointer requested in riid. Upon successful return, *ppvObj contains the requested interface pointer on the newly created object. Is there any way to get the interface-pointer to the "real" com-object itself. For example, if i open a word document can i get the interface-pointer of the shown word.document or running word.application starting from the ppvObj-pointer. My understanding of OLE is not good enough to see the right way (hope there is one :~ ).
-
My problem is not the function OleCreateLinkToFile() itself, but the resulting pointer. ppvObj [out] Address of pointer variable that receives the interface pointer requested in riid. Upon successful return, *ppvObj contains the requested interface pointer on the newly created object. Is there any way to get the interface-pointer to the "real" com-object itself. For example, if i open a word document can i get the interface-pointer of the shown word.document or running word.application starting from the ppvObj-pointer. My understanding of OLE is not good enough to see the right way (hope there is one :~ ).