Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application cannot find vcx libraries
Message
 
 
To
20/04/2021 14:02:52
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01679925
Message ID:
01679932
Views:
40
I just figured what is the problem. Someone must have enabled some old custom configuration and it looks for a VCX file. I just sent an email to the customer to see if he confirms.
Thanks.
>And you are not setting any paths in your code or configuration somehow? Does your code include explicit paths to the classes?
>
>Could antivirus be contributing?
>
>>The customer starts the application being on the server, then navigating to the application folder and double clicking on the application .exe file. So, Start In should not be "in the scope"
>>And I don't have the default configuration file.
>>Thank you.
>>>Just a WAG, could the "Start in folder" of the shortcut be incorrect? Or maybe you have set default directory in your code/config incorrectly?
>>>
>>>>Yes, I do have this library in the project. and the customer can run the application without any problems in the "old" location. But in the new location, the executable does not find the vcx inside itself.
>>>>That is, the executable starts, shows the main window (after user types in the password).
>>>>But as soon as he tried to go to any form, the error comes up. And the error says what I wrote in the initial message.
>>>>
>>>>>Hi Dmitry,
>>>>>
>>>>>Do you have that library included into the project? Can you search for explicit references to it in the code (e.g. if you use newobject, for example, referencing this library)?
>>>>>
>>>>>>Hi,
>>>>>>
>>>>>>A customer (of all places, in Aruba), migrated the VFP 9 application from one server to another. Now, on the new server, they can bring up the Login window. Which tells me that the application executable pointed by the desktop shortcut is ok. But then they get an error:
>>>>>>
>>>>>>Error instantiating class.  Cannot find
>>>>>>\\servername\foldername\my_lib.vcx
>>>>>>
>>>>>>Note that this app has been working on the previous server for many years; no problems.
>>>>>>
>>>>>>Where should I look for a possible solution? One thing that I am wondering, should there be a dollar sign at the end of the location specified in the configuration? That is, should it be:
>>>>>>\\servername\foldername$
>>>>>>
>>>>>>TIA
>>>>>>
>>>>>>UPDATE. I wanted to be sure that it is understood that all VCX libraries are inside the application executable.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform