>>And about using them in unix you can allocate the memory using malloc/new but you just keep in mind that you have to implement the GPTR or any other flag used yourself. In this case you just have to allocate the memory and initialize contents to zero. [/B][/QUOTE]
Q1) sorry for the ignorance but what is the meaning of initializing contents to 0. should I use any macro?
Q2) what is the meaning of allocating fix memory size (GMEM_FIXED)? isn't it built it part of malloc(size of(XXX))?
Q3) do you know the equivalent of closesocket(int) in UNIX? is close(int) just the same?
Q4) any equivalent to GlobalFree(HGLOBAL)?
thanks again. it's the last thing I need...