Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CmMessageValue Not Found
Message
From
27/09/2005 06:00:57
 
 
To
26/09/2005 21:13:43
General information
Forum:
Visual FoxPro
Category:
CodeMine
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01053034
Message ID:
01053344
Views:
6
In appmain.prg, the settings you refer to are only the "initial" startup settings so that Codemine can get going. In the AppMain.vcx -> appApplication settings, you should take a look in the cClassLibraryList properties. These contain the class libraries to load via SET CLASSLIB TO, later in the startup process. These settings will override the original SET CLASSLIB assignment you have referred to in AppMain.prg. You need to check whether cmMsgMan is specified in any of the cClassLibraryList properties.

If it doesn't exist, you could manually add it or, remove the cmMsgMan class from the project and then add it back. Then, execute the Codemine "Prepare project for rebuild" option. These actions should force Codemine to add the classlib into to classlib stack.

HTH.

>I changed the following statement in appmain.prg to the following.
>
>SET CLASSLIB TO AppMain, AppForms
>SET CLASSLIB TO AppMain, AppForms, cmMsgMan
>
>and then I recompiled. But it did no good. I still get the same error when I run the EXE.????? TIA.
>
>
>
>>cmMsgMan is part of my project so I am not sure why it can not be found. The following line is the only line in my appmain.prg that I can find about setting class libraries. Should I add cmMsgMan to this line or should it be added somewhere else?
>>
>>SET CLASSLIB TO AppMain, AppForms
>>
>>TIA.
>>
>>
>>
>>
>>>You need to make sure that the cmMsgMan class library is in the SET CLASSLIB TO stack. cmMessageValue is part of that class library.
>>>
>>>>I finally wanted to try Cathy Pountney's example on graphing using her report listener example for graphing from her white paper. If I run my program from the project ide it runs fine. If I run it from the command window it runs fine. I have no forms or anything special. The only thing that must be loaded is codemine.prg (I use a select that refers to normalizestring in the original table). But if I run it from my Exe I get this error "Class definition CmMessageValue is not found". I have looked in the Codemine Help but can not find this definition. Any ideas???? TIA.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform