1,826 Topics
| |
input : a sentance between 1 to 10.000 char. every word on the sentance include 1 to 200 char 'a' to 'z'. output : word which is a palindrome Example : Input apa yang di alami malam ini oleh anna dan saras tidak pernah ada Output apa malam ini anna … | |
I would like to write a program to be able to display the events in the windows event viewer logs. Currently I need to drill down thru menu items on the control panel to get to the event viewer and logs. Does anyone know where the event logs are held … | |
I am using the RemObjects PascalScript engine in one of my applications and I have a few questions. I was looking for a list of all the functions and constants available to PascalScript and the best resource I could find was this page: [url]http://www.be-precision.com/products/pdscript/webhelp/en/topics/PSSyntax.htm[/url] Most of the functions work as … | |
Hi all, I am having an issue with regard to libeay32.dll as outlined in [URL="http://www.daniweb.com/hardware-and-software/microsoft-windows/windows-vista-and-windows-7/threads/375007"]this thread.[/URL] I am getting the error when attempting to connect via HTTPS using the following code: [code] function THttpClient.Login(const UserName, Password, URL: String): Boolean; var Client: TIdHTTP; Params: TStrings; begin Client := TIdHTTP.Create(Nil); Client.IOHandler := … | |
I am practicing Visual Studio (2005) and I ran on to this problem, a Pascal Triangle. I don't kinda get how to produce an output like this: 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1 1 5 10 10 5 1 1 6 … | |
I'm trying to understand Pascal. This code does not work! does not allow me to enter data, using debug seems to go from where I've indicated (procedure createdir) then jumps to end of main program. Can any person shed light on it. P.S. I would put it as attachment but … | |
Hi there, I'm having some real issues with restoring a piece of legacy software at my workplace. I have an offending line of code that I can't debug. [CODE]bFound := tblComp.Locate('CompPhone;Title;AddLine2', VarArrayof([sPhone, sTitle, sAddLine2]), [])[/CODE] When the script gets to this point sPhone, sTitle and sAddLine2 are correctly populated. When … | |
ShowDriveSerialNo shows it with ShowMessage GetDriveSerialNo returns a string. You don't need both. | |
How to create a custom webbrowser in minutes with many added features. It took me several months to create this tutorial so I hope many people will find it useful. Every care has been taken to make this code as accurate as possible, should there still be any mistake then … | |
Hi ! i want to ask on how to make a turbo pascal program of mathematical operations .. because when me and my classmate made a program, it did run, but we don't know how to enter the clear screen on the program, it say's error 200. I hope you … | |
I've made a library for Delphi to work with matrices. Everything in the library works perfectly as intended save the Matrix Inversion Procedure. I've used the Gauss-Jordan method of Matrix Inversion & everything works excellent for square matrices upto 7x7. From 8x8 onwards, I get a 'Invalid Floating Point' Error … | |
In past few months my computers that i develop on have become increasingly un-responsive, especially in delphi. I noticed changes after a round of windows updates a few months back. Previously when in the IDE, when you clicked anywhere delphi may try to compile or evaluate the code and it … | |
The code demonstrates running program limitted time by following going over endtime expressed in seconds since midnight, so might fail for playing just midnight (add check that endtime is less than 24*60*60 if you want to be sure). Exciting action :) of the program is that it shows remaining time … | |
How can i write my data from EditBox to SQL Table whit using ADODataSet,ADOTable and DataSource? Please help me? and write Example Code... | |
I would like to know how would I write a piece of code to search a database based on a keyword entered? I haven't started yet but I don't even know the syntax for writing such a program/subprogram plz help | |
Borland has released some "Turbo Explorer" editions of it's development tools. I am wondering if anyone here can tell me (as objectively as possible) if the Delphi language is -"Better" -More powerful -Easier to learn -More Flexible -Able to create better performing apps Than C# (I am particularly referring to … | |
Hy! I'm trying to make a new game and i have some problems... First it chooses how many player it'll be, then the whole deck is slit, and it gives each player aprox the same amount of cards. It works pretty well at 3,4,5,6 but it blocks at 2. I … | |
Hi, I made an application that could check integers between two values (by using spinedits) and then sum the total and display it on a richedit. [U] This is my code: [/U] [CODE] var iAnswer, iBase: Integer; begin iBase := 0; for iAnswer := SpinEdit1.Value to SpinEdit2.Value do begin if … | |
Hello. I have some function named: Function Decrypt(pBuffer :TBytes) : TBytes ; and I hooked winsock recv method, and I have this function: [CODE] function R_CallBack(a1:Integer; var buffer;a2,a3:Integer):cardinal;stdcall; var DecryptedBuffer:TBytes; begin DecryptedBuffer:=Decrypt(buffer); Result:=1; end; [/CODE] but I'm getting an error.. Incompatible types: 'procedure, untyped pointer or untyped parameter' and 'TBytes' … | |
I've heard about keyboard hooks before but I can't really understand how to make them as there isn't much tutorials on it. I was wondering if anyone could make a very simple keyboard hook which detects me pressing the UP ARROW key and explain the code to me. Also are … | |
Hi! I'm trying to restrict my exe to only one at any time. I've used the following code: [CODE] var Mutex : THandle; Mutex := CreateMutex(nil,False,'MyMutexName'); [/CODE] I got the following error in CreateMutex: 'Invalid Number of Parameters". How to create a Mutex in Delphi? | |
Hello! I want to make the tetris game in pascal... here it's what i've done so far... [CODE]uses crt; var x,y,i,c:byte; begin x:=5; y:=1; repeat clrscr; for i:=1 to y-1 do writeln('| |'); if y<49 then begin writeln('| a |'); writeln('| a |'); writeln('| a |'); writeln('| aaa |'); for … | |
Hi again, With silly question... I read about generating random numbers random(10); but it gives numbers from 0 to 10 and i need for example from 10 to 100. I tried random([10..100]); but i can't compile this :/ Could somebody help me? | |
Hello, I'm working on a snake based game in pascal. I'm using graph window. But here is the problem: Yesterday i was doing great my project compiled and everything, today i turned on my computer, open my project and it wouldn't compile... I checked the code the was nothing strange … | |
Hi! I'm using Inno Setup to create setup file for my application. Inno Setup is based on Delphi Script. I searched for Inno Setup forums and I could not create an user account with any of them. That's why I've decided to post here. While installing I've to check the … | |
I would like to display blank value when the value is equal to zero, but when it is a non-decimal number to be displayed with preceeding zeros, example: when it's equal to two, i want it to be presented as 2.00. I tried with '0.00' but it shows literaly 0.00 … | |
Hey guys first time i heard about pascal. So if you guys help me knowing what is pascal and how its work. | |
I cannot read the info I stored into the files and I need help. Whenever I give the user the option of saving more records or simply retrieving a record, it always stops on the retrieving part. [CODE] Type Str25 = String[25]; TBookRec = Record Title, Author, ISBN : Str25; … | |
i need to make a program windows application to insert an image and when the mouse is over the image a new form or frame get visible with a new image can some one explain stet to step of how to do it plz | |
Dear knowledgeable ones A new problem have arisen. I have now an SQL database file with about 100 tables in it. I would like to automatically go through all of these tables and check if the column "Owner" exist. If this field does not exist, then it should be created … |
The End.