Especially to populate the "inheritable items" and "forms creation" dialogs
I am asking because since a few days, I cannot create inheritable items
anymore as there is a space (or a tab?) appended to each form name so I
end up with an error message when inheriting like 'basewindow 2 is not a
valid identifier' (notice the space between b...
I need to calculate Crc16 checksums with a $1021 polynom over large files, below is my current implementation but it's rather slow on large files (eg a 90 MB file takes about 9 seconds).
So my question is how to improve my current implementation (to make it faster), I have googled and looked at some samples implementing a table lookup b...
I am sure that I got a good answer to my previous question because I have previously had a great deal of help on other questions from the guys who posted there.
But I am obviously doing something wrong, because when I copy the example code what the object inspector shows me for the MyProp property is a single text input field. I was exp...
I need to add at runtime to an inmemory image 15 lines of transparent pixels on top and 20 on the bottom.
The images are loaded in a TcxImagelist (from DevExpress Express Library), they can be therefore retrieved as 32bit bitmaps.
If the image is 400x75 after the manipulation should be 400x(75+15+20) = 400x110
How to perform this task...
I've run into an interesting problem that I never encountered with XP or IIS 6.
Basically, I can't get a native Delphi (WebBroker) Web service server to work with a native Web service client in Windows 7 64-bit.
Here's the most basic breakdown. If I create a new Web service application in Delphi 2010 (or any version, back to Delphi 7),...
I have an existing COM DLL (class library), originally written in VB6 and source code now lost.
I need to very quickly rewrite to make a minor tweak it and don't have access to VB6. I understand that C++ Express 2008 will let me create the DLL, but I get bogged down ATL and the like.
Is there a really simple step by step guide to creat...
Hi,
is it possible to execute a crystal report (TCrpe component) from a Delphi non VCL main thread when Output = toWindow?
I execute reports from a background thread, and when Output is toPrinter or toExport, everything is fine.
I know that creating forms in a
Delphi non VCL main thread generally is a
bad idea.
When a Crystal
Report...
I've noticed that when I use TRibbon control that comes with Delphi 2010, it works flawlessly on my Windows 7 system. However, the application has some weird painting issues on a Windows XP system with the "classic theme" (I haven't tried the playschool theme).
I know there are other Ribbon components available from DevExpress and TMS...
Hi
How can I extract a image of specific size or all images from an Icon with multiple images?
TIA and best regards
...
Hi,
I've a weird problem with my application, its memory usage goes up a few hundred megabytes at once every now and then and eventually the application freezes. The application is written with Delphi, it uses database, COM (for OPC) and TCP/IP.
With FastMM I've got following the screen shot of memory usage. I'm not completely sure ho...
Hi all,
I'm working with Microsft Office Interop API. My question pertains to Excel.
I wrote a program using Interop API to format Excel documents and then send them to the printer. The problem though is that we occasionally run across files in which people have created a column that spans 65,000+ rows, and all it contains is a formula...
Hi all,
I use DeHL to serilize XML and class in Delphi and if add property to my class and try to deserialize my XML file. I have this error : ‘Deserializing « \TApp\FObject\test » failed. Serializer reported it’s missing or other entity is currently read!’.
I understand quite well this problem but is there a way to put default value i...
Is there any additional runtime overhead in calling overloaded functions?
(I ask this specifically for Delphi, in case the answer isn't the same for all compiled languages)
I think not as that should be resolved during compile time, but you can never be sure can you?
...
I have an IFilter written in Delphi that I'm trying to get working under 64 bit Windows 7 Desktop Search.
Due to it being developed in Delphi I can only compile this as a 32 Bit DLL.
To work around this I am trying to write a 64bit IFilter Dll in Visual C++ which internally uses my 32Bit IFilter Com Object using the DllSurogate techn...
I am using Delphi 6 Professional. I am interfacing with a DLL libraty that declares an enumberated type as follows:
TExtDllEnum = (ENUM1 = $0, ENUM2 = $1, ENUM3 = $2, ENUM4 = $4, ENUM5 = $8, ENUM6 = $10);
As you can see the initialized values are not contiguous. If I try to iterate the type using a for loop as follows:
var
e: T...
I have defined a record which has lots of fields with different types (integer, real , string, ... plus dynamic arrays in terms of "array of ...").
I want to save it as a whole to a file and then be able to load it back to my program. I don't want to go through saving each field's value individually.
The file type (binary or ascii or .....
When I asked this question I accepted the answere because it made sense and the documentation pointed was right.
Testing a machine with IE6 against other one with IE7 with the same compiled executable using TWebBrowser the behaviour was indeed as pointed in the answere.
Now I put the answere in doubt again, in a machine with IE8 that s...
I am looking for good resources for learning to use the Win32/GDI APIs or whatever supercedes it to draw and paint directly using the Win32 API to a glass form.
While I am using Delphi, I tagged this as Delphi or Visual C++. Any code samples and articles that you can find would be appreciated. MSDN articles do not seem to be written a...
Hi everybody!
When a window handle is given, how can i exactly resize a window sending windows messages towards it? I've tried many things such as sendig a WM_SIZING Message to the window, but nothing worked(the way i did it).
I don't like to use SetWindowPosition.
Thanks in advance,
David
...
I have lost most of my Library Path in Delphi XE after upgrading from Delphi 2010,
Now even some simple app will fail to compile :(
Is there any way to recover those lost dirs?
Thanks a lot!
EDIT: I found a surprising solution to this problem, just delete this registry key:
HKEY_CURRENT_USER\Software\Embarcadero\BDS\8.0\Library
and...