CallDll vs User libs

Blitz3D Forums/Blitz3D Programming/CallDll vs User libs

So what you're implying is that I can do this? ...

C++ User lib implementation

int MyFunc(void)
{
static int memory;
return (int) &memory;
}

and in Blitz

memory_bank = MyFunc()
memory% = PeekInt(memory_bank,0)