Hmmm... strange problem.  The Clipbrd unit is quite small and simple, but
then again, you are dealing with a M$ product, so anything can happen.

As a hack, why don't you simply copy the unit and put that into your
package.  You will need to give it a new unit name as the unit name space is
global.

----- Original Message -----
From: Jason Coley
To: Multiple recipients of list delphi
Sent: Friday, November 14, 2003 11:25 AM
Subject: [DUG]: Packages problem


I have a com addin that works inside of Outlook, and this addin is linked to
a package which holds all of the Delphi runtime components I use and need
for all my addins, keeps my addins small.

Anyway, for some reason whenever I use the clipboard in the addin (the
ClipBrd unit is in the runtime package) Outlook crashes.

If I compile the addin without using the package it works fine.

Is there a way I can explicitly compile the ClipBrd unit into my com addin
to eliminate this problem, without taking it out of the runtime package, (I
tired to take it out of the runtime package but there are other units that
depend on the clipbrd unit which means I may have to take out a few other
units as well)

Not sure the best way to get around this problem, any help would be
appreciated.

Jason
---------------------------------------------------------------------------
    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/

Reply via email to