Hi,
>Here is C declaration:
>hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER,
>IID_IShellLink, (PVOID *)&psl);
>...
>psl->Release()
In VFP it should be:
#define CLSID_ShellLink "{11219420-1768-11D1-95BE-00609797EA4F}"
sl = CreateObjectEx(CLSID_ShellLink, "")
...
Release sl
But it returns for me "Class not registered"
>However, VFP can not access object this way. What would be alternative suggestions?
VFP6 can not, VFP7 AFAIK can work directly with COM interfaces.