Re: Wrapping GetVolumeInfo: help required
- Posted by euman at bellsouth.net Oct 12, 2001
- 516 views
OOPs, guess I messed up some on that last one + 1 You do this: allocate_string(repeat(' ',nVolumeNameSize)) I do this: lpVolumeNameBuffer = allocate(nVolumeNameSize+1) mem_set(lpVolumeNameBuffer,0,nVolumeNameSize+1) and the extension to the whole thing and the conclusion: vol_name = peek({lpVolumeNameBuffer,nVolumeNameSize}) free(lpVolumeNameBuffer) Euman euman at bellsouth.net