HI, I have realy hard task. I need create program`s shortcut and I found on the Internet, that I must use IShellLink interface. But on Microsoft site (MSDN) I found the code - http://msdn.microsoft.com/library/...[^] - and this code doesn`t work ... function CoCreateInstance failure (I think)... piece of code: HRESULT hres; IShellLink* psl; hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl); :confused: Tomas :confused:
S
scara
@scara
Posts
-
how to make program`s shortcut -
ini filesthis can be right, but I adding rows to the ini file by WritPrivateProfileString and I can`t make the SPACE !!! I tryied many ways to make the SPACE but I don`t be successful . thank you Tomas
-
ini filesI have a problem . When I want to create .INI file with some SECTIONs and I want to insert SPACE among them . Ex. : [Section1] data1 = ... data2 = ... <= there I want to create the SPACE [Section2] Best regards. Tomas