Doh, forget it - I just realised that LoadFromResourceName looks in the current exe.
The
compiled package would include the resource in itself, so a call to
LoadFromResourceName would
fail as the resource would now be in the package - not the exe.
Code maintenance is bad hmmmkay?
:-)
Matt.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/