draganp has asked for the wisdom of the Perl Monks concerning the following question:
Calling it from C# looks like thispublic int IdentifyUserByCert(string certB64, ref string userTaxId, re +f string corpTaxId)
After this call in variable userTaxNum, and corpTaxNum there are some return values. In Perl I am using same assembly via OLE like this.DefaultCertUserIdentification identi = new DefaultCertUserIdentificati +on(new Configuration()); string userTaxNum = ""; string corpTaxNum = ""; identi.IdentifyUserByCert(TestData.ACNLB_FO2, ref userTaxNum, ref corp +TaxNum);
Return valu is OK. It works as expected. I was expecting to get values in $userTaxId, and $corpTaxId, but I do not.my $identi = Win32::OLE->new('DefaultCertUserIdentification'); my $identified = $identi->IdentifyUserByCert($certificate, \$userTaxId +, \$corpTaxId);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: OLE ref parameters
by draganp (Novice) on Dec 23, 2005 at 15:20 UTC |