> > DmNewResource(DmOpenRef dbR, ULong type, Int resID, ULong size)
> >  is used to add my resource. I don't understand the parameter of size [...]
> 
> It's *your* resource, and you're about to write your contents into the
> handle returned by DmNewResource.  So if you know what data you're going
> to write to your resource, you must know how big you want it to be!

I use constructor to build the resource, and compliie in my .prc file,
the .prc program load the resource and build resource database. will it
work?

:)
Eric

Reply via email to