Topic "Error when I bulid the source with bc6"

Author Message
abaz
[View user's profile]

Joined: 2012-05-17
Posts: 3
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!
abaz
[View user's profile]

Joined: 2012-05-17
Posts: 3
AnsiString Copyright = StringReplace(LoadStr(WINSCP_COPYRIGHT), "?, "(c)",
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25014
Location: Prague, Czechia
How did you compile WinSCP?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License