Roger Chaplin wrote:
>
> First, let me say I don't want to take away anything from Daniel. In
> fact, when I first embarked upon the hacker journey, I studied Daniel's
> source in order to figure it all out.
>
> But then I figured out how to eliminate the need for Pila, thus being
> able to write hacks using only GCC and prc-tools. I've put together a
> little sample (that actually works, and may even be bug-free).
>
> http://foursquaredev.home.att.net/rpp/samplehack.zip
After playing around with this for a little while (getting it to work
under Win32) it definitely seems to be the better approach. It
eliminates
Pila from the mix, which is a plus when all the code is in C anyway.
Pila usually creates two dummy code resources with id's 0 and 1, at 8
bytes apiece, so that's just wasted space. Compiling and gluing with
GCC only
results in a smaller PRC, too.
Regards,
Daniel.