I use INI files a lot, and I've just found an issue I never came across before.
I've put enough MSGBOX's in my code to narrow it back to the FIRST ini call I make.
Everything comes back empty..IF and ONLY if I am launching my program with the INI file specified as the commandline.
CCSBatch.exe TEST.INI
That won't work.
HOWEVER:
CCSBatch.exe D:\PBDLL\CCSBATCH\TEST.INI
THAT DOES WORK.
So OK anybody heard of this? And if so, how can I append the directory to my INI file name???
Not sure a code sampl;e is required, pretty basic...if so let me know.
I've put enough MSGBOX's in my code to narrow it back to the FIRST ini call I make.
Everything comes back empty..IF and ONLY if I am launching my program with the INI file specified as the commandline.
CCSBatch.exe TEST.INI
That won't work.
HOWEVER:
CCSBatch.exe D:\PBDLL\CCSBATCH\TEST.INI
THAT DOES WORK.
So OK anybody heard of this? And if so, how can I append the directory to my INI file name???
Not sure a code sampl;e is required, pretty basic...if so let me know.
Comment