447 Topics
| |
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 … | |
| 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 … |
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?? | |
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 … | |
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 … | |
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; … | |
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 … | |
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; | |
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 … | |
// 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 … | |
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 … | |
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 … | |
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. | |
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; … | |
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 … | |
How do you insert a .bmp picture fle into delphi? ~bbradley | |
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: ' … | |
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 … | |
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 … | |
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 … | |
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 … | |
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!!! | |
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 … | |
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 … | |
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? … | |
Hello all:) Is it possible that there is a Pythin to Delphi converter available? Thanks Nev | |
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 … | |
can some1 help me on petes petrol pump in delphi please just a little problem | |
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 … | |
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 |
The End.