I have the task to create a tier 2 application as follows:
MSSQL Database <-> Server <-> n-Client (n for many)
The client sends data to the server. The server selects stuff from the database and then sends it back to the client. Currently I am doing that with Records and SendDataToSocket(url is below).
I want to use TDBGrid on the cli...
Hello,
How do I write an array of something into one Ident in an ini file and lately How do I read from it and store the value in an array?
This is how I'd like the ini to look like:
[TestSection]
val1 = 1,2,3,4,5,6,7
Problems I have:
I don't know the functions I have to use
The size is not static.It may be more than 7 values,it m...
I am currently required to open and use a .NET assembly in delphi. The Assembly that i am trying to use also has an assembly of objects it is using. With the object assembly i was able to use regasm to create a type library. I was also able to assign a SN and register it with the GAC.
Now with the main assembly i am tyring to use i...
When using Delphi's ReadLn to read values from a tab-delimited file into a series of variables, why do some of the variables not get assigned to appropriate value when I step through the debugger?
i.e.
x, y, z: Integer;
...
ReadLn(fh, x, y, z);
MessageBox(int2Str(y));
...
Only y has a value, x and z are 0 ...
Note: This was edited ...
I'm using Delphi 7. I'm trying to add a procedure with a call to "application.processmessages" in a non-VCL unit. I get the error "undeclared identifier: application".
How do I reference the TApplication class from a non-vcl unit? Where in the documentation is this described? It is hard to find due to the broad use of the term "applica...
I've been using gabr's OmniThreadLibrary to build a ThreadPool.
I'm a novice when it comes to multi-threading, which is why I've found OTL to be so interesting.
Following the demo application "app_11_ThreadPool.exe", I setup a thread pool in my application. The purpose of my app is to take a list of URL's, and attempt to connect to the...
Hello,
I'm working with Delphi 2009,I binged my question,but the answers I've gotten are outdated since It doesn't recognise StrtoFloat in Delphi2009.
I'm asking how to convert an integer ,for example, '1900000' to '1,900,000'?
...
This is what i am doing: I am currently required to open and use a .NET assembly in delphi. The Assembly that i am trying to use also has an assembly of objects it is using. I was able to use regasm to create a type library for the main assembly. I was also able to assign a SN and register it with the GAC.
Now when i try to import the ...
Hi Girls and rest,
I have a question for XML document special chars, I'm using & in on of the value of the item in XML and TXMLDoc Delphi parser is complaining about it.
I search for some XML parsing options but none of them concerning special chars,
any ideas?
Example:
<Configuration>
<Configuration_item>
<view_...
Hi,
Exist any Way to Determine the Version of Firebird SQL is running? using SQL or code (delphi, C++).
Bye
...
I'd like to create a custom "datamodule" in Delphi, a TDataModule like (maybe inherited) class which would have a custom grid based design interface (one component per line, some properties as columns). Is this possible? Where should I start?
I'm currently using Delphi 2007.
...
After you've been programming for a long time with a language, you pick up certain coding standards or styles. With Delphi it's things like prefixing private variables with f and putting private declarations before protected, which in turn are before public ones etc etc. Most of this comes from the VCL.
Is there any recognized coding st...
Hello,
I don't know ,which of those three suits me most,they all work for me.Does anyone know the difference between Refresh,Update and Repaint?
...
Well I have an issue with DBGrid vertical scrolling. When I scroll it vertically with mousewheel or vertical scrollbar it moves selected row up and down. I want to make it scroll not selected row but entire grid. Just like it works in Microsoft Excel for example (just to let you know what I mean). Any suggestions?
...
Can anyone recommend a parser generator that will produce win32 Delphi code? What I'm trying to do is create a simple Domain-Specific Language.
...
The Application.ProcessMessages command is well known and I use it in long processes to ensure my program will not tie up the computer.
But I have one fairly quick set of processing, where I am buffering a view into a file. During the buffering procedure, a few system messages may get sent off (e.g. redraw or scrollbar move or other eve...
I'm having a problem with a component I use.Its aligned to bottom ,and ,when form is maximized,the control is placed at the correct position,but when I attempt to minimize the form,the control stays at the position where it is.
I tried using a timer that always sets the align to bottom,but I'm sure a timer is the worst solution to my is...
I have a shared runtime package that I am using to support an application that uses packages as a plugin system. I have included several third party units in the shared package to reduce the number of BPLs that have to be distributed.
Delphi seems to have some headaches with this set up, occasionally updating only the DCP file in the "...
are there any specific issues that should be tested for Win7 compatibility when APP works well with Vista.
notes: my app uses Systray and has .Manifest file.
...
Hi,
I have a problem with the background compiler in Delphi7: in my project there is a single line of code that causes the background compiler to stop with an error message so that no CodeCompletion is possible. The normal compiler and the syntax check have no problem with this code and the resulting application is correct.
My question...