447 Topics

Member Avatar for
Member Avatar for jsosnowski

I have a recurring problem: On some days, it appears that Delphi has problems with identifying some of the files in my "Uses" section. Certain files will be underscored in red zig-zag and identified in the structure window as "cannot resolve unit name ...". If I right click the unit …

Member Avatar for jsosnowski
0
182
Member Avatar for Thew

Hello, does the SetLength function in Delphi called with the second argument 0 free the memory used for the array? Example: [CODE=Delphi] var Names: array of String; i: Byte; SetLength(Names,10); for i:=0 to 9 do Names[i] := '...'; SetLength(Names,0); // << does this code free memory used by Names array …

Member Avatar for Duoas
0
656
Member Avatar for mmx64

Hallo, does anyone have any knolege about [URL="http://www.alldatasheet.net/datasheet-pdf/pdf/74901/MICROCHIP/24C01.html"]i2c[/URL] eeprom programing with delphi, via com port or lpt??

Member Avatar for mmx64
0
159
Member Avatar for rickstar123

Hi All, Im desperate to write a hex file in Delphi. Effectively I have a Decimal value, say 580 which I convert to Hex: 02 44 And I need to put this into a Hex file (multiple times) - 25000 times per file Each line in a similar hex file …

Member Avatar for Duoas
0
1K
Member Avatar for bbradley

Please help. I really need to find out how to get a data value from one for onto another form. For example I put a value in an edit box in Form1 and I want that same value to be in Form2, but if I were to chage the value …

Member Avatar for jsosnowski
0
323
Member Avatar for monxxx

Hi, i need some help about using swap() functions i am using this code: [CODE]var x: integer; begin x := $11223344; x := swap(x); edit1.text := inttohex(x); end; [/CODE] this code is working fin its swap like this: '22114433' but if i pud/add byte on like this: [CODE]var x: integer; …

Member Avatar for Clive29
0
262
Member Avatar for gerhardjl

I am using Delphi 5 I wish to do date/time calcs I have noticed now that I require the 'DateUtils' unit in order to use Functions such as IncMinute What are my options to get a copy of 'DateUtils' unit for Delphi 5 Is it downloaded, free, or what? Please …

Member Avatar for gerhardjl
0
1K
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 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
523
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
124
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
451
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
108
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
129
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
57
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
86
Member Avatar for bbradley
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
117
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
189
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
72
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
68
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
102
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
65
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
176
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
120
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
144
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
65
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
596
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
79

The End.