News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

.DATA Q

Started by DC, June 21, 2005, 05:00:42 AM

Previous topic - Next topic

DC

Hey Y'all,
I'm startin' my come back after a lengthy sabatical (had a major break-through that I thought I'd never get)...
now it's like startin' over... kinda...
anyway...
memory alocated thusly...
.data?
_bc      dq      1024 dup (?)

it doesn't need un-alocated, right? even in a .dll ?
thanx,
DC
p.s. miss y'all
p.p.s. WOW!... this forum has some way cool changes
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net

hutch--

Where have I seen that face before ? Welcome back.

The data is allocated in the uninitialised data section so it cannot normally be deallocated. If you ned to have memory that can be allocated and deallocated, use one of the dynamic memory functions, VirtualAlloc(), GlobalAlloc() etc ....
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

DC

long time...
hope things are good for ya...
anyway...
my "alocation" is a table (Required by the dll fn's) generated during attach... in the .DATA?
which brings up another q... does every attach generate a new table?
thanx and sorry... I think I knew this stuff already,
DC
this isn't daja vu, I'm just learning it for the 37th time
http://www.bmath.net