What about spaces in the file names or other characters that would throw off a pathing error?
Aloha,
James
>No. Just the class/classlibrary names.
>
>>Is there a hardcoded path being assigned to this.cLocDatLib and this.cRemDatLib?
>>
>>Aloha,
>>
>>James
>>
>>>I have a situation where I have a .vcx included in an EXE and a NEWOBJECT() call instantiating a class in that library which fails because the classlibrary can't be found. How is this possible ?
>>>
>>>Code fragment:
>>>
>>> *-- The 2 parameters are defintely correct. If I break and
>>> *-- type the command with literals in the command window
>>> *-- I get the same problem.
>>>
>>> *-- eg. This.cLocDatClass = "cdatShiftLocal"
>>> *-- This.cLocDatLib = "cLocalData.vcx"
>>>
>>> IF UPPER(this.oEnv.cData) = "LOCAL"
>>> this.oData = NEWOBJECT(this.cLocDatClass,this.cLocDatLib)
>>> ELSE
>>> this.oData = NEWOBJECT(this.cRemDatClass,this.cRemDatLib)
>>> ENDIF
>>>