Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #1645

Re: Encrypt/decrypt compatibility with Microsoft Crypto API?

From Trevor <trevorREMOVE@holyoak.com>
Newsgroups comp.lang.php
Subject Re: Encrypt/decrypt compatibility with Microsoft Crypto API?
Date 2011-05-17 11:38 -0600
Organization A noiseless patient Spider
Message-ID <iqubqa$ovu$1@dont-email.me> (permalink)
References <iqetjn$99q$2@dont-email.me> <iqf1pn$n8m$1@dont-email.me> <iqkaqr$5m4$1@dont-email.me> <iqkb9d$mrt$1@news.albasani.net>

Show all headers | View raw


On 5/13/2011 4:27 PM, The Natural Philosopher wrote:

>> The Windows program was made with PowerBuilder, and since PowerBuilder
>> is able to create .Net assemblies, and PHP is supposed to be able to
>> use .Net assemblies, I thought it might be easiest to use the existing
>> code and put it in an assembly.
>>
>> Turns out PHP's support for .Net assemblies is not all that great.
>> Yes, the example at php.net for this functionality works, but as
>> stated in several stagnant bug reports, other objects within the same
>> mscorlib.dll assembly don't even work. Is is correct, as it appears,
>> that development on DOTNET has ceased, leaving it not very usable?
>>
>> This has been one long week, with nothing really to show for it. :(
>>
>> - Trevor
> I fear that is most peoples experience if trying to mix Microsoft with
> anything else. It nearly always curdles...;-)
>
>
> I spent a fruitless hour trying to get Word to understand any document I
> could produce 'cant open, out of memory'
>
> Gave up and installed open office on the wife's Mac..

I finally got it working. I used PowerBuilder.NET 12.1 to create the 
assembly, and used this library to call it from PHP: 
http://universalccw.sourceforge.net

- Trevor

Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Encrypt/decrypt compatibility with Microsoft Crypto API? Trevor <trevor@holyoak.com> - 2011-05-11 15:03 -0600
  Re: Encrypt/decrypt compatibility with Microsoft Crypto API? JohnT <john@example.com> - 2011-05-11 22:15 +0000
    Re: Encrypt/decrypt compatibility with Microsoft Crypto API? Trevor <trevorREMOVE@holyoak.com> - 2011-05-13 16:20 -0600
      Re: Encrypt/decrypt compatibility with Microsoft Crypto API? The Natural Philosopher <tnp@invalid.invalid> - 2011-05-13 23:27 +0100
        Re: Encrypt/decrypt compatibility with Microsoft Crypto API? Trevor <trevorREMOVE@holyoak.com> - 2011-05-17 11:38 -0600

csiph-web