Hello every body:
I have a DLL made in Delphi 7/Windows XP that I want to statically load in a host application on Windows (made in Delphi, too). I am using this line of code:
procedure Prepare_HTML_Email(var MailMessage : TIdMessage; const FileAddress, aDetail, aAlarmType : String); stdcall; external DLL_ADDRESS;
where DLL_ADDRESS mu...
Hi,
I'm using FastMM together with JCL Debug info to trace memory leaks in my application. However I have plugins which are dlls compiled in Delphi, both dlls and main application use common runtime packages. Now, when I'm shutting down the application, it generates memory leaks report in text file which is fine, but it contains stack tr...
Did you try using JVCL 2.10 with Delphi 2010? I have Delphi 7 project that heavily uses DB components from that library and want to move it to new Delphi. I know that migration from JVCL 2.10 to newest JVCL version will be very problematic, so it would be better if Delphi 2010 worked with 2.10. do you have any experience?
...
For the purposes of binary / source code verification, i'd like to be able to make two compiles on the same computer 2 weeks apart and have the binaries be identical and thus pass some checksum test.
So far I've found that most likely the timestamp will be written by the compiler into the binary. I can work around this by doing the com...
I am trying to migrate my own projects to delphi 2010. But it seems to be very difficult.
I use TntControls for old projects. If I remove this library, some runtime functions must be re-implemented by myself. For instance: convert UnicodeString to a specified code page.
The "SizeOf", "Length", FillChar() still confuse me. Compiler wil...
I'm using this code to get all the links from an IHTMLDocument2:
procedure DoDocumentComplete(const pDisp: IDispatch; var URL: OleVariant);
var
Document:IHTMLDocument2;
Body:IHTMLElement;
Links:IHTMLElementCollection;
i:integer;
tmp:IHTMLElement;
begin
try
Document := (pDisp as IWebbrowser2).Document AS IHTMLDocument2;
...
Each Delphi's VCL source file has header like this:
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2010 Embarcadero Technologies, Inc...
I am trying to run a function or procedure in Delphi asynchronously, but without using a component, is there a way to do it with delphi core functions?
...
Hi...
I am using Delphi 2010 to implement an Application Menu for my ribbon control... but there is a recent documents list (or at least the title of it) on the right hand side of it...
Is it possible to hide this list and put something else there instead, like I am thinking of a list of available functions...
Will this violate the te...
From my application written with Delphi 2009, I am reading from and writing to an IBM DB2 database using ADO, the ODBC Provider for ADO, and ODBC:
Application -> ADO (Win32) -> ODBC-Provider for ADO -> ODBC -> (net) -> DB2 (Windows)
Now, my application need to store unicode data. So I set my database codepage to UTF-8. Delphi handles s...
I'm trying to update a legacy app that does all its data storage in a hacked-together system of BDE Paradox files. The program works pretty well, under certain narrow conditions, but it has serious performance issues.
I'd like to try and improve things by updating to a better database system. What I need is a local database, preferably...
I am building a small multipliplayer which will need the following:
it must be written in Delphi
must support Internet connection (not only LAN)
work over HTTP
support some encryption of the packets (it may be custom)
be able to send commands to the server
be able to receive responses from the server
be able to connect up to 8 players ...
i'm writing a delphi 2009 app that uses a TTreeView on a docking panel.
i saw i could make big simplifications in my app if i subclassed the TTreeNode. the tree view it's on is placed on a docking panel.
TInfoTreeNode=class(TTreeNode)
private
// remember some stuff
public
end;
procedure TfraInfoTree.tvInfoCreateNodeClass(Sender: TC...
Hi Everyone,
I am trying to create an installation disk with InstallAware Express for my Delphi 2010 application. I have selected (checked)
CodeGear Database Express12
CodeGear Visual Component Library 12
for Application Runtime.
When I try to build it, I will get an error message
Error during build: No files matching pattern "C:\...
Guys,
Has anyone ever managed to compile there Delphi 6 & 7 (NOT any Delphi > 7 ) project using the command line?
All the instructions i see are not very clear on what exactly need to go where!
Am looking for step by step kind of instructions.
Answers should be limited to Delphi 6 & 7, i understand Delphi2006 and > uses MSBuild which...
Using Delphi 2009 (or higher) and the ITE (Internal Translation Manager), how can I build the language projects from the command line? The projects are for example
Project\Languages\DEU\Project_DEU.bdsproj
Project\Languages\ENG\Project_ENG.bdsproj
Theses bdsproj files are not MSBuild projects, so do I have to call DCC32 and pass all ...
Hello,
I'm building an application working with plugins. I'm using the excellent JVCL plugin framework. I first started to use package plugin. It worked like a charm but had a big drawback : the needs to give runtimes bpl (23Mo). So I switch to DLL plugin.
I need to call a method (procedure having 3 parametes) from hostapplication but ...
Hi Guys,
I want to change from my program the speaker setup, which is under speaker settings / advanced... section.
I tried to find maybe there is some sort of registry entry but no luck till now :|
Any Ideas ?
Thanks a lot !
...
I have an application written in Delphi W32 that is in beta.
On the test PC, it haphazardly kicks out a 'stack overflow' message after a few hours of use.
How can I trap the error and find the cause?
Can I increase the Stack size?
...
I am trying to find a way to use Open Cascade(www.opencascade.org) - 3D Modeling Technology in one of our software which is written in Delphi.
I did manage top find an ActiveX which supports Open Cascade, but on trying it I did not like the visual quality of rendered images. The ActiveX lib can be found here (www.ewcad.com).
I am not ...