General information
Category:
Third party products
>I have just started using Codebook due to a bug up someones *&^% in management and can not get anything done. I have "patched" all the code as described in codebook for mere mortals and even the CD program doesn't work. It has 1st: SM_SCREENWIDTH is not found errors on startup and gets worse from there.
>
>I also tried the EBizObject and get isabstract.prg is not found.
>
>Any ideas?
Your problem is most likely related to pathing. The SM_SCREENWIDTH is not found is very common problem for initial Codebook users. This is caused by the file appincl.h not being available in the current path statement. When it compiles the application it cannot find the constant file so the program blows up.
The second problem is caused for exactly the same reason. You should find a program called startcb.prg within the codebook directory. I'm not sure but I believed I hacked it to hard code paths to my constant directories and set up default paths. Then run this program before modifiying any classes or before you re-compile. This program is not executed in the final EXE build. You create it only to be executed for setting up your work environment.
It is critical to at least have paths available to your constants directory or even the main.prg and setup.prg will not compile correctly. They look to the constant file to get the common library paths and meta data location. Set those paths up. recompile the entire project and you should be OK.
Hope this helps.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only