Advertisement

02.26.2008 at 09:06AM PST, ID: 23194139
[x]
Attachment Details

Explain the DFM streaming mechanism and how the Resource DLL Wizard avoid to localize TImageList data

Asked by Probie in Delphi Programming, Delphi Programming Language

Tags: Delphi

When I try to localize an application that uses a TPngImageList component, the Resource DLL Wizard throws an error on the binary PNG data in the DFM. If I instead use a normal TImageList component the image data isn't even shown or processed by the Resource DLL Wizard. Does the Resource DLL Wizard have some magic here and understands that it should avoid to localize Image data on a TImageList component?  If not, what is causing this behaviour?

My first thought was that the TPngImageList is saving the image data in some strange way in the DFM stream, but I cant find where or how..

I really lack in understanding of the DFM streaming mechanism and I cant find any good information about it. Would be great if someone could explain the basics of DFM streaming and also give some ideas why the Resource DLL Wizard tries to localize the TPngImageList image data, while it skips image data for a normal TImageList component.
Start Free Trial
 
 
[+][-]02.27.2008 at 12:16AM PST, ID: 20992221

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Delphi Programming, Delphi Programming Language
Tags: Delphi
Sign Up Now!
Solution Provided By: ciuly
Participating Experts: 1
Solution Grade: B
 
 
[+][-]05.06.2008 at 10:24AM PDT, ID: 21509214

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628