Categories
Delphi

Delphi Register procedure will not Register Controls

So, you're changing your packages and splitting them up nicely into a runtime and
design time package.  You create a new Component Registration unit and add
a register procedure, compile it all up and the register procedure never gets called
and the components are not registered……

Oh, how many times has this happened to me ? 

I finally worked out what was wrong.  Not being a copy and paste guy, I typed
in the register procedure and didn't capitalise the 'R'.  Therefore the entry
point to the DLL is never found !  Oh those case-sensitive C programmers have
a lot to answer for.

Please ensure the procedure Register is the correct case 🙂