Hello My Friend!
How are ya!
I upgraded a long time ago with no problems. The FixCommonHeaders program misses upgrading some of the paths in the appApplicationSettings class where the class libraries and procedure files are specified as properties of the class. The message just seems to be saying that it cannot locate the class libraries to instantiate them. If your CDE classes are where they should be, then it can only be a pathing issue.
Look in appApplicationSettings and see whether the paths that are specified in there are correct.
Then, come back to me and let me know. Don't worry, we will sort it.
Best
-=Gary
>Hi all.
>Specially "one" all.
>
>Hope you are still there to help me, as usual.
>
>I've just upgraded to VFP9 and Codemine 7.5
>
>First big problem :
>
>
>Error #1733 in Createnewobject line 151
>"RETURN NEWOBJECT(m.cClassAlias, m.cLibrary, '' &cParams)"
>Class definition CDEFUNCOES is not found.
>
>Llamada a pila:
>7 Createnewobject (..\..\codemine\common\codemine.fxp)
>6 Formfrmfuncoes001.Loaddataenvironment (..\..\codemine\common\cmforms.vct)
>5 Frmform.Load (..\..\codemine\common\cmforms.vct)
>4 Formfrmfuncoes001.Load (..\..\codemine\common\cmforms.vct)
>3 Cmstatemanager.Cmformcollection.Add (..\..\codemine\common\cmstate.vct)
>2 Tbrdevelopmenttoolbarcustom.Cmdtoolbuttonrun1.Doform (..\..\codemine\common\cmdevenv.vct)
>1 Tbrdevelopmenttoolbarcustom.Cmdtoolbuttonrun1.Click (..\..\codemine\common\cmdevenv.vct)
>
>
>I've run the "tools\FixCommonHeaders.prg" both in the Codemine root, as in my applications root too, which isn't in the Codemine tree, so I changed the "tools\FixCommonHeaders.prg" to search in my app tree.
>
>Then, after rebuilding my project, I initialized de Codemine environment as told in the instructions.
>
>Now, when I run any form, I get the above, for the CDE specified in the cDataEnvironment property.
>
>Any help ?
>
>Thanks in advance.
-=Gary