delphi-7

Why might a Delphi 7 application exit with "encountered a problem and needs to close" if the user's PC does not have a printer installed?

I have been getting sporadic reports of my application (compiled with Delphi 7) refusing to start on some PCs - it exited immediately with the Windows error message: “....exe has encountered a problem and needs to close. We are sorry for the inconvenience” My advice up until now has to always been to install a default printer (...

Uses with unit file path in unit file

Hello. I have problem. I ll try to explain it. I have a unit which has a class and may will have new functions. D3BF4E849ACC45249B990F802EFB1F15\UnitFile1.pas 8DC8977E7A7B469AACFE3CC77CA7075E\UnitFile1.pas Both of them have same class: IClass_1 = class Im using code numbers for different versions of this file. Another unit file (Uni...

Visual themes and Delphi 7 on Windows 7

Hi all, how I can enable using visual themes for Delphi 7 IDE on Windows 7? For Windows XP I made file delphi32.exe.manifest, but for Windows 7 it does not work. I mean Delphi 7 enviroment and development. My programs are OK. Thank you, Pavel ...

How can a Delphi application detect the network proxy settings of a Windows PC?

I have a Delphi application that communicates with web servers on the Internet using the Indy components. Most users of the application have direct Internet connections but some are behind a proxy server of a local network. I don't want to have to ask the users to lookup their proxy server in the Internet Options / Connections / LAN Set...

Responding to linked Delphi Component Events

I have a custom Component (cut down) TMyComponent = class(TComponent) public procedure ClientConnected; published property ClientSocket: TClientSocket Read ...etc Right now i have in the OnConnect Event of the ClientSocket Call ClientConnected e.g. procedure TForm1.ElvinClient1Connect(Sender: TObject; Socket: TCustomWinS...

To show bitmap created in memory in Rave.

I have created a bitmap in memory, and would like to show this in rave report design time. I don't want to create a file then load. Is there a better way? Thanks and regards, jai ...

Copying files which the main thread adds to a stringlist using a thread

I have a web creation program which, when building a site, creates hundreds of files. When the internet root folder is situated on the local pc, the program runs fine. If the internet root folder is situated on a network drive, the copying of a created page takes longer than creating the page itself (the creation of the page is fairly ...

Rave Reports DataText Left

I'm using Delphi 7 and Rave Reports. How can I set the DataText.Left property (from Rave Reports) dinamicaly according to the size of another DataText that comes before. I tried using the width from the previous DataText, the Length of the field that the first DataText is displaying... None of them worked. I would really appreciate it ...

How would I port this delphi 7 prog to .net (C#)?

http://forums.alliedmods.net/showthread.php?t=64767 The source acts like its missing a ton of stuff I can't find like uh TBX and some other things I don't really know the language, but I have hoping I could get it to compile with delphi 2009/2010.net and then see about porting its IL. (to C# I guess) The reasoning behind this is becau...

Delphi Closed on hit of save or open file

when i am trying to hit save or open button from menu in delphi 7 my Delphi exe get closed , so i am not able to open or save any file. it is useless please suggest me an answer. i use windows 7 Home Premium x64 ...

Indy 10 - IdSMTP.Send() hangs when sending messages from GMail account

I am trying to send an e-mail using gmail account (Delphi 7, Indy 10) with these settings: TIdSmtp: Port = 587; UseTLS := utUseExplicitTLS; TIdSSLIOHandlerSocketOpenSSL: SSLOptions.Method := sslvTLSv1; Everything seems to be set ok. I get this response: Resolving hostname smtp.gmail.com. Connecting to 74.125.77.109. SSL status: "...

Jabber / XMPP library for Delphi 7.

Hi! I am looking for xmpp / jabber protocol implementation for Delphi 7. IP*WORKS! is one of solutions, but it is expensive. I saw Any complete library for Jabber in Delphi? question and JOPL was the answer, but it is not for Delphi 7. What do you use for Jabber and Delphi 7? ...

How to write to I/O ports in Windows XP? (Delphi7)

I am trying to write to ports 0x60 and 0x64, with no luck. Delphi code: procedure PortOut(IOport: WORD; Value: BYTE); assembler; register; asm XCHG DX,AX OUT DX,AL end; Upon calling PortOut, I get an EPrivilege Privileged instruction exception, because IN and OUT may only execute as Ring0. I would like to know how I can get Ring...

Compatibility on WinXP and Vista

Hi I developed an application using also third party components (developed on D7, WinXP). When I deploy this application on XP everything works fine. When I run it on Vista, the application cease to work properly: Toolbuttons on Toolbar does not size equally, when I switch visibility on/off, thats why (third party) skins are not pr...

Delphi, ImageList that handles BOTH png and bitmaps.

Recently I've found TPngImageList component ( http://cc.embarcadero.com/Item/26127 ) which is very good, but it handles only png images ... I'd like to have some imagelist that allows combining of pngimages with bitmaps, as I'm using lots of bitmaps, and I do not want to spend coming week converting those bitmaps to pngs, yet I want to u...

Download a File from internet programatically with an Progress event using Delphi and Indy

I need a way to download a file from the Internet using Delphi via HTTP, Wich include an Progress event , I'm looking for a method wich uses the Indy components. I am using Delphi 7. Thanks in advance. ...

My Application's Auto-update utility is triggering Anti-Virus

I've created an auto-updating application which is distributed to 100s of users. The auto-update utility is being flagged by 55% of antiviruses on virustotal ( link ). My application was created in Delphi 7. Most of the flags are saying that this is Generic trojan/malware, obviously the software isn't actually malware (I'm the only one...

Delphi: Running multiple forms

Alright, so I'm trying to create a "text-based" game on Delphi 7 (OS: Windows XP sp2). Basically, my problem entails running multiple forms: Gladiator_main Gladiator_console - which is more of a "Create new/Load character" form Gladiator_Armory - the stat's page Gladiator_Arena - where the battle report is to be output... Obviously, I...

Delphi routine which retrieve the current time and date from a time server

I am looking for a Delphi 7 routine which connects to a time server to retrieve the correct time and date, and a routine to update the time and date of the pc. The routine should of course take into account the time zone the pc is using. If possible using the ICS component suite from Overbyte (because I use this set of free components ...

Delphi, Override Custom controls setCaption

i have a custom control, with the Ancestor being another custom control, who's Ancestor is a TPanel; i.e. TNotMyCustomControl = class(Tpanel); TMyCustomControl = class(TNotMyCustomControl); Is i possible to react when the Caption is being set (run time or design time), and still have the changed passed to the Ancestor controls? ...