C++ Builder IDE >> Access violation when linking without packages

by Ed Hamilton » Tue, 06 Dec 2005 06:25:45 GMT

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
visible.

Thanks,
Ed