EldoS | Feel safer!

Software components for data protection, secure storage and transfer

MSGConnect on lazarus

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#30732
Posted: 09/16/2014 07:59:17
by Alberto Giuliani (Standard support level)
Joined: 09/15/2014
Posts: 4

Hi,
I would like to build a client/server environment (with MSGConnect) where:

1) client is a Delphi program running on a Windows OS

2) server is a Lazarus program running on a Linux distro

How can I install MSGConnect on Lazarus? Where can I find some examples?

Thanks
#30736
Posted: 09/16/2014 09:28:14
by Eugene Mayevski (EldoS Corp.)

MsgConnect in Lazarus is instantiated dynamically. There's no package to install the components to the designer, as you do in Delphi. But you create class instances in code and in this way MsgConnect will work.


Sincerely yours
Eugene Mayevski
#30737
Posted: 09/16/2014 09:40:21
by Alberto Giuliani (Standard support level)
Joined: 09/15/2014
Posts: 4

Thanks a lot for the answer. At least I know now it works :)

The problem is that I linked the MSCBase unit and tried to compile but I get some errors saying "Duplicate identifier" UserData, Collection, Owner...

Is there a Lazarus example I could see?

Thanks
#30738
Posted: 09/16/2014 09:45:54
by Eugene Mayevski (EldoS Corp.)

Unfortunately we don't have Lazarus-based GUI sample at the moment. Probably we can craft some within a day or two.


Sincerely yours
Eugene Mayevski
#30739
Posted: 09/16/2014 09:50:16
by Alberto Giuliani (Standard support level)
Joined: 09/15/2014
Posts: 4

If possible, it would be great! Even a very simple one like the SendNote

Thanks
#30740
Posted: 09/16/2014 10:01:32
by Alberto Giuliani (Standard support level)
Joined: 09/15/2014
Posts: 4

Oh! I found the problem. I have to add for each file the following line: {$mode delphi}

By the way a demo project would be helpfull

Thanks
#30741
Posted: 09/16/2014 10:02:55
by Eugene Mayevski (EldoS Corp.)

You can add this line to MC.inc, this should be enough. We don't officially support Lazarus due to low demand. But we'll check what we can do in regards to this demand.


Sincerely yours
Eugene Mayevski
Also by EldoS: SecureBlackbox
200+ components and classes for digital security, signing, encryption and secure networking.

Reply

Statistics

Topic viewed 5506 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!