No i hadnt, i just included it at the top of the main prg
(#include cld.lib) file . The compiler is giving error messages "cld.lib(lineno) Error C2004 Illegal character..."
The things you can INCLUDE in a PRG file are text files with #define's, #translate's and other preprocessor commands, but you can not include a LIB file!
Why? Because a lib file is a binary collection of compiled code...
So, in order to run the debugger using ALT-D you must place an instruction call in your LINK SCRIPT (or link file, as Bismir calls it).
I'm sorry...I dont mean to ask stupid questions....on the other hand, yes I do
Okay to compile my clipper app I run the cl53.bat file.
The link section is:
clipper\bin\exospace file main
del main.obj
Where do I put the instruction call? Also if I make changes to a single .prg how can I incorporate that into an existing obj? leaving the other compiled code as is?
Just write:
IF your program start with ex: FUNCTION Main() you must include switch /n , like: clipper main /n /b but if not
clipper main /b
exospace fi main lib cld
Now you have included debuger into your exe
After you start your application you can call debuger if you use combination Alt+D
I hope you finally know how
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.