Hello out there.
Question on how to get my Excel-based app to run immediately on putting the CD in the drive.

I gather from the MSDN knowledge base that I have to use 'ShellExecuteEx' in my autorun.inf file on the CD to automatically open Excel and my file, but I'm having a lot of trouble understanding the syntax.

Can anyone provide a concrete example of what the actual code would look like to run this? This is what MSDN shows:

***
BOOL ShellExecuteEx(
LPSHELLEXECUTEINFO lpExecInfo
);

Parameters
lpExecInfo
Address of a SHELLEXECUTEINFO structure that contains and receives information about the application being executed.
***

But I have no idea what to do about "SHELLEXECUTEINFO".

Damn! Stranded!