Mega Search
23.2 Million


Sign Up

Make a donation  
Default Uses clause  
News Group: embarcadero.public.delphi.oodesign

Starting a new XE5 VCL Forms application I found my default Uses Clause (I mean those the IDE wrote for me )  containing  "winapi.windows" instead of just "windows".
I must be steel sleeping .. as I am unable to findout what I have done to get that .
Please let me getup !
Thanks
Manlio

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 17-Mar-2014, at 5:48 AM EST
From: Manlio Laschena
 
Re: Default Uses clause  
News Group: embarcadero.public.delphi.oodesign
The point is that through your comment and a better examination of my log dates,
I am now ( ! ) discovering that there has been a change in the default scope going from
Delphi XE to XE5. This may have been determined by the possibility to design in terms 
of multiplatforms. As you can desume I was just sleeping. Thanks
Manlio  




> {quote:title=Lajos Juhasz wrote:}{quote}
> Manlio Laschena wrote:
> 
> > Starting a new XE5 VCL Forms application I found my default Uses
> > Clause (I mean those the IDE wrote for me )  containing
> > "winapi.windows" instead of just "windows".  I must be steel sleeping
> > .. as I am unable to findout what I have done to get that .  Please
> > let me getup !  Thanks Manlio
> 
> I know only one way to get that: install XE5 ;) I am not aware a way to
> remove scope names from the default unit. However you can remove those
> prefixes by hand as long as you leave the default settings for unit
> scope names (project options -> Delphi compiler -> unit scope names).
> 
> IMHO you should remove scope names only if you must share the source
> with older versions of Delphi.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Mar-2014, at 6:43 PM EST
From: Manlio Laschena