Different result between Delphi 2009 and 2007

I'm still using Turbopower's OnGuard for some basic protection, which 
generates a unique modifier for each PC. I'm getting a different modifier 
with Delphi 2009 than with any other version, and I've tracked it down to 
the following code, but am not sure what, if anything I can do about it. 
Any advice welcomed.

If you run the following code, with the two versions, then the buffer 
(buf) resulting from the registry call is different, albeit the actual 
string at the front is the same (but the Onguard code uses [with lots of 
other things] the entire buffer, maybe incorrectly, to create a unique 
code):

const
   sCurVerNT = 'Software\Microsoft\Windows NT\CurrentVersion';
   sRegOwner = 'RegisteredOwner';
var  I       : DWord;
   RegKey  : HKEY;
   Buf     : array [0..1023] of Byte;
   s:string;
begin
   if (RegOpenKeyEx(HKEY_LOCAL_MACHINE, sCurVerNT, 0,KEY_QUERY_VALUE, RegKey) = ERROR_SUCCESS) then begin
     I := SizeOf(Buf);
     if RegQueryValueEx(RegKey, sRegOwner, nil, nil, @Buf, @I) = ERROR_SUCCESS then begin
       SetLength(s, SizeOf(Buf));
       Move(Buf[0], s[1], SizeOf(Buf));
	//I then sent s to codesite to view it
     end;
     RegCloseKey(RegKey);
   end;
end;

If you just look at the string itself, then the result is the same, but if 
you look at the contents of the buffer in the debugger, then the result 
(on my PC) from Delphi 2007 vs Delphi 2009 is shown below. The difference 
is obviously due to the Unicode bits, but my question is can I make the 
Delphi 2009 version give the same result?

Delphi 2007:
(74, 101, 114, 101, 109, 121, 32, 75, 110, 111, 119, 108, 101, 115, 0, 0, 
110, 0, 111, 0, 119, 0, 108, 0, 101, 0, 115, 0, 0, 0, 25, 0, 78, 188, 0, 
0, 182, 21, 25, 0, 32, 0, 0, 0, 180, 142, 63, 119, 2, 0, 0, 0, 0, 0, 0, 0, 
112, 154, 22, 0, 166, 136, 65, 126, 108, 27, 1, 199, 7, 0, 0, 0, 0, 0, 0, 
0, 16, 0, 0, 0, 1, 0, 0, 0, 32, 242, 19, 0, 76, 242, 19, 0, 40, 127, 241, 
119, 108, 27, 1, 199, 18, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
208, 242, 19, 0, 0, 0, 0, 0, 7, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 108, 27, 
1, 199, 7, 0, 0, 0, 208, 242, 19, 0, 212, 244, 19, 0, 144, 188, 66, 126, 
108, 27, 1, 199, 18, 0, 0, 0, 6, 0, 0, 0, 208, 242, 19, 0, 7, 0, 0, 0, 18, 
0, 0, 0, 168, 246, 19, 0, 183, 188, 66, 126, 2, 0, 0, 0, 255, 255, 255, 
255, 139, 141, 66, 126, 100, 153, 63, 119, 182, 21, 25, 0, 14, 0, 0, 0, 0, 
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 180, 142, 63, 119, 192, 153, 63, 119, 78, 
188, 0, 0, 182, 21, 25, 0, 5, 0, 0, 0, 1, 0, 0, 0, 4, 244, 19, 0, 40, 0, 
0, 0, 101, 12, 255, 255, 182, 21, 25, 0, 96, 141, 22, 0, 182, 21, 25, 0, 
0, 2, 55, 0, 255, 255, 0, 0, 0, 2, 55, 0, 116, 0, 116, 0, 111, 0, 110, 0, 
49, 0, 0, 0, 34, 0, 0, 0, 92, 246, 19, 0, 144, 89, 55, 0, 0, 0, 0, 0, 0, 
0, 0, 0, 120, 0, 0, 0, 0, 0, 3, 4, 160, 1, 22, 0, 40, 0, 0, 0, 0, 0, 22, 
0, 4, 241, 19, 0, 60, 245, 19, 0, 148, 243, 19, 0, 0, 233, 144, 124, 248, 
146, 145, 124, 255, 255, 255, 255, 239, 146, 145, 124, 164, 243, 19, 0, 0, 
0, 0, 0, 8, 6, 22, 0, 68, 209, 150, 124, 0, 0, 22, 0, 0, 0, 0, 0, 17, 0, 
0, 0, 168, 243, 19, 0, 217, 139, 65, 126, 136, 0, 0, 0, 168, 243, 19, 0, 
90, 136, 65, 126, 16, 89, 55, 0, 42, 136, 65, 126, 16, 89, 55, 0, 24, 89, 
55, 0, 120, 0, 0, 0, 20, 0, 0, 0, 128, 141, 22, 0, 96, 141, 22, 0, 40, 0, 
0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 167, 198, 150, 124, 
0, 0, 3, 4, 0, 2, 55, 0, 136, 0, 0, 0, 0, 0, 55, 0, 152, 241, 19, 0, 255, 
255, 255, 255, 40, 244, 19, 0, 0, 233, 144, 124, 248, 146, 145, 124, 255, 
255, 255, 255, 239, 146, 145, 124, 56, 244, 19, 0, 96, 209, 150, 124, 8, 
6, 55, 0, 68, 209, 150, 124, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 55, 0, 101, 
12, 255, 255, 112, 246, 19, 0, 200, 54, 177, 0, 7, 0, 0, 0, 208, 243, 19, 
0, 212, 246, 19, 0, 64, 246, 19, 0, 143, 4, 68, 126, 176, 142, 66, 126, 
255, 255, 255, 255, 190, 136, 0, 0, 144, 89, 55, 0, 16, 89, 55, 0, 136, 0, 
0, 0, 0, 0, 55, 0, 56, 0, 0, 0, 0, 0, 0, 0, 24, 89, 55, 0, 108, 255, 80, 
1, 200, 243, 19, 0, 0, 0, 0, 0, 88, 246, 19, 0, 0, 233, 144, 124, 104, 
209, 150, 124, 255, 255, 255, 255, 68, 209, 150, 124, 100, 149, 148, 124, 
0, 0, 55, 0, 97, 1, 0, 80, 239, 146, 145, 124, 0, 0, 0, 0, 112, 0, 0, 0, 
0, 0, 55, 0, 96, 2, 0, 0, 104, 141, 22, 0, 7, 0, 0, 0, 1, 0, 0, 0, 152, 
117, 241, 119, 32, 64, 245, 119, 0, 0, 0, 0, 0, 0, 0, 0, 13, 107, 241, 
119, 0, 0, 0, 0, 156, 244, 19, 0, 37, 107, 241, 119, 108, 27, 1, 199, 104, 
141, 22, 0, 7, 0, 0, 0, 192, 244, 19, 0, 1, 0, 0, 0, 208, 244, 19, 0, 26, 
185, 66, 126, 108, 27, 1, 199, 104, 141, 22, 0, 7, 0, 0, 0, 192, 244, 19, 
0, 18, 0, 0, 0, 168, 246, 19, 0, 37, 0, 16, 0, 38, 0, 0, 0, 13, 0, 0, 0, 
0, 240, 253, 127, 38, 0, 0, 0, 8, 245, 19, 0, 187, 184, 66, 126, 108, 27, 
1, 199, 104, 141, 22, 0, 7, 0, 0, 0, 0, 0, 22, 0, 96, 141, 22, 0, 0, 0, 0, 
0, 220, 245, 19, 0, 0, 0, 0, 0, 220, 245, 19, 0, 234, 118, 146, 124, 0, 0, 
22, 0, 100, 119, 146, 124, 96, 141, 22, 0, 0, 0, 22, 0, 104, 141, 22, 0, 
0, 0, 0, 0, 6, 0, 0, 0, 104, 141, 22, 0, 32, 0, 0, 0, 1, 0, 0, 0, 104, 
141, 22, 0, 3, 0, 0, 0, 255, 255, 255, 255, 104, 141, 22, 0, 168, 246, 19, 
0, 120, 246, 19, 0, 228, 195, 66, 126, 108, 27, 1, 199, 0, 0, 0, 0, 104, 
141, 22, 0, 7, 0, 0, 0, 37, 0, 16, 0, 168, 246, 19, 0, 255, 255, 255, 255, 
6, 0, 0, 0, 160, 1, 22, 0, 255, 195, 66, 126, 96, 141, 22, 0, 40, 0, 0, 0, 
187, 15, 249, 1, 224, 245, 19, 0, 1, 0, 0, 0, 160, 1, 22, 0, 224, 245, 19, 
0, 90, 136, 65, 126, 0, 0, 55, 0, 16, 89, 55, 0, 0, 0, 0, 0, 132, 246, 19, 
0, 0, 0, 0, 0, 132, 246, 19, 0, 234, 118, 146, 124, 0, 0, 55, 0, 100, 119, 
146, 124, 16, 89, 55, 0, 103, 68, 64, 0)

Delphi 2009:
(74, 0, 101, 0, 114, 0, 101, 0, 109, 0, 121, 0, 32, 0, 75, 0, 110, 0, 111, 
0, 119, 0, 108, 0, 101, 0, 115, 0, 0, 0, 22, 0, 100, 242, 19, 0, 200, 15, 
251, 1, 200, 15, 251, 1, 96, 118, 169, 0, 252, 241, 19, 0, 114, 50, 71, 0, 
24, 3, 0, 0, 16, 50, 1, 211, 4, 0, 0, 0, 16, 50, 1, 211, 7, 0, 0, 0, 0, 0, 
0, 0, 16, 0, 0, 0, 1, 0, 0, 0, 16, 50, 1, 211, 76, 242, 19, 0, 40, 127, 
241, 119, 16, 50, 1, 211, 18, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 
208, 242, 19, 0, 0, 0, 0, 0, 7, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 16, 50, 
1, 211, 7, 0, 0, 0, 208, 242, 19, 0, 212, 244, 19, 0, 144, 188, 66, 126, 
16, 50, 1, 211, 18, 0, 0, 0, 6, 0, 0, 0, 208, 242, 19, 0, 7, 0, 0, 0, 18, 
0, 0, 0, 168, 246, 19, 0, 183, 188, 66, 126, 2, 0, 0, 0, 68, 242, 19, 0, 
104, 0, 0, 0, 8, 245, 19, 0, 143, 4, 68, 126, 48, 136, 65, 126, 255, 255, 
255, 255, 42, 136, 65, 126, 0, 0, 0, 0, 0, 0, 0, 0, 200, 1, 22, 0, 234, 
18, 82, 0, 24, 3, 0, 0, 5, 0, 0, 0, 4, 0, 0, 0, 180, 57, 133, 0, 40, 0, 0, 
0, 200, 242, 19, 0, 124, 148, 66, 126, 112, 216, 22, 0, 11, 0, 0, 0, 0, 2, 
55, 0, 255, 255, 0, 0, 0, 2, 55, 0, 116, 0, 116, 0, 111, 0, 110, 0, 49, 0, 
0, 0, 116, 0, 0, 0, 208, 104, 168, 0, 32, 92, 55, 0, 0, 0, 0, 0, 0, 0, 0, 
0, 120, 0, 0, 0, 2, 0, 0, 0, 120, 216, 22, 0, 200, 225, 22, 0, 166, 136, 
65, 126, 4, 241, 19, 0, 8, 43, 170, 0, 148, 243, 19, 0, 0, 233, 144, 124, 
248, 146, 145, 124, 255, 255, 255, 255, 239, 146, 145, 124, 164, 243, 19, 
0, 0, 0, 0, 0, 217, 141, 66, 126, 210, 21, 23, 0, 13, 0, 0, 0, 8, 0, 0, 0, 
17, 0, 0, 0, 0, 0, 0, 0, 217, 139, 65, 126, 136, 0, 0, 0, 120, 216, 22, 0, 
140, 243, 19, 0, 160, 91, 55, 0, 139, 141, 66, 126, 160, 91, 55, 0, 168, 
91, 55, 0, 120, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 7, 0, 0, 0, 92, 243, 19, 
0, 166, 136, 65, 126, 168, 244, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 167, 198, 
150, 124, 0, 0, 3, 4, 0, 2, 55, 0, 136, 0, 0, 0, 0, 0, 55, 0, 152, 241, 
19, 0, 120, 216, 22, 0, 40, 244, 19, 0, 0, 233, 144, 124, 248, 146, 145, 
124, 255, 255, 255, 255, 239, 146, 145, 124, 56, 244, 19, 0, 96, 209, 150, 
124, 8, 6, 55, 0, 68, 209, 150, 124, 0, 0, 55, 0, 0, 0, 0, 0, 0, 0, 55, 0, 
210, 21, 23, 0, 7, 0, 0, 0, 8, 0, 0, 0, 204, 248, 19, 0, 164, 245, 19, 0, 
96, 118, 169, 0, 12, 211, 144, 124, 95, 12, 131, 124, 244, 205, 173, 0, 0, 
0, 0, 0, 210, 21, 23, 0, 32, 92, 55, 0, 160, 91, 55, 0, 136, 0, 0, 0, 0, 
0, 55, 0, 164, 245, 19, 0, 0, 0, 0, 0, 168, 91, 55, 0, 44, 244, 19, 1, 
200, 243, 19, 0, 80, 244, 19, 0, 88, 246, 19, 0, 0, 233, 144, 124, 104, 
209, 150, 124, 255, 255, 255, 255, 68, 209, 150, 124, 100, 149, 148, 124, 
0, 0, 55, 0, 97, 1, 0, 80, 239, 146, 145, 124, 0, 0, 0, 0, 112, 0, 0, 0, 
0, 0, 55, 0, 96, 2, 0, 0, 120, 216, 22, 0, 7, 0, 0, 0, 1, 0, 0, 0, 152, 
117, 241, 119, 32, 64, 245, 119, 0, 0, 0, 0, 0, 0, 0, 0, 13, 107, 241, 
119, 0, 0, 0, 0, 156, 244, 19, 0, 37, 107, 241, 119, 16, 50, 1, 211, 120, 
216, 22, 0, 7, 0, 0, 0, 192, 244, 19, 0, 1, 0, 0, 0, 208, 244, 19, 0, 26, 
185, 66, 126, 16, 50, 1, 211, 120, 216, 22, 0, 7, 0, 0, 0, 192, 244, 19, 
0, 18, 0, 0, 0, 168, 246, 19, 0, 37, 0, 16, 0, 38, 0, 0, 0, 13, 0, 0, 0, 
0, 224, 253, 127, 38, 0, 0, 0, 112, 216, 22, 0, 128, 147, 148, 124, 168, 
216, 22, 0, 64, 0, 0, 0, 238, 254, 238, 254, 0, 0, 22, 0, 112, 216, 22, 0, 
0, 0, 0, 0, 220, 245, 19, 0, 0, 0, 0, 0, 220, 245, 19, 0, 234, 118, 146, 
124, 0, 0, 22, 0, 100, 119, 146, 124, 112, 216, 22, 0, 0, 0, 22, 0, 120, 
216, 22, 0, 0, 0, 0, 0, 6, 0, 0, 0, 120, 216, 22, 0, 128, 0, 0, 0, 1, 0, 
0, 0, 120, 216, 22, 0, 3, 0, 0, 0, 255, 255, 255, 255, 120, 216, 22, 0, 
168, 246, 19, 0, 120, 246, 19, 0, 228, 195, 66, 126, 16, 50, 1, 211, 1, 0, 
0, 0, 120, 216, 22, 0, 7, 0, 0, 0, 37, 0, 16, 0, 168, 246, 19, 0, 255, 
255, 255, 255, 6, 0, 0, 0, 240, 1, 22, 0, 255, 195, 66, 126, 112, 216, 22, 
0, 40, 0, 0, 0, 220, 245, 19, 0, 217, 139, 65, 126, 1, 0, 0, 0, 240, 1, 
22, 0, 90, 136, 65, 126, 156, 245, 19, 0, 0, 0, 55, 0, 160, 91, 55, 0, 0, 
0, 0, 0, 132, 246, 19, 0, 0, 0, 0, 0, 132, 246, 19, 0, 234, 118, 146, 124, 
0, 0, 55, 0, 100, 119, 146, 124, 23, 69, 64, 0)
0
Jeremy
12/16/2008 11:26:15 AM
embarcadero.delphi.win32 2183 articles. 0 followers. Follow

6 Replies
527 Views

Similar Articles

[PageSpeed] 25

> {quote:title=Jeremy Knowles wrote:}
>    s:string;

Change the "s: string" declaration to "s: AnsiString". But then you shouldn't assign s to a UnicodeString ( =string ).
 
 
Regards,
Andreas Hausladen
0
Andreas
12/16/2008 11:46:23 AM
Andreas Hausladen wrote:

>Change the "s: string" declaration to "s: AnsiString". But then you 
>shouldn't assign s to a UnicodeString ( =string ).

Well, the use of the string is just for me to look at it, it is at the Buf 
Char array where the differences are important, i.e. the fact that the 
integers in the array shown are not the same that is causing me the actual 
problem.

-- 
Jeremy Knowles
0
Jeremy
12/16/2008 11:50:30 AM
Andreas Hausladen wrote:


>Change the "s: string" declaration to "s: AnsiString". But then you 
>shouldn't assign s to a UnicodeString ( =string ).
>
>
Actually, I can see where the 'problem' lies now, it takes the correct 
string in the buffer, but of course the 2009 version's buffer (and the 
2009 version is thus twice the length of the 2007 version) has the extra 
'0' after each byte to cope with the unicode version so I just need to 
work out how to cope with this.


-- 
Jeremy Knowles
0
Jeremy
12/16/2008 1:06:34 PM
"Jeremy Knowles" wrote

> Actually, I can see where the 'problem' lies now, it takes the correct
> string in the buffer, but of course the 2009 version's buffer (and the
> 2009 version is thus twice the length of the 2007 version) has the extra
> '0' after each byte to cope with the unicode version so I just need to
> work out how to cope with this.

The key difference is that in Delphi 2007 the function RegOpenKeyEx is 
mapped to RegOpenKeyExA (returning an AnsiString in the buffer) whereas in 
Delphi 2009 it is mapped to RegOpenKeyExW (returning a WideString).

If you want the same result as in Delphi 2007, simply use an explicit call 
to RegOpenKeyExA.

Robert
0
Robert
12/16/2008 3:11:24 PM
Robert Houdart wrote:

>If you want the same result as in Delphi 2007, simply use an explicit call 
>to RegOpenKeyExA.

Robert - you sir, are a star, that was indeed the issue and I have learnt 
something today as well.

All is working well so at last I am working fully on Delphi 2009!

-- 
Jeremy Knowles
0
Jeremy
12/16/2008 3:41:04 PM
Jeremy Knowles wrote:

>
>All is working well

I forgot to say thanks!

-- 
Jeremy Knowles
0
Jeremy
12/16/2008 3:49:22 PM
Reply:

Similar Artilces:

Indy IdHMACSHA1 different results in Delphi 2007 and Delphi 2009
Hello newsgroup A test of the IdHMACSHA1 encryption method shows different results, and I am not sure if there is an error in my code or in the Indy code shipped with Delphi 2009. The Delphi 2007 version works in an application which communicates with Amazon Web Services and so it seems to be the correct one. Any suggestions are very welcome, maybe I just need to download a newer version of Indy? program Test; {$APPTYPE CONSOLE} uses IdHMACSHA1, IdCoderMIME, IdGlobal, SysUtils; function Base64Encode(const Input: string): string; begin Result := TIdEncode...

Delphi 2007 to Delphi 2009 Conversion
CharArrayPtr = ^CharArray; CharArray = array[0..MaxInt-1] of Char; How to convert to Delphi 2009? Bill Bill Miller wrote: > CharArrayPtr = ^CharArray; > CharArray = array[0..MaxInt-1] of Char; > > How to convert to Delphi 2009? > > Bill it depends heavelly on how it is used fearther down in your project and what you want to convert it to. I you want to simple convert the declarations ignoring UNicode altogether then the only think you have to change is the CharArray declaratin from a Char to an AnsiChar eg CharArrayPtr = ^CharArray; CharArray =...

Delphi 2009 alongside Delphi 2007
Hi all, I am about to install Delphi 2009 on the same development system as Delphi 2007, before I embark is there anything I should be aware of so as to not break my Delphi 2007 installation and projects ? Thanks JT John Taylor wrote: > Hi all, > > I am about to install Delphi 2009 on the same development system > as Delphi 2007, before I embark is there anything I should be aware > of so as to not break my Delphi 2007 installation and projects ? As long as you install into a separate folder there is no problem with the two versions getting into each other...

is there a Delphi 2007
Would be nice to have a bundle of the latest Delphi packages. Gilbert Padilla wrote: > Would be nice to have a bundle of the latest Delphi packages. > I expect Delphi 2007 will only be on sale until the full RAD Studio 2009 edition is published, including Delphi 2009.net. W ...

Code Porting
Hi people, Basically, I am moving an app from Delphi 5 to Delphi 2009 which is all great (yeah right!) and I am having a couple of issues with some thirdparty components that we have the source code for. Being that I wanted to make the task as easy as possible, I was able to download the component in Delphi 2007 format. I have now managed to port that to 2009 so it compiles only with warnings and no errors. So all is good at this moment. Now I am trying to install the component into the IDE by using the install menu option from the project manager. This is where I run into errors. ...

Migrate from Delphi 2007 for Win32 to Delphi XE
we use Delphi 2007 for Win32 to support legacy (32Bit) OWL-based pascal applications (yes i know it was a mistake not to switch to VCL 15 years ago). could our applications still be opened and compiled with Delphi XE? The existing projects are all plain Pascal-Code, coming back from the times of Turbo Pascal for Windows and later on Borland Pascal. Are there any improvements we could profit from (i.e IDE, Debugger)? Thanks Andrej > {quote:title=Andrej Dimic wrote:}{quote} > could our applications still be opened and compiled with Delphi XE? I'm not sure, but I guess ...

Restore Delphi 2007 dbxpress after testing Delphi 2009
Over on another thread I mentioned that I was having problems with dbxpress after testing Delphi 2009. It started that I noticed that Delphi 2007 was compiling against the newer version of dbxpress drivers (dbxmys.dll, rather than dbxmys30.dll). This was spotted after testing an application on a colleagues machine that had the older driver, but not the newer. The application was "pure" 2007. This continued after uninstalling Delphi 2009. It was suggested that Delphi 2009 had overwritten my +dbxdrivers.ini+ file - and looking at it that looks like the problem. It was also...

Can I update my Delphi 2007 lincense to Delphi 2009?
Hi all!! I have 12 lincense of Delphi 2007. When I bought these licenses to your partner told us that we could update to Delphi 2009 free. But, now I try to do that and I can't do. Are there any reason for that? Can I update my version of Delphi? > {quote:title=Oscar Estevez wrote:}{quote} > Hi all!! > > I have 12 lincense of Delphi 2007. When I bought these licenses to your partner told us that we could update to Delphi 2009 free. But, now I try to do that and I can't do. > Are there any reason for that? > > Can I update my version of Delphi? ...

can i use delphi 2007 bpls in delphi 2009
can i use delphi 2007 bpls in delphi 2009 ? "Gaetan SIRY" skrev i meddelelsen news:8703@forums.codegear.com... > can i use delphi 2007 bpls in delphi 2009 ? No. -- Finn Tolderlund The compatiblity between D2006 and D2007 was unique. Normaly they can't be compatible because new version enhance/change the API. And D2009 defines String = Unicode where older version has String = Ansistring so D200x/Dx-BPL are 200% incompatible with D2009. ...

Delphi 2007 for Win32 version differences
Hi, When I installed D2007 on my laptop last week and updated over the net it it finally became version 11.0.0.2902.10471. My version on my desktop is still 11.0.2804.9245 (corresponding to Update 3). However I can't find any more recent updates but apparently there are newer updates since my laptop has a more recent version. Anyone knows what these updates are? and how to get them? It's not a big thing at the moment since I use my desktop pc for the final builds, but I like to keep things alike ;-) Regards, Erik "Erik Schuurman" <ezzschuurman@zzzfusi...

Best Place to get help on converting Delphi 2007 string to Delphi 2009
Where is the best place to get help on converting Delphi 2007 strings to Delphi 2009? The most common problem getting Delphi 7-Delphi 2007 components to compile seems to be caused by the new Unicode strings in Delphi 2009. It would be great if there was some place to go to get help with this. Maybe there should be a new group for String conversion where developers could ask short questions about conversion. For example: Delphi 7 - Delphi 2007 CharArrayPtr = ^CharArray; CharArray = array[0..MaxInt-1] of Char; Compiles Delphi 2009 CharArrayPtr = ^CharArray; CharArray ...

Delphi 5 To Delphi 2009
I upgraded to Delphi 2009 from D5. The install says I can install Delphi and/or C++. Delphi installed OK but I see nothing of C++. What am I missing or does my upgrade not include C++? Thanks It depends on what you bought. If you bought Delphi 2009 only, that's what you get. If you bought Delphi 2009 and C++ Builder 2009 you get both. My guess is you got Delphi 2009 only. The simplest way to verify is look your invoice - it should say I would think. You could also go to members.embarcadero.com, login, then click on my registered products. There will be a textual description of...

Delphi 4 to Delphi 2009
Hello, Thanks to all who answered my previous question. That was a great help. And atlast our client agreed to upgrade our delphi version from 4 to Delphi 2009. *Sigh*. But before that, I need to give the estimation and cost regarding the migration to delphi 2009. Can anyone tell me is there any tool to migrate from delphi 4 to delphi 2009 or just I need to compile our Delphi 4 application in Delphi 2009. I have read from the delphi 2009 feature matrix that Delphi 1 through Delphi 2007 import is possible in delphi 2009. But i am not that sure considering the size of our application. ...

Delphi 2007 to Delphi 7
I've written a class in Delphi 2007 that is not supported in Delphi 7. What would be the best way to achive what I've done in Delphi 2007 in Delphi 7? Thanks, Tom type BondConstants = class { Bond Types } type BondType = record const TREASURY = 3; AGENCY = 0; CORP = 1; MUNI = 2; SBA = 5; MBS = 4; CMO = 6; end; { Day Count Methods } type DayCount = record const ACTUAL_360 = 2; ACTUAL_365 = 1; ACTUAL_ACTUAL = 1; d30_360 = 0; ...

Web resources about - Different result between Delphi 2009 and 2007 - embarcadero.delphi.win32

What Donald Trump’s hammer would do to U.S. tech
GUEST: Over the holidays, I heard Donald Trump giving his stump speech in South Carolina on my car radio. It strikes me that, for all we hear ...

Mexico aims to fulfill U.S. extradition request for 'Chapo' Guzman: sources
Mexico's government aims to fulfill a request from the United States to extradite the newly-recaptured drug lord Joaquin "Chapo" Guzman to face ...

Fire at Home of Former North Charleston Police Officer
Fire reported at home of former police officer accused in shooting death of black man

‘Rogue One: A Star Wars Story’ Tops List Of Most Anticipated Movies Of 2016 — What Else Made The List ...
Following the success of Star Wars: The Force Awakens , which continues to shatter records at the box office, another Star Wars -related movie ...

Car technology highlights from CES 2016
LAS VEGAS — Car makers didn’t participate in the giant CES trade show until 2007, but you would have never known that by attending CES this year. ...

‘Winds Of Winter’ Release Date: HBO Chairman Confident That ‘Game Of Thrones’ Show Won’t Violate Novel’s ...
Many were left disheartened when the assumed Winds of Winter release date did not take place. Speculations previously surfaced that George R.R. ...

Annalu Cardoso Pictures: See Photos Of The Brazilian Model Who Allegedly Hooked Up With Tyga
Annalu Cardoso is a Brazilian model with some racy pictures splashed across the internet, but now she is perhaps best known as the woman who ...

Egypt hotel attack victims stable, witness recounts ordeal
Three European holidaymakers wounded in an attack in an Egyptian resort were in stable condition on Saturday, as a witness recounted how the ...

N. Korea defiance challenges moral authority of nuclear club
NDTV N. Korea defiance challenges moral authority of nuclear club Hindu Business Line When North Korea claimed triumphantly that it had tested ...

Ex-Cardinals Scouting Director Chris Correa Pleads Guilty to Hacking Astros
The St. Louis Cardinals made some history yesterday. That’s the good news. The bad news is that it came in the cyber-espionage department. Chris ...

Resources last updated: 1/9/2016 5:58:00 PM