[Lazarus] make .NET and VBA people talk to a windows service

2012-05-14 Thread ik
Hello,

I need to write a data broker as a Windows service.
The problem is that .NET and VBA developers need to give me data, and be
able to receive answer from it.

What is the best way to do something like that in Windows ?

Thanks,

Ido
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Again, Wrong Initial value for Application.BidiMode

2012-05-14 Thread Zaher Dirkey
Hi, Lazarus team

Yes, I know, I will be importunate for it, sorry for that.

In application.inc at line 128

  {$ifndef wince}// remove ifdef when gettext is fixed
  LCLGetLanguageIDs(LangDefault, LangFallback);
  if LangDefault  '' then
FBidiMode := Direction(LangDefault)
  else
FBidiMode := Direction(LangFallback);
  {$else}
FBidiMode := bdLeftToRight;
  {$endif}

This takes the BidiMode from the system, if the system desktop is Right To
Left, initial value of FBidiMode is bdRightToLeft, and it is wrong.

Why wrong.

You, and other developers make a new application and compile it on your
system then it work fine, now send it to me, what you expected it to run,
in Right To Left alignment or in Left To Right as you programmed it?

I think you expected as it programmed into your system, I mean Left To
Right.
But when I receive it from you it will run in Right To Left alignment

And all my English tools (not multi language) for example will run with
wrong alignment in Right To Left on my system, while it must run in Left To
Right.
Only Arabic or Hebrew program that chooses this language for our
application must run in Right To Left, it must not depend on the system.

I am using last revision of Lazarus, FPC 2.6

Best Regards
Zaher Dirkey
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] make .NET and VBA people talk to a windows service

2012-05-14 Thread Michael Van Canneyt



On Mon, 14 May 2012, ik wrote:


Hello,

I need to write a data broker as a Windows service.
The problem is that .NET and VBA developers need to give me data, and be able 
to receive answer from it.

What is the best way to do something like that in Windows ?


A webservice is by far the easiest. WST is very good for it.

Michael.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus