Hello,
When a file with the extension *.log_c is double-clicked, it is automatically opened by my application (I acheived this by adding some registry values). The pathname of the opened file is then received in the variable argv[1] of the main function of my application. However, on most systems it seems that the string I receive is not the same of the pathname, but some abbreviation that reminds me of DOS, where a file name or a directory could only be 8 characters, and a file extension could only be 3.
E.g: when I open the file C:\Documents and Settings\Wim\My Documents\LabWindows\DebugLogDecoder\dbg_20060621_114839.log_c, the string that I receive is C:\DOCUME~1\Wim\MYDOCU~1\LABWIN~1\DEBUGL~1\DBG_20~1.LOG
This problem occurs on some machines. On other machines argv[1] contains the correct pathname.
Why is that and how can I solve this problem?
Thanks for all help,
Wim