Questions tagged [delphi-2007]

Delphi 2007 is a specific version of Delphi. Delphi 2007 was released in March 2007, and was available as a standalone product or as part of RAD Studio 2007.

Delphi 2007 is a specific version of Delphi.

Delphi 2007 codename is Spacely.

Delphi 2007 was released in March 2007, and was available as a standalone product or as part of RAD Studio 2007.

Delphi 2007 was the last version that used the 8-bit AnsiString as the default string type.
Many components that do not support Unicode will work unchanged on Delphi 2007.

Delphi 2007 was preceded by Delphi 2006 and succeeded by Delphi 2009.

839 questions
0
votes
1 answer

Why class name of control is bad? Can not create new GDI handles?

I have a program create by Delphi language. This run on windows XP SP3. After Open and stop program multi time (~600 to 700 times) (Only open and stop, does not do any thing). My program will be error: Cannot input to text box of system. Cannot…
hauydi
  • 31
  • 3
0
votes
1 answer

Delphi 2007, Indy 10. Why can't I typecast a TidBytes buffer?

Is it not possible to access the data in the memory of a TidBytes buffer with typecasting? Say I have: type TMyRecord = packed record Field1 : integer ; Field2 : packed array [0..1023] of byte ; end ; var Buffer …
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
2 answers

Delphi 6 to Delphi 2007

Just hitting various bricks walls with years worth of code updating, but the current one i cant seem to convert is this Function Pack (Var Source, Dest; Count : Word) : Word; Assembler; Asm Push DS Mov BX, Count …
Paul Lynch
  • 15
  • 2
0
votes
0 answers

How do SimpleRoundTo works

Why does this expression evaluate true? SimpleRoundTo(93.599, -2) > 93.6 When I use the SimpleRoundTo like this ShowMessage(FloatToStr(SimpleRoundTo(93.599, -2))); it shows 93.6.
sddk
  • 1,115
  • 1
  • 10
  • 20
0
votes
1 answer

Embed Delphi window in another Delphi application

I have a frame in a Delphi 2007 application that I want to embed on a form in a Delphi 2010 application. I have control over both applications, so the interface between them can be anything both versions support. There will have to be some…
Zoë Peterson
  • 13,094
  • 2
  • 44
  • 64
0
votes
3 answers

Delphi hook to redirect to different ip

What is the best way to redirect ANY browser to a different ip for specific sites? For example if the user will type www.facebook.com in any browser he will be redirected to 127.0.0.1. Also the same should happen if he will type 66.220.146.11. What…
Chris
  • 1
  • 1
  • 1
0
votes
1 answer

I'm getting an access violation when using the LoadLibrary and GetProcAddress in Delphi

I'm getting access violation when trying call a simple dll using LoadLibrary: Access violation at address 03454D62 in module 'test_dll.dll'. Write of address 00429D24. Code for Test.DLL: library Test_DLL; uses dialogs; {$R *.res} procedure…
SMM
  • 1
  • 2
0
votes
2 answers

Problems with File Format UTF8

I don't know what happened. When I try to change the encoding of a file in Delphi IDE 2007, It shows me just two options "Binary Form" and "Text Form", some one already faced this problem ? or know how to save it ? tks for advice
Rodrigo Farias Rezino
  • 2,687
  • 3
  • 33
  • 60
0
votes
2 answers

What's the correct way to assign PAnsiChar to a (unicode-) string?

I have got a DLL function that returns a pointer to ANSI text (PAnsiChar). I want to assign this to a (unicode-) string (This is Delphi XE2.). The following compiles but I get a warning "W1057 Implicit String cast from 'AnsiChar' to…
dummzeuch
  • 10,975
  • 4
  • 51
  • 158
0
votes
2 answers

Delphi 2007 - Is it possible to get a list of ignored exception classes at run-time?

I'm wanting to determine at run-time if an exception class has been specifically ignored in the IDE. The reason is this: When running an application from the IDE I might receive an exception that I know the reason for, but don't want to deal with…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

7z in Delphi 2007

I'm trying to zip some files using Delphi 2007 using the JEDI JCL. The problem is I can't figure out why I keep getting this error "Sevenzip: Failed to load 7z.dll" My code is : var archiveclass: TJclDecompressArchiveClass; archive:…
CiucaS
  • 2,010
  • 5
  • 36
  • 63
0
votes
1 answer

How do I use the latest Richedit with Delphi 2007?

If I drop a TRichedit on my form, I can't paste RTF with images in my control. From what I understand this is due to the fact that Delphi 2007 uses an old version of the Richedit control. Is there an easy way to use the latest Richedit control on a…
0
votes
1 answer

Delphi 2007 with Indy 9

I see that Delphi 2007 comes with Indy 9 and Indy 10 integrated. Both are included in the same search path. C:\Program Files (x86)\CodeGear\RAD Studio\5.0\source\ I did not find a way to configure Delphi to take Indy 9. It always takes Indy 10. Is…
StefanG
  • 1,234
  • 2
  • 22
  • 46
0
votes
1 answer

error: String and Byte Incompatible

While compiling my code, it produces "Incompatible types: 'String' and 'Byte'. I do not see where I define variable as byte. unitB function TDatabaseManager.getPortType(portNo:string):String; var SQLQuery:TSQLQuery; begin result := ''; …
user1739825
  • 820
  • 4
  • 10
  • 27
0
votes
1 answer

Lost some debug functionality in Delphi 2007

Recently I have lost some of my debug functionality in Delphi 2007. Specifically, the Watch List Window is completely disable as are all but a few of the Watch List's popup menu items. The only menu items that are enabled are Add Group... Show…
John Taylor
  • 135
  • 1
  • 12