Questions tagged [delphi-6]

Delphi 6 is a specific version of Delphi. It was released in May 2001. Delphi 6 generates .Net code which differentiates it from the Delphi versions before or after it. Use this tag for issues related to development in Delphi, version 6.

Delphi 6 is a specific version of Delphi.

Delphi 6 codename is Iliad.

Delphi 6 introduced a number of new features for building and using industry-standard Web Services with full support for XML, SOAP and WSDL. Delphi 6 also included the CLX library, a cross-platform alternative to the Windows-only VCL, for targetting both Windows and Linux with a single codebase. Delphi 6 was available in three editions: Enterprise, Professional and Personal.

Delphi 6 was preceded by Delphi 5 and succeeded by Delphi 7. From August 2003 it was no longer officially supported.

269 questions
0
votes
2 answers

Moving Delphi 6 CGI to IIS 6, second page not displaying

I've been asked to move some legacy Delphi 6 webapps (CGI .exe) from a windows 2000 server to Windows 2003. I've copied the app and setup the virtual directory as per original server and followed the instructions Microsoft IIS about setting up Web…
Tony
  • 101
  • 1
  • 2
  • 7
0
votes
0 answers

Is there any way to set order in type library?

In my project I have many methods and properties described in type library . And when I want to edit some method or a property ,it's a bit difficult to find the needed item from list in Type Library wizard tool. Is there any way to rearrange them…
9900kf
  • 87
  • 1
  • 11
0
votes
1 answer

Run application and read its console output to string

I have two applications: one written in Delphi6 is a main application, other written in C# is a plug-in exe module which outputs its result to console. Could you provide some example of how to run this plug-in exe with CreateProcess and get it's…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

Delphi encrypted file is much smaller than the original?

I am loading a binary file into a memorystream, then encoding the data, and returning the result as a string, then writing the result into another memorystream, and saving it to a file, but when it saved the file is much smaller than the original…
et3rnal1
  • 29
  • 3
0
votes
1 answer

Which thread will run a method of a TThread instance? (In Wait mode)

When a TThread enters in Synchronized() method, it waits until EnterCriticalSection(ThreadLock) returns. Now, which one will run the method if in the meantime, another Tthread, or even the main thread call some method of the waiting Tthread?
0
votes
2 answers

Interface safecall, implementation not safecall

I have an interface to use over DCOM technology. All methods defined in the interface have safecall directive. However, in a client side, I want to reflect this object in an TObject to avoid transit with the interface each time I need read…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
0
votes
1 answer

Calling COM Object inside TThread

In order to test the performance of the application, receiving many requests at the same time, I created an application that, inside threads, opens a connection using the TDCOMConnection creates a TClientDataSet, associates ProviderName and Inserts,…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
0
votes
2 answers

Form moving to the back and staying active

I have a largish Delphi 6 app that I have ported to Delphi XE3. At one point the main form launches another non-modal form. Sometimes (say 50%) after a second or two the newly created form moves behind the main form. Even thought it is now at the…
Rob
  • 3,315
  • 1
  • 24
  • 35
0
votes
1 answer

Use DLL to program events in Delphi

I am wondering a situation during the program execution when the user (beginner programers ones) could implements under an event notification, for example: TNotifySomething : procedure (const param: TObject) of object; 1 - This event may be…
EProgrammerNotFound
  • 2,403
  • 4
  • 28
  • 59
0
votes
2 answers

Make a ODBC connection from a delphi-7 application throu ADOConnectionstring

Background : Application written in Delphi-7 or -6 (have search through the .exe file). Called Sigmanest. I have moved to new server and that's left is SigmaNest database running under SQL server. After many hours of troubleshooting for migrate that…
pernils
  • 63
  • 2
  • 6
0
votes
0 answers

Is there an way to pass a widestring to a TStringStream?

I have this Delphi function: function DevuelveResumenEventos(cnnBBDD : TADOConnection;sFecha,sHora,sCtrlPac : string) : TStream; var sTextoArmado : string; stCarga : TStringStream; begin with TADOTable.Create(Application.MainForm) do …
TiammatMX
  • 31
  • 2
  • 5
0
votes
1 answer

how to get all the classes in an application

I am writing a localization application in which i am reading the DFM information from the application resource through EnumResourceNames API call. However, the function returns me a name of the form for which the DFM is associated. I tried getting…
Rahul W
  • 833
  • 11
  • 26
-1
votes
1 answer

How to send both command line switches and paramstring with TShellExecuteInfo

I am using Delphi 6 (yes, I know, but I am old school). I have a problem with TShellExecuteInfo. I want to run this command: C:\delphi\bin\Convert.exe -b-i plus a paramstring (folder and name of file). If I put the -b-i after the Executeinfo.lpfile…
Pthanner
  • 13
  • 5
-1
votes
1 answer

how to use the function "copy" to assign a UTF-8 value to a variable

I use the following code to assign text to an SQL parameter: quInsert.Parameters.ParamByName('veh_type').value := copy(s,11,1); Sometimes the text in the .txt file I am reading from is in UTF-8, which has characters using two bytes. How can I…
kaihong
  • 3
  • 5
-1
votes
1 answer

Why do calls to IdUDPClient.SendBuffer not always return?

I need to repetitively send 4 bytes, 00 00 00 F6, every two seconds. BUT, IdUDPClient.SendBuffer does not return after transmission. I try sending a few more bytes, and it returns every time. This works: UDP.SendBuffer(RawToBytes(#0 + #0 + #0 + #1…
AndersJ
  • 411
  • 1
  • 3
  • 15
1 2 3
17
18