Error when I bulid the source with bc6

Advertisement

abaz
Joined:
Posts:
3

Error when I bulid the source with bc6

Hi
I run the source code 438, and give a error:

ConsoleRunner.cpp
void __fastcall Usage(TConsole * Console)
{
AnsiString Usage = LoadStr(USAGE6, 10240);
AnsiString ExeBaseName = ChangeFileExt(ExtractFileName(Application->ExeName), "");
Usage = StringReplace(Usage, "%APP%", ExeBaseName,
TReplaceFlags() << rfReplaceAll << rfIgnoreCase);
AnsiString Copyright = StringReplace(LoadStr(WINSCP_COPYRIGHT), "?", "(c)",

I modify it to
AnsiString Copyright = StringReplace(LoadStr(WINSCP_COPYRIGHT), "?", "(c)",

It is good. But give the exec:
Fixed file info not available.

I fid the code as below but don't know how to repare it.
PVSFixedFileInfo __fastcall GetFixedFileInfo(void * FileInfo)
{
UINT Len;
PVSFixedFileInfo Result;
if (!VerQueryValue(FileInfo, "\\", (void**)&Result, &Len))
throw Exception("Fixed file info not available");
return Result;
};

Can you help me?
Thank you!

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: Error when I bulid the source with bc6

How did you compile WinSCP?
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum