I suspect that you may have to cast the string path parameter to a PChar
where you call it inside Delphi.

Hope this helps
Xander

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 1999 4:01 PM
Subject: [DUG]: calling a VB dll from delphi


> hi all
> I am trying to call a Dll from delphi, the dll comes up fine but the
> path name parameter returns with " cant open file "
>
> this is a description of the VB call which works fine but it would be
> tidier to call direct from delphi
>
> Private Declare Function ExportQbwData lib "qbint32"(By Val
> dataPath As String)As Long
>
> any help or sugestions greatly appreciated
>
> thanks Ian
> Ian Fear
> 1427 Te Kopia rd
> RD 1
> Rotorua
> New Zealand
> Phone 64 7 333 1548
> Fax 64 7 333 2548
> mob 025 742 772
> [EMAIL PROTECTED]
> GMT +1200
> http://mysite.xtra.co.nz/~IJFear/
> --------------------------------------------------------------------------
-
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
>
>


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to