Here is what i did to test it.
** begin code **
o = NEWOBJECT("ee.Class1")
*o = NEWOBJECT("Class1")
_CLIPTEXT = o.GetName()
DEFINE CLASS Class1 AS CUSTOM OLEPUBLIC
PROCEDURE GetName
RETURN SYS(16)
ENDDEFINE
** end code **
I then put the prg into a project named ee and built a dll.
The is the result from calling the .GetName() Method.
'PROCEDURE .GETNAME D:\STANFORD\EE.DLL'
Hope this helps
Geno
>>Have you tried SYS(16). The name of the Dll is in there along with the procedure executing.
>>
>>Geno
>>
>>>I have a class that I compile into a DLL. From inside the class, I want a method that will return the verion number of the DLL that was set at build time. Getting the version number is easy using AGETFILEVERSION(). But, how do I get the name of the DLL?
>
>Yup, tried that one. It does not give the name of the DLL. I get the method and class library, but not the DLL.