>Try:
>
>
>DECLARE LONG VeryCreate IN "verywrite.dll" STRING @ lpFileName
>DECLARE VeryClose IN "verywrite.dll" (LONG VERY_ID)
>DECLARE LONG VeryAddImage IN "verywrite.dll" (LONG VERY_ID ,STRING @ lpFileName)
>
>
>I assume that lpFileName is a long pointer to the memory adress of file name string so try to pass it by reference:
>
>FileName = 'test2.pdf'
>pdfId = verycreate(FileName)
>?pdfId
>
Hi Dorin,
Thank you for dropping in so fast :)
I am now able to create the resource (test2.pdf) as the VeryCreate
function is now available. The
@ lpFileName did help
Alas it looks like the the VeryClose and the VeryAddImage would still
not work. The ugly "Too many arguments" message pops up on every
call to the function with arguments (with no arguments the function
does nothing but returns .T. Still not workable.
Kind regards to you
Francis