[DUG]: Missing unit ??

2001-10-01 Thread Jeremy Coulter



HI 
all.
I have been 
converting some components I have over to Delphi 6.
I have had to change 
DsgnInf to Designinf and include DesignEditors.
This is all fine, 
BUT when I compile, I get the error "File Not Found 
Proxies.DCU"
I have searched my 
Delphi dir and I can not find the file it mentions.
I am running D6 
Enterprise..can anyone shed some light on this problem ?


Thanks, Jeremy 
Coulter



RE: [DUG]: Missing unit ??

2001-10-01 Thread Marshall, Paul




Any 
unit that uses DesignEditors is "design-time only" code, presumably a property 
editor.
These 
units can be compiled into a design-time package (add DesignIDE to the Requires 
list), but must not be referenced by your program code, or it won't 
compile.
We had 
to split some units up, so as to keep the design-time code 
separate.

Regards, Paul.


-Original Message-From: 
Jeremy Coulter [mailto:[EMAIL PROTECTED]]Sent: Tuesday, October 02, 2001 
7:54 AMTo: Multiple recipients of list delphiSubject: 
[DUG]: Missing unit ??

  HI 
  all.
  I have been 
  converting some components I have over to Delphi 6.
  I have had to 
  change DsgnInf to Designinf and include DesignEditors.
  This is all fine, 
  BUT when I compile, I get the error "File Not Found 
  Proxies.DCU"
  I have searched my 
  Delphi dir and I can not find the file it mentions.
  I am running D6 
  Enterprise..can anyone shed some light on this problem 
  ?
  
  
  Thanks, Jeremy 
  Coulter
  




Attention: The information contained in 
this message and/or attachments from AgResearch Limited is intended only for the 
persons or entities to which it is addressed and may contain confidential and/or 
privileged material. Any review, retransmission, dissemination or other use of, 
or taking of any action in reliance upon, this information by persons or 
entities other than the intended recipients is prohibited by AgResearch Limited. 
If you have received this message in error, please notify the sender 
immediately.
   

   
   
 

 




Re: [DUG]: Missing unit ??

2001-10-01 Thread Trevor Jones




There is need to recompile DesignInfo.pas. Any references to "DsgnIntf" 
should be changed to "DesignIntf" and DesignIDE should be added to the list of 
required packages in an package using DesignIntf.
The DesignIntf and DesignEditors units are for design-time use only. They 
shouldn't be used in any units that are used at run-time. To compile cleanly 
under Delphi 6, move any code that relies on these units to a new unit that 
contains no run-time code. Add it and DesignIde.dcp to your package.
Effectively you now need 2 packages for any collection of components which 
have design-time stuff such as property editors. A run-time and a 
design-time package. There were big warnings about this when Delhpi 5 (or 
maybe Delphi 4) came out. The docos said that you should never have 
design-time code in run-time packages (but you could get away with it). In 
Delphi 6, this is now enforced.
I think you'll find it is not too big a deal.
Trevor


  - Original Message - 
  From: 
  Jeremy Coulter 
  To: Multiple recipients of list delphi 
  
  Sent: Tuesday, October 02, 2001 7:53 
  AM
  Subject: [DUG]: Missing unit ??
  
  HI 
  all.
  I have been 
  converting some components I have over to Delphi 6.
  I have had to 
  change DsgnInf to Designinf and include DesignEditors.
  This is all fine, 
  BUT when I compile, I get the error "File Not Found 
  Proxies.DCU"
  I have searched my 
  Delphi dir and I can not find the file it mentions.
  I am running D6 
  Enterprise..can anyone shed some light on this problem 
  ?
  
  
  Thanks, Jeremy 
  Coulter
  


RE: [DUG]: Missing unit ??

2001-10-01 Thread vss

Thanks guys. Yes thats fixed the problemI was getting worried there 
for a few moments.

Cheers, Jeremy Coulter

-Original Message-
From: Marshall, Paul [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Date: Tue, 2 Oct 2001 08:44:39 +1200
Subject: RE: [DUG]:  Missing unit ??

 Any unit that uses DesignEditors is design-time only code, presumably
 a property editor.
 These units can be compiled into a design-time package (add DesignIDE
 to
 the Requires list), but must not be referenced by your program code, or
 it won't compile.
 We had to split some units up, so as to keep the design-time code
 separate.
  
 Regards, Paul. 
  
  
  -Original Message-
 From: Jeremy Coulter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, October 02, 2001 7:54 AM
 To: Multiple recipients of list delphi
 Subject: [DUG]: Missing unit ??
 
 
 
 HI all.
 I have been converting some components I have over to Delphi 6.
 I have had to change DsgnInf to Designinf and include DesignEditors.
 This is all fine, BUT when I compile, I get the error File Not Found
 Proxies.DCU
 I have searched my Delphi dir and I can not find the file it mentions.
 I am running D6 Enterprise..can anyone shed some light on this
 problem ?
  
  
 Thanks, Jeremy Coulter
  
 
 
 ===
 Attention: The information contained in this message and/or attachments
 from AgResearch Limited is intended only for the persons or entities
 to which it is addressed and may contain confidential and/or privileged
 material. Any review, retransmission, dissemination or other use of, or
 taking of any action in reliance upon, this information by persons or
 entities other than the intended recipients is prohibited by AgResearch
 Limited. If you have received this message in error, please notify the
 sender immediately.
 ===
 


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



Re: [DUG]: Missing unit ??

2001-10-01 Thread Nic Wise

have a look thru the archives - this one has been done a few times before :)

Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


Nic.

- Original Message -
From: Jeremy Coulter [EMAIL PROTECTED]
To: Multiple recipients of list delphi [EMAIL PROTECTED]
Sent: Tuesday, October 02, 2001 7:53 AM
Subject: [DUG]: Missing unit ??


 HI all.
 I have been converting some components I have over to Delphi 6.
 I have had to change DsgnInf to Designinf and include DesignEditors.
 This is all fine, BUT when I compile, I get the error File Not Found
 Proxies.DCU
 I have searched my Delphi dir and I can not find the file it mentions.
 I am running D6 Enterprise..can anyone shed some light on this problem
?


 Thanks, Jeremy Coulter



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