Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Msgsvc not in project
Message
From
29/11/2001 22:48:44
 
 
To
29/11/2001 22:45:39
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00587796
Message ID:
00587828
Views:
40
>>>Thanks for your response.
>>>
>>>As the app is first set up with "Do QStart", when startmm is run, it must know to look in the meremortals include folder for msgsvc.dbf, right? If I make a copy on my development machine and put it in my apps data directory, how will startmm know to use that copy and not the mm one?
>>
>>Good question! It's the same principle with the classes.dbf. Whenever I create a new project, the first thing I do is create a copy of the msgsvc.dbf and the classes.dbf. I usually put them on the root level of my project directory. On occasion, I have put the msgsvc.dbf in the data directory and included it with my database. But the answer to your question lies in how VFP searches the path. If you look at the startmm program, you will see the path set in the following order:
>>
>>
>>Set Path To Data, libs, progs, Include, ;
>>	graphics, Menus, METADATA, reports, ;
>>				\MMORTALS\COMMON30\libs, ;
>>				\MMORTALS\COMMON30\progs, ;
>>				\MMORTALS\COMMON30\utils, ;
>>				\MMORTALS\COMMON30\graphics, ;
>>				\MMORTALS\COMMON30\include, DEVPATH
>>
>>I believe (I am not certain) that VFP will start its search in the default directory and subdirectories in its search path before branching out to the other paths. Anyway, I have never had a problem with this.
>>
>>Keep 'em coming!
>
>James,
>
>Thanks again! Makes sense. Yes, I think VFP does start in the default dir first. Its quite a task getting familiar with a new framework. I hope everyone here will put up with my beginner questions for awhile... I really appreciate the help!

I love beginners! It makes me feel important ;)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform