where do you get the fact that resources are not "closed"?
Last i checked resources had no concept of opened/closed. All they do
have ia (1) handle lock count and (2)nvfs best-guess
number-of-references count
----
Best Regards,
Dmitry Grinberg
(847) 226 9295
On Mon, Dec 8, 2008 at 4:47 PM, Tam Hanna <[EMAIL PROTECTED]> wrote:
> Hello Folks,
> I have a very strange problem: I have a database containing bitmap resources
> which I open and close - but the resources are not closed for no particular
> reason.
>
> The opening is as follows:
> orbs[0].orbH=DmGetResource(bitmapRsc,OrbYellow);
> orbs[0].orbP=MemHandleLock(orbs[0].orbH);
> orbs[1].orbH=DmGetResource(bitmapRsc,OrbPink);
> orbs[1].orbP=MemHandleLock(orbs[1].orbH);
> orbs[2].orbH=DmGetResource(bitmapRsc,OrbDarkGrey);
> orbs[2].orbP=MemHandleLock(orbs[2].orbH);
> orbs[3].orbH=DmGetResource(bitmapRsc,OrbLightBlue);
> orbs[3].orbP=MemHandleLock(orbs[3].orbH);
> orbs[4].orbH=DmGetResource(bitmapRsc,OrbOrange);
> orbs[4].orbP=MemHandleLock(orbs[4].orbH);
> orbs[5].orbH=DmGetResource(bitmapRsc,OrbLightGrey);
> orbs[5].orbP=MemHandleLock(orbs[5].orbH);
>
>
> The closing is then done like this:
>
> for(i=0;i<=5;i++)
> {
> MemHandleUnlock(orbs[i].orbH);
> DmReleaseResource(orbs[i].orbH);
> }
>
> Weirdly, the resources are not closed.
>
> Anyone have any ideas why?
>
> All the best
> Tam Hanna
>
>
>
> --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/