BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

11:00 A.M 24 hours of Delphi - did they get it right?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical
View previous topic :: View next topic  
Author Message
David Wilcockson
Guest





PostPosted: Fri Jul 29, 2005 10:47 am    Post subject: 11:00 A.M 24 hours of Delphi - did they get it right? Reply with quote



http://bdn.borland.com/article/0,1410,33109,00.html

41:20 minutes into the talk 11:00AM the question is asked:

'Is the any reason why we can't use a single project file for Win32 and
..dotnet'

I think essentially the answered that followed was that you can't do this.

Borland very often talk about easy migration to dotnet use VCL.NET, but
porting (vs migrating) to .NET is also important to us (so that we can have
both a windows version and a dotnet version).

The good news is that you CAN easily achieve this (although QC10123 is still
marked as open, it seemed to be fixed in SP1)

Simply rename your bdsproj file to the name of your project and then 'win32'
(if it is a Win32 project). Open the project.dpr file again and it will ask
you to upgrade, then choose .NET. Rename to the bdsproj file again and add
'dotnet'.

Therefore:

1) myprogramdotnet.bdsproj which myprogram.dpr
2) myprogramwin32.bdsproj which myprogram.dpr


Since SP1 we have happily been opening the correct bdsproj file and then
compiling for .net or win32.

I think being able to support both platforms (Win32 and .NET) from single
source in Delphi is a tremendous selling feature - which perhaps Borland
themselves should be more aware of? :-)

David


Back to top
Leonel
Guest





PostPosted: Fri Jul 29, 2005 11:20 am    Post subject: Re: 11:00 A.M 24 hours of Delphi - did they get it right? Reply with quote



David Wilcockson wrote:

Quote:
'Is the any reason why we can't use a single project file for Win32
and .dotnet'

I think essentially the answered that followed was that you can't do
this.

(snip)

1) myprogramdotnet.bdsproj which myprogram.dpr
2) myprogramwin32.bdsproj which myprogram.dpr

Then you have two project files. <g> I think the question was if you
can have a single project file and change the target through an project
option.

But multiple bdsprojs is a fairly good solution IMO.

--
Leonel

Back to top
David Wilcockson
Guest





PostPosted: Fri Jul 29, 2005 11:45 am    Post subject: Re: 11:00 A.M 24 hours of Delphi - did they get it right? Reply with quote



Quote:
Then you have two project files.

Yes :-)

Although it's the DPR file that stores all the source code, not the BDSPROJ
(if I add more code to the 'Project Source' it's added to the dpr and so is
used by both the dotnet project and win32).

The BDSPROJ file seems really more like a configuraton file.

David



Back to top
Peter Morris [Droopy eyes
Guest





PostPosted: Fri Jul 29, 2005 2:25 pm    Post subject: Re: 11:00 A.M 24 hours of Delphi - did they get it right? Reply with quote

I thought the question was asking if you could mix file types within the
same project?


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Non-Technical All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.