Code:
C Declaration -------------- char* _stdcall GMW_NewRecID( char *pBuff, char *pUser ); VB Declaration -------------- Public Declare Function GMW_NewRecID Lib "GM6S32.dll" (Byval szRecid As string, _ ByVal szUser As String) As string PB Declaration -------------- DECLARE FUNCTION GMW_NewRecID LIB "GM6S32.dll" (BYREF zRecId AS ASCIIZ, _ BYREF zUser AS ASCIIZ) AS LONG
Hi All!
I'm trying to convert a C declaration to PB. I think I've got it right, but it doesn't appear to be working. Each time I call the following code, I get an error message that says "The procedure entry point GMW_NEWRECID could not be located in the dynamic link library GM6S32.dll."
Code:
LOCAL psNewRecId AS STRING POINTER LOCAL sRecordId AS ASCIIZ * 30 psNewRecId = GMW_NewRecID(sRecordId, "SCOTT" & CHR$(0)) MSGBOX @psNewRecId
Thanks,
Scott
------------------
Scott Wolfington
http://www.boogietools.com
[This message has been edited by Scott Wolfington (edited March 05, 2003).]
Comment