Access viloation when linking without packages

2005-12-06 06:16:42 AM
I'm linking a program without packages and get an access violation at
startup. The problem is that Grahics::initialization is being called before
Classes:initialization and it can't add stuff to the RegisterIntConsts list
(because it hasn't been created yet). Does anyone know how to force a pascal
object file's initialization code to be called from BCB? The pragma statup
function would do it, except the Classes::initialization label is not