Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error with set classlib
Message
From
20/05/2020 13:31:50
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01674509
Message ID:
01674514
Views:
57
>>>>>If i use the command
>>>>>Set myClass to cClasslib Alias Ap1 Additive IN Test.Exe
>>>>>i receive
>>>>>Command contains unrecognized phrase/keyword
>>>>>but the syntax seems correct.
>>>>>
>>>>>If i delete the "In Test.Exe" i have no errors but i need it because in the exe files i'm working i have not the class i need
>>>>>
>>>>>Someone can help me suggesting where is my error ?
>>>>>
>>>>>Thanks
>>>>
>>>>That's a syntax I have never seen before. Please check Help. And make sure that you have the updated Help file, which you can download from https://github.com/VFPX/HelpFile
>>>>
>>>>NB! Note that using the right order of the parameters sometimes is necessary.
>>>
>>>SET CLASSLIB TO ClassLibraryName [IN APPFileName | EXEFileName]
>>> [ADDITIVE] [ALIAS AliasName]
>>>
>>>This is the last version of help . In this exact order, the same error
>>
>>You have "Set myClass to ....", not "Set Classlib to ..."
>I made an error in example. I have
>Set classlib to myClass IN Test.Exe Additive Alias Ap1
>and i have the error

Is that the exact syntax, or do you use fake names here? Please Copy'n'paste the failing code line.

Update: In Help the Additive word only mentions a .vcx class library. IOW no .app or .exe mentioned. Maybe that's a restriction, I don't know. Unfortunately I don't have any way to test myself.
Previous
Reply
Map
View

Click here to load this message in the networking platform