The piece of source is much too long. Please remove all parts that are
definitly not responsible for the crash and post again. You probably even find
your mistake yourself then.
User Profile
Collapse
-
CodeGuard and Borland bcc 5.5.1
Hello there,
I compile and link my soure code sucessfully with bcc32 (5.5.1) from
Borland.
Now I want to create a version with CodeGuard feature enabled.
I compile with the -vG foption and link (ilink32) with the cg32.lib.
I always get the error:
Error: Unresolved external '_CG_VALIDATEST RING' referenced from C:\BCC55\LIB\CG 32.LIB|cghelp
Error: Unresolved external '_CG_VALIDATE'... -
The error is not be ignored. If you would ignore it the program would crash.
We are dealing with function pointers. The attribute "open" of the object
"dev" is of type "function returning Rboolean* and taking no argument".
You pass a function returning Rboolean* but taking one argument
(NewDevDesc*).
If you would cast the function taking one argument to a function taking...Leave a comment:
-
you may not work with a simple while loop as in your code.
In C++ (as in C) the eof flag is only raised after your first unsuccesful
reading. That is, eof will not return true after you have read the last
line....Leave a comment:
-
You need to compile and link your program with the "-v" option (debug on).
DO NOT use the option "-v+" like the manual page says. This option is not
recognized by the linker ilink32. Just use "-v"...Leave a comment:
No activity results to display
Show More
Leave a comment: