Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CmMessageValue Not Found
Message
From
27/09/2005 13:45:49
 
 
To
27/09/2005 06:00:57
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:
01053561
Views:
11
Well I finally got it to work. First I had a corrupt _gdiplus.vcx probably caused by hanging the program many many times. But after I got that fixed I then got an error about part of codemine not being found. I realized that I needed to use set classlib to .\classes\myreportlistener ADDITIVE. I forgot the Additive and it was over obviously overwriting one of the codemine classes. Then I kept getting an error it could not find _gdiplus.vcx and _frxcursor.vcx which is used in myreportlistener.vcx. It was looking in c:\program files\common files\microsoft shared\vfp\ffc. Why there I am not sure but I created that subdirectory which was really just creating the ffc subdirectory and copying the _gdiplus and _frxcursor classes in there and low and behold it worked fine. I will try to figure out why it is looking there but right now working fine. Thanks for leading me in the correct direction even if I had to deviate somewhat. Thanks again.

>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform