CompuServe Messages

#Manx/AllocRemember()

    08-Dec-87 12:26:48
Fm: Nick Sullivan/Transactor 76703,4353
To: Richard Rae/SYSOP 76703,4253
That's correct… I allocate with 0L for the memory type more often than not, and it behaves as you describe. I've also used AllocRemember lots of times with no crashes, so it _does_ work. The only problem I saw in your example was that you didn't declare AllocRemember() itself (char *AllocRemember()), but I assume you had that in your code and it wouldn't in any case explain a crash on the AllocRemember call. Seems to me you're doing everything right, and the problem has got to be somewhere else in your code… e.g. maybe you're doing a deallocation incorrectly before that, corrupting the memory list, and the AllocRemember call springs the trap… or something. Nick