-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I've made a form containing a TVirtualStringTree that works in Delphi 7 and Delphi 2010. I notice that as I move between the two platforms I get the message '...parameter list differ..' on the tree events and that the string type is changing bewteen TWideString (D7) and string (D2010). The only…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a String that I needed access to the first character of, so I used stringname[1]. With the unicode support this no longer works. I get an error: [DCC Error] sndkey32.pas(420): E2010 Incompatible types: 'Char' and 'AnsiChar'
Example code:
//vkKeyScan from the windows unit
var
KeyString:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I am a long time Delphi 6 developer. Looking for a book on Delphi 2010. Not only on the new features available in Delphi 2010, but more importantly, guideline on how different it is to develop applications in Delphi 2010, the architecture, standard and convention, etc.
Thanks a lot.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello.
The situation is the following. Typically I use RAD Studio 2010 for Delphi development. I have some components I would like to redistribute in binary form (*.bpl without source). But I would like people to be able to use them despite of their Delphi version. But, for example, dcu files can…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need create a programatic equivalent using delphi language... or could someone post a link on how to do grammars in peech recogniton using the delphi. sorry for my english...
XML Grammar Sample(s):
<GRAMMAR>
<!-- Create a simple "hello world" rule -->
<RULE NAME="HelloWorld"…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
From what I have gathered, one can have both editions of Delphi installed. My concern is that default paths, etc, may get confused especially when installing 3rd party components.
The reason why I want to do this is I have some 3rd party components which have not been updated. Although I have the…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
In D2010, Error Insight is incorrectly underlining in red types like "TOpenDialog" (even though my unit and project's uses both include Dialogs).
Also, in my method TMyFrame.Foo, it fails the same way by flagging a reference to a VCL component in my TMyFrame -- even though Foo and the component…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've got two questions (of which at least one is regarding RTTI in D2010 and dynamic instancing)
I was reading what appears to be the foils for a conference talk by Barry Kelly, and found on p. 13 something that looked really interesting: TRTTIConstructor.Invoke. In an adjacent bullet point, on…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I can ask Delphi to build all configurations at once - by clicking on "Build configurations" and invoking "Make" command:
This will build all configurations, one after another.
The problem is that we have an IDE expert, which must react on compilation events. We register IOTAIDENotifier80 to hook…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Why does this code get an access error on the Result := Buffer line in D2010, but not D7?
Something, I'd guess, involving UniCode, but the compiler doesn't generate any warnings.
Any suggestions on an elegant workaround?
function GetTempPathAndFileName( const aExtension: string): string;
…
>>> More