Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

32-bit to 64 bit porting

Status
Not open for further replies.

Arc321

Programmer
Jun 25, 2009
2
I am writing a cleint server application and i want this application to run on 32-bit and as well as 64-bit. What data types and sring i have to used that would be generic for both.

Please help me on this.


thanks
IK
 
There is no 64 bit version of Delphi as yet (or ever?).

Also Delphi will warn you about unsafe data types (for cross platform type stuff) at compile time (unless you switch the warnings off).

Steve: N.M.N.F.
If something is popular, it must be wrong: Mark Twain
 
next version of delphi (commodore) will be 64-bit enabled.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Thanks.

But later we have commodore i.e., is 64-bit so what recomenede datatypes we should use so that when we port it our effort should me less.

waiting for some answer that will help in this context.

regards
IK
 
knowing delphi,
I suppose you won't have to do nothing.

Like integer type will be 64 bit in commodore (vs 32 bit today)
If you use int64 type, you may need to change it to integer.

but these are assumptions offcourse. if you are using values which fall into the 32-bit boundaries, you shouldn't worry.

having 64 bit is all about to be able to use more than the 2GB limit we have now.

/Daddy

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top