Topic "Errors when try to compile"

Author Message
Michel68

Guest


Hello,

I have errors when i'am trying to compile the WinSCP project in C++ Builder XE7 (complete installation)

I tried to compile with Net Framework 3.5 and 4, 32 and 64 bits too, i'm running windows 8 64bits.

I attach the errors output on this post.


Have you any ideas on this problem ?


Regards,
Capture d’écran 2015-03-06 à 17.02.21.png (20.92 KB)

Description: (none)

Capture d’écran 2015-03-06 à 17.02.21.png

Advertisements
Tonioa310

Guest


Hi all,

I have the same problem, even using Embarcadero XE6.

In fact I just would like to modify the little part of the code that prints the transfer file progress.

Instead of updating the line of the file in progress, I would like to display a new line with the current progress.

Is ther any way to perform that without recompiling the project ?

Thank you anyway, this soft is really awsome.

Regards
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Michel68 wrote:
I attach the errors output on this post.

Regarding RaiseList. I haven't seen it before. It's a deprecated identifier. So maybe you have strict compiler mode set. But you should be using the same settings as we do, if you are using our project files.

Anyway, I replaced this code:

Code:
          if RaiseList <> nil then
          begin
            FSynchronizeException := PRaiseFrame(RaiseList)^.ExceptObject;
            PRaiseFrame(RaiseList)^.ExceptObject := nil;
          end;


with:

Code:
          FSynchronizeException := AcquireExceptionObject;


Though there will be lot more deprecated identifiers used, so it's unlikely this actually helps.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Tonioa310 wrote:
In fact I just would like to modify the little part of the code that prints the transfer file progress.

Instead of updating the line of the file in progress, I would like to display a new line with the current progress.

Is ther any way to perform that without recompiling the project ?

You can use WinSCP .NET assembly and handle Session.FileTransferProgress event.
https://winscp.net/eng/docs/library_session_filetransferprogress

Or filter \r from winscp.com output.
Tonioa310

Guest


Thank you prikryl,

I tried the tips you gave me but without success.
No big deal, I did it another way.

Thank you for your support anyway.

Best regards
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