937 Topics

Member Avatar for
Member Avatar for mfran2002

hi everybody, i'm going to set the procedure for OnTimer event runtime but i don't know how... i've written the following (WRONG) program, can someone help me? var Timer1: TTimer; procedure PROC(Sender: TObject); begin .. end; begin Timer1.Create(Timer1) ; Timer1.Interval := 2000; Timer1.OnTimer := PROC; end;

Member Avatar for luis_ramos
0
3K
Member Avatar for littleatomic

Hi, I am programming in Delphi for Win 32. I need to use a C# .Net component. I need to send the component a System.DateTime (.Net time struct), and at another point it requires a pointer to a System.DateTime struct to write to. Is there a way to do this …

0
54
Member Avatar for andihdr

Hi i`m Andi from Indonesia, very nice to join in this forum. I`m interested in computer programming especially in delphi and sql server which i`m using right now. And i want to learn more about them. Hopefully this forum can be helpful. Thanks.

Member Avatar for Serunson
0
46
Member Avatar for rayman341

I am working on porting C++ code to Delphi and I am only having a problem with the correct conversion of memmove() statements in the C++ code. If you or any one you know could help me to convert this C++ code to Delphi I would be thankful. // Move …

Member Avatar for Duoas
0
537
Member Avatar for rayman341

// Size of the encrypted buffer should be void XOREncrypt (unsigned char* buffer, unsigned long length, unsigned char* key) { for (unsigned i = 0; i < length/8; ++i) for (unsigned j = 0; j < 8; ++j) buffer[i*8 + j] = buffer[i*8 + j]^key[j]; } // Calculate padding padding …

Member Avatar for Duoas
0
126
Member Avatar for rayman341

typedef struct iphdr { u_char ip_hl:4, /* header length */ ip_v:4; /* version */ u_char ip_tos; /* type of service */ short ip_len; /* total length */ u_short ip_id; /* identification */ short ip_off; /* fragment offset field */ #define IP_DF 0x4000 /* dont fragment flag */ #define IP_MF 0x2000 …

Member Avatar for rayman341
0
470
Member Avatar for Xyhm

I've developed a program that communicates with another program through anonymous pipes set up by the other program (not written by me). The problem is that my program keeps crashing as soon as I add something more than just receiving the info. For example, if I add a simple "showMessage", …

Member Avatar for Duoas
0
112
Member Avatar for MoZo1

Well... I could copy the data, and use that, but that would be very slow, and I would have to copy often and a lot. I have a table where records depends on another one. Still, it will be the backup if I can't solve this. So every time I …

Member Avatar for MoZo1
0
476
Member Avatar for toxygen

I would like to ask whether pointer dereference by typecast is same in both cases: [CODE=delphi]TComponent(my_tfplist[1]).mymethod[/CODE] and [CODE=delphi] TComponent(my_tfplist[1]^).mymethod[/CODE] both things are doing the same thing (at least it behaves so), but compiler generates different code, so i'm curious what is the difference between those two. to clarify: my_tfplist is …

Member Avatar for toxygen
0
94
Member Avatar for Gardibald

Hello! I have recently started a new program in delphi 7 and i stuck. The problem is: I want to add an .avi video to run in my program when certain condition is fullfilled, but i dont know even how to start this. Please if you have some knowlege about …

Member Avatar for Micheus
0
111
Member Avatar for sony112

Can some1 show me how to make a 7 segment display pelase on delphi petes petrol pump

Member Avatar for Duoas
0
106
Member Avatar for AliAlNajjar

Hi everybody. I found this line on this site :: About C# eqivalants of Delphi types::: [B]Delphi: Variant C#: [COLOR="#ff0000"]object[/COLOR] ([COLOR="#ff0000"]with[/COLOR] boxing) [/B] Now.. I need help understanding this line. A tiny example can help. Thanks in advance.

Member Avatar for tgreer
0
132
Member Avatar for isi4h

I'm using delphi 7, if anyone could let me know how to compile this code i would be grateful. thanks. [CODE]unit UIRT; interface uses SysUtils, Classes, Windows, SyncObjs, Dialogs; // USB-UIRT DLL API Constants... const CRLF: string = '\r\n'; INVALID_HANDLE_VALUE: integer = -1; ERROR_IO_PENDING: integer = 997; UUIRTDRV_ERR_NO_DEVICE: integer = …

Member Avatar for Duoas
0
149
Member Avatar for mahest

Hi, I'm new to the Delphi plugin. I'm writing a new plugin for existing Software. But I successfully call the plug in and worked the all functionality. But when I tried to close the plugin form I got some 'Abstract Error'. Any one help me tell me how to resolve …

Member Avatar for Duoas
0
152
Member Avatar for rbarzallo

Type PRecKey = ^RecKey; RecKey = Packed Record Key_Command : Array[0..2] of Char; Key_Pan_Type : Char; Key_Format : Char; Key_E_Pin : Array[0..15] of Char; Key_Terminal : Array[0..4] of Char; Key_Key_Type : Char; Key_OffSet : Array[0..3] of Char; Key_Pan : Array[0..19] of Char; Key_Pad_Char : Char; Key_Pin_length : Array[0..1] of Char; …

-1
59
Member Avatar for gerhardjl

Hi, I wish to develope a ping-application, bit more enchanced than the dos-window ping util. Can someone help here with either examples or comp? Typical I wish to ping a network point continuously to evaluate response time etc. Thus I wish to set the normal ping params and the ping …

Member Avatar for pozlast
0
96
Member Avatar for Kafana

Hello, I am new to this community and I hope it is a good one. I have been thinking of starting some serious programming and that is the reason for me joining this community. I would like to learn as many programming languages as I can since I like programming …

Member Avatar for Salem
0
105
Member Avatar for bbradley
Member Avatar for lespitts

I am new to Delphi - in spite of looking at numerous text books, I cannot find a simple way of printing a screen shoot. Is there one?

Member Avatar for Micheus
0
100
Member Avatar for Peppercat101

Im writing monopoly, Im still a beginner so please help.... I wrote this for loop but for some reason it starts at 28 and not at 1.... For r := 1 to 28 do If STekoop[1,r] = plek then If messagedlg(STeKoop[r,2] + ' FOR SALE.' + #13 + 'Price: ' …

Member Avatar for Peppercat101
0
122
Member Avatar for NKrasnov

Hi! I would like to ask you about apply gabor filter to fingerprint images. Can u eaxplain how to use gabor filter for enhancement fingerprint image. i'll be very glad for granting of a exaple code.(C++ or Delphi). <snip email and ICQ > I hope for your help.

0
55
Member Avatar for Thew

Hi, is there any way how to extract resource data from executable file or dll? I need this, for example to extract icons (all sizes and depths) to any ico file. I found ExtractAssociatedIcon in Delphi, but this should be the same in C++. But when I use this, I'll …

0
48
Member Avatar for bbradley

Hello everyone =D so happy to find a place where I can get computing help. Right now I am using Delphi for my school coursework. Its pretty hard. I hope that I'll be able to get the program finished soon!! I've posted a help messaage already, please go and view …

Member Avatar for Serunson
0
86
Member Avatar for bbradley

I'll make it blunt of what I can't seem to get my head round. I have two edit boxs, values in both, and I want the value in editbox1 to be added to the value in editbox2. And then the value appear in editbox2. If you can think of a …

Member Avatar for jsosnowski
0
201
Member Avatar for zoe256

I've written a program in Delphi 7 on my Windows XP computer that obtains values from a serial port (using ComPort) and puts them into a MySQL database. (I've got all the connectors and service set up) but when I try to run the .exe on a Windows 2000 computer …

0
74
Member Avatar for RoryGren

Hey, all! My name is Rory. I'm from Durban in South Africa. I do a little html, php, mySQL, and Delphi development. ... and I LOVE this community! I have had so much help, just reading queries and responses! I have been browsing this community for a few months as …

Member Avatar for Serunson
0
73
Member Avatar for yotamlem

Can any one help me, I need to find\build a tool that converts TDateTime (number) in to string that is the date it represents. I want to put this in the Delphi 5 environment as a button or addon or somthing.... Thanks.

Member Avatar for jsosnowski
0
89
Member Avatar for superseven

Hi ALL Can any one help me here, I've got a files that contains graphs and all other things that I need to run in delphi but my problem is that there file is in dgn extenstion so I don't know whether does delphi this extension. If yes, What can …

Member Avatar for RoryGren
0
70
Member Avatar for ralf_altman

I convert my program from Delphi6 to Delphi2007 and only get it work on Window Vista if: 1. UAC (User Account Control) is OFF. 2. or if UAC is ON. then I have to select the program short cut on desktop, right click and choose "Run as administrator" Is there …

Member Avatar for superseven
0
105
Member Avatar for superseven

Hi All I've searched without any success to find how to create RTF files using delphi 7. What I want to do is to create an RTF files with Grids and Graphs but I really don't know where to start. Can any one help me with this. Thank you!!!

0
67
Member Avatar for ecostas

Hi. I used [B]Infopower[/B] for a long time but I can't afford to upgrade it to Delphi 2007. With Infopower I got TwwDBLookupCombo that allowed me to display a value, for example, a text ID, while updating the record with an internal ID. To place the component into the grid, …

Member Avatar for ecostas
0
415
Member Avatar for EnderX

I am working on a program designed to map a networked drive to a Linux Samba share. I have been requested to give the end users a way to select what drive they want to map. I know that some drives are off limits for use; (A:, C:, and the …

Member Avatar for Duoas
0
1K
Member Avatar for Petez

Hi well ive got school project and well found this site looks like real deal not like the fake ones ive registered 2 and this site can really help?... Well ive done most of my programmeing just cant figure the search code i cant get..... I need to say type …

Member Avatar for ExplainThat
0
181
Member Avatar for mfran2002

hi everybody, i'm using TNMFTP component on delphi no problem at all (download, delete, rename, connect...) but when i try to use UPLOAD method to put myfile on ftp server it return me this error: "CANNOT OPEN FILE myfile" and then "access violation"... why it's trying to open the file? …

Member Avatar for mfran2002
0
122
Member Avatar for efect

Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev

Member Avatar for vegaseat
0
149
Member Avatar for adrive

I'm just curious, I was using setLength to increment my arrays all the while but i've been hoping.. is there any push and pop functions for delphi so that i can dynamically put values into my array without having to code anything myself to increase the array size?

Member Avatar for MoZo1
0
2K
Member Avatar for Aborad

Hi there, I just bumped across this website through google and found it very neat. I am self taught at Delphi, and know very little. I know there are quite a few ways to send the virtual keypresses, but I only know of one and I doubt I am using …

Member Avatar for Aborad
0
2K
Member Avatar for sony112

can some1 help me on petes petrol pump in delphi please just a little problem

0
67
Member Avatar for sony112

if you have completed the petes petrol pump in delphi can u email me i need some help asap

0
92
Member Avatar for RoryGren

Hi all I'm self taught and relatively new to programming and have been battling with a TDBGrid's onMouseDown event in Delphi 7. Hopefully I'm missing something small and you masters out there will be able to enlighten me! I have a TVirtualStringGrid and TDBGrid on my form. I want to …

Member Avatar for RoryGren
0
2K
Member Avatar for EnderX

If this is in the wrong place, I apologize. I use ShellExecute only in Delphi, but I am aware that it may not be properly considered part of the language. I have a program that is supposed to generate a .csv file for an output report. However, my boss wants …

Member Avatar for Aborad
0
303
Member Avatar for fgn89

How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to …

Member Avatar for Duoas
0
607
Member Avatar for fgn89

How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to …

Member Avatar for Ancient Dragon
0
154
Member Avatar for marlow08

I don't know why the next program doesn't find an element of the array. [CODE=delphi] program rec; {$APPTYPE CONSOLE} uses SysUtils; procedure intarray(a:array of integer;longar:integer); begin if longar>=0 then begin write(a[longar],' '); intarray(a,longar-1); end; end; procedure exist (a:array of integer;num2,longar:integer;found:integer); begin if longar>1 then begin if a[longar]=num2 then found:=1 else …

Member Avatar for Duoas
0
74
Member Avatar for afro007

I am working on a school project, I need to do a keystroke to simulate filling car with petrol. There is two program I have done below but none of them work. I use Borland developer studio 2006 (Delphi Pascal) and does anyone know how to clear the screen in …

Member Avatar for Duoas
0
144
Member Avatar for Delphic

Hi, We are having problems with files FTP'ed and renamed around the various locations. JPGs can't be viewed, Exe's don't run. It seems to be something to do with the ownership of the files. The offending files have an owner of "Administrators" or else blank. TIA Mark

Member Avatar for Duoas
0
83
Member Avatar for Lynxus

I have a Petrol Pump system that runs a timer that simulates the litres that run and the display shows the images inserting into an image box. Then the Price at current is the litres * the set price per litre. Thats where the problem is because I can't get …

Member Avatar for Duoas
0
335
Member Avatar for shadowrider

want to know the coding of h ow to define connection of SQL database wid deplhi so that i can insert data in database

Member Avatar for ExplainThat
0
118
Member Avatar for python_dev

Hi, I am using Delphi 7 personal along with Indy 10. I have a program that uploads a 7 mb .dat file to a remote server thru ftp. I have my code wrapped into a try/except but for some reason and at some point, the transfer fails, and i get …

Member Avatar for python_dev
0
137
Member Avatar for marcofa

First of all please visit [url]www.flightemotion.com/prod01.html[/url] to know what we are speaking. We have finishe to develop the system BUT our software partner fail because health problems. We have now only manual software to move the motors. We have also some work done until now in Delphi and c++. We …

Member Avatar for marcofa
0
99

The End.