Hi Monty,
> Is it conceivable to use 'szInstallDir' instead of 'szPath'
> to place the DQSDLaunch.html file into the install directory
> instead of the system temp directory?
Sort of, see below;
> TCHAR szPath[_MAX_PATH];
> ::GetTempPath(cchPath, szPath);
>
> StrNCat(szPath, _T("DQSDLaunch.html"), lengthof(szPath) -
> _tcslen(szPath) - 1);
You should try;
TCHAR szPath[MAX_PATH];
GetInstallationDirectory(szPath, sizeof(szPath));
StrNCat(szPath, _T("DQSDLaunch.html"), lengthof(szPath) -
_tcslen(szPath) - 1);
Note, however, that this goes against the idea that we shouldn't write to
the install directory, for security reasons. There's no telling whether the
ACL on %DQSD_INSTALL% allows writing.
This info should really go in the user profile's temp directory (%TMP%, I
believe).
Best wishes,
Kim
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
DQSD-Devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dqsd-devel