Re: Assigning Variables at runtime?
"Damfino" <fxengelbrecht@xxxxxxxxx> wrote in message
news:1114873330.937136.230690@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm a newbie to Delphi, and newsgroups so please be patient. I have
> problem that has me stumped. It's as follows:
> I have a binary file containing blocks of 194 bytes of data. Each block
> starts with a 2 byte SyncVar of 01101001, so I can easily extract the
> 194 bytes. The problem comes in that the actual structure of the data
> can (and will) be different from file to file. What I would like to do
> is define the structure in a text file, and then at runtime apply that
> structure to the binary file question.
A tClientDataSet or tDataSet derivative may be a reasonable solution
depending on your skill level and the program requirements.
.
Relevant Pages
- Assigning Variables at runtime?
... I'm a newbie to Delphi, and newsgroups so please be patient. ... I have a binary file containing blocks of 194 bytes of data. ... (comp.lang.pascal.delphi.misc) - Re: Sharing with Newsgroup
... with MS to forbid attachments, delete them at source, rather than ... > Many hosts that carry newsgroups prohibit binary posts in text-only ... > Some services impose limits on the rate at which a customer can ... > large binary file can result in that limit being exceeded. ... (microsoft.public.excel.programming) - Re: Copy portions of array
... binary file. ... When compiled VB is astonishingly fast at dealing with Byte Arrays, ... discovered this when I wrote a Delphi DLL for sorting large files. ... I gave the DLL an option to CallBack to VB to perform the comparison, ... (microsoft.public.vb.general.discussion) - Re: Problem in writing structure to Binary file in C lang
... reading those data from binary file and display it in C language. ... inplace of szFirstName it writes pointer to string. ... have an appropriate newsgroups line in your header for your mail to be seen, ... you are allocating the memory for structure.. ... (comp.lang.c.moderated) - Re: Newsgroups - was Interested in joining the Masons...
... Newsgroup server at the end of December as "Newsgroups are an obsolete ... One needed to peer with other servers, which isn't free, there was a need for massive storage as well as bandwidth to handle an incoming and outgoing stream. ... And with the 35% overhead needed to transmit a binary file on a text-only system, you're talking about files as big as 10 gigs. ... Comcast did that a couple years ago and contracts with Giganews, providing Comcast users ... (soc.org.freemasonry) |
|