first include the header file alloc.h
#include alloc.h
Eg: if you want to allocate a char array using farmalloc (),
char far* ptr;
ptr = (char far*) farmalloc ( size );
now do the required operations. The only difference is that we used a far pointer it behaves just like an ordinary pointer but, ordinary pointers like char* can only handle 64KB of memory locations, but this far pointer can handle memory of more than 64KB. Take care to free the allocated memory using farfree().
farfree ( ptr );
hope now all the problem solves. If you face anymore, please feel free to ask me. ;) Regards, Jijo. ;) ________________________________ Yesterday is history, Tomorrow is a mystery, But today is a present.