Topic "after compiled, wont run"

Author Message



thanks for the useful project.

when i compile the 4.1.2 source with BC6 Enterprise it compiles fine, just 1 warning:

[Linker Warning] Duplicate resource: Type 14 (ICON GROUP), ID MAINICON; File L:\WORK\WINSCP\WINDOWS\WINDOWS.RES resource kept; file L:\WORK\WINSCP\WINSCP.RES resource discarded.

but it doesn't run, i get "Invalid access to memory/abnormal program termination".

in debug mode the crash seems to occur here:

if (GetTranslationCount(ApplicationInfo) > 0)

in LCID __fastcall TGUIConfiguration::InternalLocale()

of GUIConfiguration.cpp

ApplicationInfo is NULL

in debugger can continue execution, then crashes with access violation at:

AnsiString __fastcall SshVersionString()
return FORMAT("WinSCP-release-%s", (Configuration->Version));

any idea what could be causing this?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26353
Location: Prague, Czechia
I guess that you have opened the project in IDE and it has overwritten the WinSCP.rc with generated resource that does not include the version info.
Martin Prikryl


ok yes you're right, thanks!

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License