Errors when try to compile

Advertisement

Michel68
Guest

Errors when try to compile

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

Reply with quote

Advertisement

Tonioa310
Guest

Errors when try to compile

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Errors when try to compile

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:

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

with:

          FSynchronizeException := AcquireExceptionObject;

Though there will be lot more deprecated identifiers used, so it's unlikely this actually helps.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Errors when try to compile

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.

Reply with quote

Tonioa310
Guest

Compiling pb

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

Reply with quote

Advertisement

You can post new topics in this forum