filename to string

working with the Win32API
I am trying to implement a function in my program that will take the full

filename and path of a shortcut (.lnk) file and returns an std::string that is

the path+filename+arguments of the program to run, and also a STARTUPINFO

structure that can be passed to CreateProcess along with the string.
Anyways, it requires shobjidl.h and shobjidl.idl, neither of which come with

Dev-C++ 4.9.9.2. If I had these files, or if I had MSVC++, I could use MSDN's

example and be on my way. But I don't have either of those. Is there any way to

resolve (run the program) from a shortcut with Dev-C++?

Shashidhar Iddamsetty

Try this

http://www.koders.com/noncode/fidE1CC11E826EDB16EFA212AD552890953B2CDA7E7.aspx