Tagged Questions

Delphi is a general purpose language for rapid development of native Windows, OS X and iOS applications. The name also refers to the Delphi IDE, which is used to help edit and debug Delphi projects more efficiently. It is sold by Embarcadero, as a standalone product or included in RAD Studio, ...

learn more… | top users | synonyms

0
votes
1answer
31 views

Use variable with in an object

ok I have this while loop and instead of player1 , I would like to have Player[i]. I have edited my class where it lets me add the [I] while i < FMyPlayers.TeamCount do begin ...
2
votes
1answer
17 views

Http Post with indy

I have a simple php script on my web server to witch i need to upload a file using HTTP POST Here is my code with Indy but aparantely it won't work and I can't figure out what i am not doing write. ...
1
vote
0answers
14 views

COM Object in WCF Service

My WCF Service, written in .NET 4.0, has a problem that the second, or any other call get stuck. The WCF Service does nothing else than calling a COM Object written in Delphi XE. The threading model ...
1
vote
1answer
38 views

403/Forbidden using delphi application to access my Google calendar

Can anyone tell me why i'm having trouble accessing my calendar information? I'm getting 403 forbidden. procedure TForm1.Button1Click(Sender: TObject); var stringStream: TStringStream; slPost, ...
1
vote
2answers
53 views

paramstr(0) = Unicode?

I want to copy a file from the selflocation to another location like that: var NewFile : WideString; MyOwnLocation : WideString; begin NewFile := 'C:\mycopy.exe'; // CopyFileW ...
1
vote
1answer
38 views

How read a pchar using ReadProcessMemory

I'm using the ReadProcessMemory function to read the content of an external running app, I have a memory address which points to a PChar(UNICODE). I'm wondering which is the proper way to get that ...
0
votes
1answer
55 views

Change Password Delphi v7

Delphi v7 This code is designed to allow the user to change his password. It appears to execute correctly, but the new password is not saved in the the password data field. I must have done something ...
0
votes
2answers
88 views

How can I create access denied folder in Delphi?

How can I create an access denied folder or file by Delphi? I would like only myself to be able to access that folder/file from delphi.
0
votes
0answers
46 views

Datasnap XE2 : how to send abstract classes?

I'm currently trying to receive a complex object from my datasnap server. This object contains property of type : TList< AnAbstractClass > I populate this TList with classes inheriting from ...
0
votes
0answers
23 views

DragOver TAdvToolBar in MDI application

I have an MDI application with AdvToolBars on my main Form. I want to drag them into a MDIChild Form but, the OnDragOver of my MDIChild Form doesn"t fire. I"ve tested dragging a simple TButton and I ...
1
vote
3answers
119 views

Why is Destroy not called?

Given the following Delphi code, Foo is Free'd on FormClose, but TFoo.Destroy is not being called - and therefore Bar is not free'd, leading to a memory leak? Have I missed something here or ...
0
votes
0answers
22 views

Auto-Recover when DBNETLIB ConnectionWrite General network error causes ADO connections to go offline in Delphi applications?

Googling this ADO error message indicates that it is commonly encountered in ASP.NET development, but I have not found much mention of when it occurs in Delphi applications. We have some customer ...
0
votes
2answers
89 views

Is there a Dependency Injection Framework for Delphi with attribute-based injection?

I would love to be able to code in Delphi this way, simply annotating a field: type TMyClass = class private [Inject] Factory: ISomeFactory; ... end; or by attributing a setter ...
0
votes
1answer
41 views

nrComm Assign Port

I have started recently at the recomandation of someone from stackoverflow to use nrComm library to handle the communication between the computer and a GSM Modem. I am having trouble with assigning a ...
0
votes
0answers
69 views

Delphi: SQLite and UniDac

Need to store some data in SQLite. To work with SQLite chose UniDac, but there is a problem: when in the UniConnection, in the field "Database", I choose SQLite and enter the name of the database - ...

1 2 3 4 5 1011
15 30 50 per page