I have been trying to use lstrcpy and lstrcat functions to combine texts as shown below:
However, on the output window/debugger, I'm not seeing anything that SDriverPath nor DdriverPath is holding. Is there something that I've missed before using the string manipulation functions? Thanks.Code:BOOL PDFPRNINSTCALL PdfPrnInstCopyDriverFilesW(const WCHAR* pSourceFolder) { LPWSTR destFolder = L"E:\\test"; LPWSTR SdriverPath, SconfigFilePath, SlicenseFilePath; LPWSTR DdriverPath, DconfigFilePath, DlicenseFilePath; SdriverPath = SconfigFilePath = SlicenseFilePath = L""; DdriverPath = DconfigFilePath = DlicenseFilePath = L""; // Process the filenames to include directory + filename lstrcpy(SdriverPath, pSourceFolder); lstrcpy(DdriverPath, destFolder); wcout << SdriverPath << endl; wcout << DdriverPath << endl; return true; }



LinkBack URL
About LinkBacks



