Re: [fpc-pascal] AsciiZ confusion

2006-08-31 Thread afpTeam
- Original Message - From: "Matt Emson" <[EMAIL PROTECTED]> To: "afpTeam" <[EMAIL PROTECTED]>; "FPC-Pascal users discussions" Sent: Thursday, August 31, 2006 2:57 PM Subject: Re: [fpc-pascal] AsciiZ confusion As noted, the Delphi Progra

Re: [fpc-pascal] AsciiZ confusion

2006-08-31 Thread Matt Emson
As noted, the Delphi Program integrates a DLL stub which forces me to make calls using it's pre-defined "Variants Only" format. I'm not clear why you need to have a FPC DLL between a PB DLL and Delphi... this part makes no sense. If you need to, dynamically load the DLL. If you are exporting

Fw: [fpc-pascal] AsciiZ confusion

2006-08-31 Thread afpTeam
Let me remove some comments(sorry) Hi, Sorry this is a long message, but hard to explain. I have a DLL I wrote in FreePascal 2.0.2, which is communicating between a Delphi program and a PowerBasic Dll, like follows... PBdll exports PBSub ByRef as AsciiZ <> MyFreePascall_DLL <> Delph

[fpc-pascal] AsciiZ confusion

2006-08-31 Thread afpTeam
Hi, Sorry this is a long message, but hard to explain. I have a DLL I wrote in FreePascal 2.0.2, which is communicating between a Delphi program and a PowerBasic Dll, like follows... PBdll exports PBSub ByRef as AsciiZ <> MyFreePascall_DLL <> DelphiDLLstubByRef_Variants As noted, the De