OLE link issue
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I'm trying to create an OLE link to a file using WinAPI method OleCreateLinkToFile. By this my document will contain a link to a file on the disk. This works fine for Excel XLS files. However for some reason this method embeds other type of documents. If I try to link PDF file to my document it is embedded - what I do not want, because it increases my document size. Note I do not have PDF reader installed. Do you have any idea how to solve this situation? Is it possible to force the link creation? If not, is it possible to detect such situation so I'll rather ignore such files from linking? Thanks, Abyss