David Cuny's Resource Manager

new topic     » topic index » view thread      » older message » newer message

Hi!.

I'm trying the R.M., but I'm faced to a "cul-de-sac" (No way out).
Just posting this if anyone can help-

The resource manager needs references to filenames to include inside the
resource file (or the .exe).
This is handled by either a rFile or a rOpen procedure, but

I use the following procedure to open and load bitmaps:

global function loadBitmap(sequence bitmap)
  atom result
  result = c_func(xLoadImage,
     {NULL, allot_string(bitmap), IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE})
  -- free the string
  free_strings()
  return result
end function

so I have no way to reference the bitmap file, because xLoadImage does its
own opening and closing....

Any (preferently bright) ideas?.

Jesus-(asking as forever)...

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu