Menu

help me for using CB

limeng
2011-08-15
2013-04-15
  • limeng

    limeng - 2011-08-15

    hi :
    I am a software engineer from China, recently, I occasionally found CodeBook which is a excellent frameWork for VFP just like j2ee for java web work.
    I think it can improve my  project quality developed by VFP9 which should greatly reduce coupling between each module , so I download the source for trying it.but I encounter a problem…….

    I follow the instructions as followed after I create a new project  and all complie passed:

    But when I run the main.prg……

    The program is stopped for an error
    The para MSG_RETRY is not found, also MSG_CONTINUE cannot be found,so what happened since all prg have been compiled passed?

    Some step I omitted or some things else…….
    So Please help me for this little problem or some other guys in CodeBook team can give me some hints.
    Thanks a lot!!!! :)

    Limeng
    2011-8-14

     
  • Bhavbhuti Nathwani

    Have you included the .h files?  try recompile all of the project.  HTH

    Kind regards
    Bhavbhuti

     
  • limeng

    limeng - 2011-08-15

    hi Bhavbhuti:
    thanks for your suggestion! After trying totally this afternoon it seems I find the reasons for my errors.

    firstly, the project(named AAA ) I compiled is automatically created by the project newapp.APP(the project download from sourceforge),I havenot chang anyting,so I guess it must be some steps I havenot correctly done.

    If I compile the AAA directly after created through the panel button 'build' and whatever selected such as Rebuild project or Application or Win32 executable/COM server, the error MSG_CONFIG must be occurs, it  seems like  incremental compiling rather than  completely compile.

    so I had to follow the instruction that messagebox showed after AAA created
    1)CD the corresponding directory.
    2)execute startcd(.t.) to compile all file

    then, all is ok! :),

    though I still confused why compile from panel directly is failed always,however , I can keep my research on CB for my project by the right way YOUR team told me from messagebox  :)

    thank you again and appreciate any help in future :)

    Best regard
    Limeng

     
  • Bhavbhuti Nathwani

    Hi Limeng

    I am glad you have it sorted. Yes StartCB(.T.) is required on a new project.  Hope you have read the docs.

    Kind regards
    Bhavbhuti

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.