Ok, thanks to anyone who tried to help me so far.
after sitting down with a manual, and a bit of luck I have managed to move onward.
I now have an exception, but if it is ignored, the application runs and gives me all the information I need.
I have identified the code section that is causing the problem below.
It seems that after I have output a short data type, the next data that is output will cause this exception.
I know that it's not my operator<<, as they work for everything else without issue.
Any ideas ?
K
after sitting down with a manual, and a bit of luck I have managed to move onward.
I now have an exception, but if it is ignored, the application runs and gives me all the information I need.
I have identified the code section that is causing the problem below.
It seems that after I have output a short data type, the next data that is output will cause this exception.
Code:
short temp = sHeader.iCipherValue;
*pLF << temp;
*pLF << L"\n";
//Parse through the Directory
// as *.* is used, this code will also get directories.
wchar_t* szFindPath = new wchar_t;
wcscpy(szFindPath,szFolderPath);
wcscat(szFindPath,L"\\*.*");
//Convert Char_W Array into an LPSTR for find access
lpFind = CW2A(szFindPath);
strOut = L"First Entry = ";
*pLF << strOut; <-- This causes the error message
//Find the First Entry in this Folder, be it a Directory or a File
HANDLE hFind = FindFirstFile(lpFind,&lpData);
I know that it's not my operator<<, as they work for everything else without issue.
Any ideas ?
K