>>Are you sure? Never heard of that syntax:
>>
http://msdn.microsoft.com/en-us/library/c10akhe6(v=vs.80).aspx>
>Hmmm... I was going to say, yeah tried it...
>
>But... turns out it worked because the PRG file was in scope. Removing the PRG/FXP file from disk made that fail after all. I guess only
>
>
>SET PROCEDURE TO X.prg IN SomeApp.App
>
>
>is what works.
>
>+++ Rick ---
The last example that Rick have works fine.
But the tables embedded in the DLL can´t be open. I review filename, default, path. Other folk says it works OK. Although a separate session.
The code in the main prg is
********************************************
PROCEDURE USE3
PARAMETERS MDBF
IF NOT USED (MDBF)
USE (MDBF) IN 0
ENDIF
SELECT (MDBF)
Define Class dummyole as custom olepublic
EndDefine
*********************************************************
After issuing USE3(mylookuptable)
I have the error "The file mylookuptable doesn´t exist"
Thanks