Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Codebook
Message
From
21/02/1998 14:41:52
 
 
To
20/02/1998 17:02:14
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Miscellaneous
Thread ID:
00080225
Message ID:
00080281
Views:
27
>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
Map
View

Click here to load this message in the networking platform