Converting plugins to 64-bit - reward

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Stefan2, white, sheep, Hacker

User avatar
MVV
Power Member
Power Member
Posts: 8286
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV » 2011-10-25, 06:21 UTC

Christian, WLX guide's listplug.pas still contains PChar type instead of PAnsiChar - in Unicode versions of Delphi this causes errors since PChar is equals to PWideChar there (e.g. for ListGetDetectString function). Same thing with FsGetDefRootName function in WFX guide.

I see that you've replaced PChar with PAnsiChar in WDX guide, so I think you should do the same for other guides too.

I think you should use PChar for all parameters that may be Unicode or not depending on plugin's encoding and direct PAnsiChar for parameters that are always non-Unicode.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2011-10-25, 15:35 UTC

I have never used a Unicode version of Delphi, so I didn't know that, thanks for the info.
Author of Total Commander
http://www.ghisler.com

Psychedelic
Junior Member
Junior Member
Posts: 20
Joined: 2011-10-30, 15:35 UTC

Post by *Psychedelic » 2011-10-30, 15:41 UTC

If you used Delphi for plugins - do not use Lazarus now.
Now Delphi has x64 compiler and you can recompile it with delphi.
Just search for "Embarcadero RAD Studio XE2 update 1". Delphi XE2 has x64, Mac Compiler.

User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 2790
Joined: 2003-05-06, 11:46 UTC

Post by *Sir_SiLvA » 2011-10-30, 16:04 UTC

2Psychedelic
Are you using Delphi 64Bit yet?
What are its advantage over Lazerus?

Psychedelic
Junior Member
Junior Member
Posts: 20
Joined: 2011-10-30, 15:35 UTC

Post by *Psychedelic » 2011-10-30, 17:25 UTC

What are its advantage over Lazerus?
Yes I tried it yet.
Advantages are the same as they were before delphi x64 - Delphi is more convenient lazarus, more powerfull (has more tools\components\comfortable debug\tests and other features, extented language syntax and IDE features) and stable. lazarus - is buggy.
Also Delphi compiler creates smaller exes.
Time spent on the development of anything in Delphi is much less than in Lazarus.
If you look at short description of lazarus - you 'll see - Lazarus is the class libraries and development environment for Free Pascal that emulate Delphi.
Delphi XE2 now also has Mac compiler (FireMonkey platform) - so you can write apps for Macs PCs.

About FireMonkey - FireMonkey is a cross-platform application framework that uses GPU-Accelerated vector graphics to render its UI, D2D/D3D on Windows and OpenGL on OSX. similiar to Silverlight OOB or Jupiter.
FireMonkey works on Windows/OSX/iOS, and may support Linux/Android in the future, more platforms than Silverlight OOB. It's really cool stuff! Lazarus does not have it.

You can try delphi XE2 on torrents.

User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

umod.wcx updated to 64-bit

Post by *balver » 2011-11-11, 21:50 UTC

Hi,

I've just updated my umod.wcx plugin to 64-bit. I hope it's OK to announce it here, because the promise of reward has motivated me a little :wink:. I'm not sure yet if I prefer TC licenses or cash.

Back to the updated plugin, the 6 year old version is available here:
http://www.totalcmd.net/plugring/umod.html

And the new one (0.0.6) is available here:
http://dl.dropbox.com/u/21011691/umod-0.0.6.7z

And now it's time for some questions:

2Christian
  • I hope it's not too impolite to ask, but how many TC licenses tops are you willing to offer? 2, 3, more?
  • How are you going to transfer the $100 to the plugin authors? (via PayPal, direct money transfer to bank account or maybe in other way?)
  • When decision about the reward is made, what is the best way of contacting you? Is it OK to send a PM to you?
  • What details do you require after the reward is chosen (in both cases)?
2Flint (I've seen you in this thread :D)
  • Could you PM/email to me my login credentials (with details how to login) so I could update the plugin at totalcmd.net? I've lost them long time ago. Thanks in advance.
Cheers,
balver
TC registered user: #172461

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2011-11-12, 15:03 UTC

balver
I sent the details to the E-mail specified in the totalcmd.net's account profile.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver » 2011-11-12, 15:33 UTC

Great Flint, thank you. I've replied you by e-mail, because there is some problem with uploading of 7z files, I guess.
TC registered user: #172461

User avatar
Flint
Power Member
Power Member
Posts: 3168
Joined: 2003-10-27, 09:25 UTC
Location: Moscow, Russia
Contact:

Post by *Flint » 2011-11-12, 15:59 UTC

balver
Could you please resend it? It was marked as spam for some reson and completely removed from server…
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 9.21a / Win7 x64 SP1, Win10 x64

User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver » 2011-11-12, 16:18 UTC

I've just forwarded the e-mail to you, Flint. I hope it will get to you safely this time. I would send it to you via PM instead of spamming this topic, but all I see after clicking PM is Private messaging has been disabled on this board.
TC registered user: #172461

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2011-11-13, 15:09 UTC

how many TC licenses tops are you willing to offer? 2, 3, more?
I'm offering 3 licences for $100 (that's $33 per licence, slighly better than the actual price of $46). If you just want one, you can get the rest as a payment. But plugin authors can get one free licence anyway for writing the plugin, the $100 are for porting.
How are you going to transfer the $100 to the plugin authors? (via PayPal, direct money transfer to bank account or maybe in other way?)
So far we have sent a few payments by money transfer to a bank account, and one by credit card (a plugin author was a software seller too). But Paypal would also be a possibility. For countries like South America, we can also send it by Western Union. But we would like to avoid it if possible, because it's expensive.
When decision about the reward is made, what is the best way of contacting you?
By e-mail only.
What details do you require after the reward is chosen (in both cases)?
The list of your plugins, and the payment method you prefer. For a bank transfer, we need the IBAN, BIC/Swift code, the name of the bank, and the name and address of the account owner.
Author of Total Commander
http://www.ghisler.com

User avatar
balver
Junior Member
Junior Member
Posts: 26
Joined: 2006-11-16, 09:38 UTC
Location: Poland
Contact:

Post by *balver » 2011-11-15, 16:16 UTC

2Christian
Thank you for all the answers, they were very useful. I've sent an e-mail to the support address just a moment ago with details about the chosen reward (3 TC licenses).
TC registered user: #172461

Psychedelic
Junior Member
Junior Member
Posts: 20
Joined: 2011-10-30, 15:35 UTC

Post by *Psychedelic » 2011-11-16, 22:56 UTC

Dear Christian

In your manual Writing plugins that you specify in the beginning of this topic you wrote -
What's the easiest way to convert an existing plugin to 64-bit?
2. If the plugin was written in Delphi or Free Pascal:
There is a 64-bit Lazarus/Free Pascal available.
But the easiest way for Delphi code is to use Delphi XE2 with x64 compiler, where programmer can create 64-bit dlls, you do not specify this in your document. Please fix it, maybe somebody do not know about Delphi Xe2.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 37495
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2011-11-17, 14:44 UTC

Delphi Xe2 wasn't available yet when I wrote that document...
Author of Total Commander
http://www.ghisler.com

User avatar
tbeu
Power Member
Power Member
Posts: 1256
Joined: 2003-07-04, 07:52 UTC
Location: Germany
Contact:

Post by *tbeu » 2011-11-18, 21:10 UTC

There is a small typo for documentation of ContentGetValue
contentplugin.HLP wrote:The plugin may also reutrn ft_ondemand

Post Reply