2,103 Topics
![]() | |
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?? | |
The code below is attempting to generate a lengthly series of varying tones and saving it all as a .WAV file. The file size is approx 10 times the length of DataCount and DataCount is derived from a variable Duration(msec). Playing back the file, I get one single one approx … | |
I am following some exercises in Delphi in a Nutshell from Ray Lischner. Very easy to follow and readable. He was explaining how units are working the following code: [code=pascal] program Units1_1; uses UnitA; {$AppType Console} begin WriteLn('Units 1_1 main program'); end. unit UnitA; interface uses UnitB; implementation initialisation WriteLn('UnitA … | |
![]() | Hello, can I export whole classes into Dll in Delphi ? |
Hey dudes...i am currently working for a company that codes in delphi 7... i am familliar with C# language but not that much of Pascal language...i need to make a form where i can print an added HTML page... I managed to get it to print a form but i … | |
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 … | |
Hi, i am trying to create a stored procedure with TQuery, but the code is resulting in the Token Unknown error pointing to the ':' used in the sql.add statement. This same procedure as it is is working fine when directly executed with the SQL Explorer of the INTERBASE(i am … | |
I`ve just begun to learn delphi and sql server. I want to make small application using delphi and sql server, but i can`t make the report like this: Note Plus Minus Balance ------------------------------------------------------------------------- sell 5.000 0 5.000 buy 0 1.000 4.000 sell 3.000 0 7.000 sell 2.500 0 9.500 I … | |
Need help to set various parameters on my sound card from within my Delphi 6 program. Mostly interested in what it takes to set various tones. Any site URL that discusses the issue welcomed. TU Vern | |
Hello all, my first post on these boards. I have spent the last few hours reading this section of the boards and I have noticed many new to programming people ask the same question: What language should I use, where should I start, what should I learn, etc etc. All … | |
Greetings, I am writing a Delphi application that uses Absolute Database. When the user presses a button the application fills in some values in a second form and then displays the form. Last night I added a DBGrid to the second form to display a small Absolute Database table. Hitting … | |
As a very new member, I'll have to use some common sense to be sure I don't violate any of the rules. I have one question. I couldn't find gwbasic in the forums, so I clicked on a language that's somewhat in the order of gwbasic, namely pascal. Specifically, I … | |
We have had a frustrating problem for months. We are trying to find a resolution or work around to fix this and are looking for help. We have applications developed in Delphi 4 through to Delphi 7 that use database components and have worked correctly and well for years. When … | |
Hello, i have some problems implementing the following pseudo-code. Te problem is that in Pascal i can return user defined data structures (in this case: matrix), and i also tried to return it as a parameter with "var" but it gave a stack overflow error. Anyone can help me? pseudo … | |
This isn't a specific question regarding a certain program or anything, so if this is in the wrong forum, feel free to move it. :confused: I was just curious how long everyone here has been programming, and how long with C++? The reason I'm asking is I'm curious as to … | |
hi all, i try to make array here but i didn't know how to make it? please help me.. best regards.. | |
Hi everyone, I'm new in this forum and I've been tried to learn a little about programing in Pascal language. I have to do a school project program for a video rental shop developed in Pascal and I would like to know if someone could send me a entire code … | |
hello everyone, I'm in a certain college in Tanzania. This college is crap!!! I lost my interest with programming because of this college. I moved to networking, but now i think i should go every possible angle. Do you think its possible to be a multi-professional in computer regions? But … | |
I have borrowed code that I don't understand but it serves my purpose. The code saves Text data in a TFile, i.e. MyNewStuff.txt. I want to put it into a TSringlist pronto. Immediately after saving the TFile and closing same, is the data still in memory when I say "MyTStringlist.loadfromfile('MyNewStuff.txt');" … | |
I am having problems with using a header file called lt360lib.h My code is as follows [CODE] #include <lt360lib.h> #include <iostream> using namespace std; main() { } [/CODE] as you can see it is a simple code just to test if the header file is being accepted or not. but … | |
I've started programming a few months ago, i've done basic before, then i tried pascal for a while but now i'm comfortable with C++. The problem is, i'm trying to learn as much as i can from the net and books, but i can't find a good book i could … | |
I am trying to code a program that will generate six random lotto numbers, and then the two supplementary numbers. And not to generate the same number twice. I'm new to pascal, so I understand if you don't want to create a whole code for me but could you at … | |
[B][/B] i know its kinda funny, but please help me. my father is a bussiness man and he wants to hire a programmer to design a program that record bussiness history like their products, their profits and even to perfom necessary calculations for his wide supermarket. since the stock have … | |
Hi, ok... Here's the story- I have been absent from my Pascal programming class for 3 weeks, I came back and now the teacher wants me to try out a few programs for a test tomorrow. I have one that I have no idea how to do... Here are the … | |
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; … | |
Hello staff, I have a program to Paschal that when he starts allocates the message "one more" open a window of DOS. When the program runs, is writing this message on the screen until you do not overthrow, is there. I need to implement this same routine another routine to … | |
Hi there i have the task of making a progam that sorts out a list of words from a text file, i need to take the text file and then take the words and but then in a binary search tree, then i need to display them on screen in … | |
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 … | |
[code]begin Inc(GamesThisPlayer[Winner]); if GamesThisPlayer[Winner] = SampleGamesBatch then ProvisionalRating[Winner] := Rating[Winner]; Inc(GamesThisPlayer[Loser]); if GamesThisPlayer[Loser] = SampleGamesBatch then ProvisionalRating[Loser] := Rating[Loser] end;[/code] This extract of code is from a player rating program. A player either wins or loses. When a player has played a sample batch of games (20 in this case) … | |
Hi friends, i'm new to this forum.i need help from you guys .i have a client side executable file together with other dll files. this executable file is a delphi file. i want to generate the interface from this .This client side is for a cyber cafe system.how do i … | |
I am trying to compile some code using BDS2006 and have received the following err: [Pascal Fatal Error] Variants.pas (1035): F2092 program or unit 'Variant' recursively uses itself. The code is highlighted by the debugger at the end of line 1035 which is the final end; statement for the Procedure … | |
i have a problem here and i got to use lists to solve it!! there is a furniture factory producing different kinds of furnitures but in sets, eg. (5 stools, 24 beds, 12 tables etc), these sets of furnitures r supposed to be in some kind of database. am supposed … | |
Problem: here's the code. [code=pascal]program fun; Uses wincrt; var y:integer; ans:integer; function User(input:integer):integer; var x:integer; ans:integer; Begin readln(input); ans:=1; if (input>0) and (input<100) Then begin ans:=ans+input end else begin x:=User(input); halt; end; User:=ans; End; Begin ans:=User(y); writeln(ans); end.[/code] when run all work perfectly. when i entered 99 i got the … | |
I have, today, made some comment regarding the Fibonacci "Pattern". To fully appreciate what the Fibonacci Pattern is requires a deep knowledge of nature. The simple piece of pascal code which I have witnessed only contributes to a very small part of the required knowledge. The Fibonacci pattern is not … | |
i try to make fibonacci pattern but i confused. there are anyone give me a hand for this example?please.... thanks in advance.. | |
Hi am in prob. 4 me its now or never to pass. get a program to do. Convert binary to decimal octal to decimal binary to hexadecimal some1 can help me. i need some PRO so if interest post ur mail id and i'll mail u my paper if some1 … | |
[INDENT][/INDENT]I have created a Program that first searches and returns the contents of a file into a richedit then opens up the next file finds the matching record and displays that in the rich edit and then the same again with another file. [INDENT][/INDENT]My problem is that when i search … | |
Hallo, can someone help me out: I have a stringgrid, where i display hex data of a file( a hexeditor), and i need to change the color of the cell, if i chenge the data inside it. How can i do that?? Thanks. | |
Hello, I am having a bit of trouble with a hangman game that I am currently writing. The program runs without any error (syntax) however when I press a letter (buttons on the form), it simply states Congratulations, you were saved from the Gallows!' with only having had 1 go … | |
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; | |
Hey, could anybody lend me dijkstra's algorithm in pascal? (commented please). I have searched for it on Internet and I haven't find it. Thanks. | |
Does anyone know how to do this just i have a piece of text in a rich edit which is in centre aligned but now i want it changed to be aligned to the right for the next bit of text???? Any help will be Appreciated ![]() | |
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 … | |
I am 70 years old and have been programming since 1977. My first computer had no software. We had to write everything using a crude form of basic and a Zilog Z-80 compiler. It started as a hobby and then became a passion. I have used Basic, Cobol, Pascal, fortran, … | |
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 … | |
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", … | |
i make a menu AS SHOWN: PASCAL when press Ctrl + F9. so its pascal ************************* * 1. MEMBERS * 2. BOOKS * 3. EXIT * * * SELECT OPTION: ************************ NEED HELP HERE: write a PROCEDURE to close the menu when 3 is selected sorry 4 this, its too … |
The End.