How to load binary data as a resource with LRC ?

  • Follow


Hi,
is there a way to load binary data as resource with LRC ? I tried to define
mydata.bin as a BITMAP, but this doesn't work because of data changes,
custom data types are ignored by the LRC.

I need to access to some kbyte of data within my program without having
access to a file system store, in the matter of selfextracting programs.
The idea is to store the data as resource within the program and get access
by FindResource, LoadResource, ...

any help would be appreciated

regards
J�rgen


0
Reply J 6/23/2006 1:42:10 PM

Hi!

Try resource type RCDATA instead of BITMAP in your
..rc file.

BR,
mate

J=FCrgen K=F6hler wrote:
> Hi,
> is there a way to load binary data as resource with LRC ? I tried to defi=
ne
> mydata.bin as a BITMAP, but this doesn't work because of data changes,
> custom data types are ignored by the LRC.
>
> I need to access to some kbyte of data within my program without having
> access to a file system store, in the matter of selfextracting programs.
> The idea is to store the data as resource within the program and get acce=
ss
> by FindResource, LoadResource, ...
>=20
> any help would be appreciated
>=20
> regards
> J=FCrgen

0
Reply mate1981 6/29/2006 9:00:45 AM


1 Replies
268 Views

(page loaded in 0.058 seconds)

Similiar Articles:













7/15/2012 7:13:15 AM


Reply: