|
So the question is whether or not string literals (or const strings) in Delphi 2009/2010 can be directly cast as PAnsiChar's or do they need an additional cast to AnsiString first for this to work?
The background is that I am calling functions in a legacy...
Started by velumenous on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Things like:
const FRED = 'Frédérick';
I'm pretty sure Delphi 2009/2010 will either issue charset.
|
|
It's almost here
A mere 14 hours to go!
Use this thread for anything football club related in 2009/2010, all leagues welcome.
Predictions anyone?
Started by megadave on
, 30 posts
by 15 people.
Answer Snippets (Read the full thread at freddyshouse):
Copenhagen to win the Danish league again this year with OB second
Copenhagen will also advance from the group stage in CL ... .
Wolves to go down with -14 points, thats all i know we're going to win with 127 points, win every game and steal 13 off wolves .
|
|
I have to convert a large legacy application to Delphi 2009 which uses strings, AnsiStrings, WideStrings and UTF8 data all over the place and I have a hard time to understand how the new string types work and how they should be used.
The application fully...
Started by DR on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
One pitfall is that the default ....
See Delphi and Unicode , a white paper written by Marco Cantù and I guess The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!) , written by Joel .
|
Ask your Facebook Friends
|
Hello,
I have the following method in C#:
public T Read<T>() { T[] t = new T[1]; int s = Marshal.SizeOf(typeof(T)); if (index + s > size) throw new Exception("Error 101 Celebrity"); GCHandle handle = GCHandle.Alloc(t, GCHandleType.Pinned); Marshal...
Started by John on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Function TReader.Read <T>: T; begin if FIndex + SizeOf (T) > Length (FDataRead) then raise Exception.Create ('Error 101 Celebrity'); Move (FDataRead[FIndex], Result... .
A similar question was asked about Delphi Generics, you may want to take a look .
|
|
I'm slowly converting my existing code into Delphi 2010 and read several of the articles on Embarcaedro web site as well as Marco Cantú whitepaper.
There are still some things I haven't understood, so here are two functions to exemplify my question:
function...
Started by smartins on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I think....
When you're done, you can encode everything as UTF-8 again .
Decode them into a saner representation first, and then operate on them .
That's almost always a bad idea.
Guessing from your problem description, you seem to process UTF8-encoded strings .
|
|
If you've purchased the Software Assurance, can you please share your experience? Was it worthwhile?
I vaguely remember reading some negative comments about SA maybe 1 or 2 years ago.
Started by Pato Moschcovich on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
If you normally upgrade each time a new version of Delphi is... .
I think it makes it worth it for me, as I have less to think about and get the software when it comes out .
I bought SA for D2007, renewed twice, and have had D2009 and D2010 for my troubles .
|
|
Hello Everyone,
First off, yes..lol.. We are still around and working very hard. This year has been crazy with the work of moving our pan car program over to TOP Racing but with the unexpected sucess of the Photon TC they have not been able to keep up...
Started by Josh Cyrul on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at hobbytalk):
I have a little to discuss with the web guy tommorow about the shopping... .
Updates were made to the site and other projects were worked on .
Great to see CEFX still huggin' that left-turn white line! Good luck Josh & CEFX!!!!
Sparky Well, time for some sleep .
|
|
Are 2009/2010 mavic st rear hubs convertible to 142 through axle?
Started by Nsynk on
, 4 posts
by 3 people.
Answer Snippets (Read the full thread at mtbr):
Crossmax ST X-12 Conversion? Thanks ban..
Subscribed.
Interested in same but throw 2011 on the list as well.. .
|
|
2009/2010 OHL Thread
time for a new thread, summer is just about over and the OHL has started up with Windsor as the #1 ranked team in the CHL. Unfortunately, that wont last very long, as they brought a Memorial Cup hangover into the first week, with ...
Started by Kdoogie24 on
, 40 posts
by 6 people.
Answer Snippets (Read the full thread at motownsports):
Will be home for a week in October but because I am going to the Red Wings-Kings on the Thursday night, the Saturday Kingston @ Sarnia game is... .
I'll add some comments on the Sarnia Sting and Vancouver Giants/WHL once I have something intelligent to add .
|
|
WTS Sinn 2009/2010 catalogue. letting this go as ive read finish the catalogue.
$8.
self collect please, thanks.
Started by Mille on
, 2 posts
by 1 people.
Answer Snippets (Read the full thread at sg-roc):
Anyone?.
|