Hi,
I'm writing a Office addin, and I need to reliably determine if win32 window handle is a handle of a VCL (a control or a form, whatsoever) of my Addin, or it's handle of any windows of Microsoft Office itself?
Thank you!
...
How can i work with 2 Tadoquery and work like a Tadoquery (master) Tadotable(detail) !!
var tempvar : Variant;
begin
Edit1.text:=Ano.value;
Begin
with Ano_planeamento do //Laço de consulta por codigo
Begin
Close;
SQL.Clear;
SQL.Add('SELECT * from planeame...
Does anyone know an Apple style "waiting" animation VCL component for using with Delphi 7? Thanks
...
Hello,
In external (Delphi-created) DLL I've got the following function that I need to call from C# application.
function ReadMsg(handle: longword; var Msg: TRxMsg): longword; stdcall; external 'MyDll.dll' name 'ReadMsg';
The "TRxMsg" type is variant record, defined as follows:
TRxMsg = record
case TypeMsg: byte of
1: (a...
When I attempt to count the number of items in a group I get the total number of items in the collection. How do you get the number of items in each group?
...
How can I search a dynamic array of char in Delphi 6 for a sub-string and get back an index to a match, not a pointer? I've seen functions in Delphi 6 that do this for strings but not for dynamic char arrays. There is a function called SearchBuf but that function returns a PChar pointer to the match location when what I need is the arr...
Can I continue to use the interbase vcl components in delphi 2010 with firebird 1.5?
Thanks
...
Hi,
I am making a bread crumb bar in Delphi and having some problems regarding sorting the dropdown of the bread crumbs.
Strangely enough, even Vista is not consequent when showing these items.
I have tried many ways to figure out what is system folders, what is zip files and what is normal folders. It seems like an easy task but so f...
Has anyone seen a recent (and fairly balanced) study into the relative costs for software development using differing languages ? I would particular like to see the relative costs of Java Vs. C# Vs. Delphi.
...
I have some code that gets the leading value (non-zero) of a Double using normal math instead of String Math...
For Example:
0.020 would return 2
3.12 would return 3
1000 should return 1
The code I have at the moment is:
LeadingValue := Trunc(ResultValue * Power(10, -(Floor(Log10(ResultValue)))))
However when ResultValue is 1000 the...
I have two object class on a single unit, is it posible to trigger the two events? let say the FIRSTCLASS event is fired, The SECONDCLASS also will fired?
Assuming......
//{Class 1}-------------------------------------------------------------
type
TOnEventTrigger = procedure(Sender : Tobject; Value :integer);
TMyFirstClass = Cla...
I will really appreciate anybody's help about how a Unicode string can be passed (marshaled) from a managed (Delphi .NET) to an unmanaged (Delphi's Win32 DLL) function.
The managed environment (Delphi .NET):
...
interface
...
const TM_PRO_CONVERTER = 'TM.PROFileConverter.dll';
function ImportLineworksFromPROFile(FileName :...
hi,
i'm newer in jasper reports.i've some problem when i call iReport from jsp....some error occurs at run time as like below :-
Error loading the report template:
org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'head'. One of '{"http://jasperreports.sourceforge.net/jasperreports":...
Hi all,
we have a project written in Delphi that we want to convert to C#. Problem is that we have some passwords and settings that are encrypted and written into the registry. When we need a specified password we get it from the registry and decrypt it so we can use it. For the conversion into C# we have to do it the same way so that th...
Delphi 2010 has new features regarding the RTTI, which I read it will make it easier for ORM tools and much cleaner code.
but I have not found any ORM incorporated these features.
Do you think the Embarcadero should built one and include it with Delphi
...
I have declared AdoConnection : TADOConnection; and successfully connected to the default "mysql" database (so, no need to pass that code).
Now, taking baby steps to learn, I would like to AdoConnection.Execute('SHOW DATABASES', cmdText); which seems to work ok, in the sense that it doesn't throw an exception, but I am such a n00b tha...
Hi,
I want to have file combo box in delphi.
It must behave like this:
If i enter C:\ in combo box, it should show all the files & folders in C: Drive
If i proceed further i.e., if i enter C:\Pro, then all the files & folders starting with C:\Pro should be shown in combo box.
Simply it should behave like the File Name Combox Box t...
In terms of naming: Are we Delphi, VCL or Pascal programmers?
...
I've written a server in Delphi 2010 that needs to launch a console application every now and again to back up a database. The console application can send log information to the console window, but it is not required.
This works fine when running as an application, but when run as a service I get an access violation when launching the ...
Hi there .
I'm confusing about opening different threads with OpenThread Function and examining them with NtQueryInformationThread native function .
I have no problem with NtQueryInformationThread & I can examine them finely.
the problem is I don't know how to loop through different number of threads using OpenThread
(with SetDebugPrivi...