[comp.windows.ms.programmer] Help with GlobalDosFree

brent@well.sf.ca.us (Brent Southard) (01/13/91)

In article <7830@umd5.umd.edu> rossh@umd5.umd.edu (Hollis "The Big Kahuna" Ross) writes:
>
>I  am trying to use the functions GlobalDosAlloc() & GLobalDosFree
>listed in volume 1 of the SDK Reference but am unable to compile 
>because the linker complains that it can't find the functions (I 
>ignored the missing prototype warning and made my own).  Has anyone 
>used the functions, and if so do they know which library these are 
>contained in.  I have the DDK installed.  Any help you can provide 
>will be greatly appreciated.

I use these prototypes with no problems:

extern DWORD FAR PASCAL	GlobalDosAlloc(DWORD);
extern WORD FAR PASCAL	GlobalDosFree(WORD);

They should be referenced in the LIBW.LIB import library.

-brent
-- 
brent southard  (313) 643-1971   |   usenet:  ...!well!brent
ImageTech Corp  (313) 353-7900   |   bix:     brent

"When frog licking is outlawed, only outlaws will lick frogs."