>I have a DLL I need to call from a VFP app. The docs, show the following declaration in a VB example:
>
>Private Declare Function GMW_LoadBDE Lib "C:\GM4\GM4S32.DLL" (ByVal sSysDir As String, ByVal sGoldDir As String, ByVal sCommonDir As String, ByVal sUser As String, ByVal sPassword As String) As Integer
>
>How would this translate into VFP? I thought the following was correct:
>
>DECLARE INTEGER GMW_LoadBDE IN C:\GM4\GM4S32.DLL (STRING sSysDir, STRING sGoldDir, STRING sCommonDir, STRING sUser, STRING sPassword)
>
>But when I reference GMW_LoadBDE, passing 5 strings in, I get an error stating "Too many parameters" I'm guessing I've done something wrong here. Any thoughts?
Bill, drop the open and close parenthesis. That should do it.
George
Ubi caritas et amor, deus ibi est