Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!ira.uka.de!fauern!NewsServ!rommel From: rommel@Informatik.TU-Muenchen.DE (Kai-Uwe Rommel) Newsgroups: comp.windows.ms.programmer Subject: Re: GlobalDosAlloc not exported in libs? Message-ID: <1991Feb14.100628.26632@newsserv.informatik.tu-muenchen.de> Date: 14 Feb 91 10:06:28 GMT References: <1991Feb13.165724.18629@linus.mitre.org> Sender: news@newsserv.informatik.tu-muenchen.de Organization: Technische Universitaet Muenchen, Germany Lines: 12 In article <1991Feb13.165724.18629@linus.mitre.org> dkb@bistromath.mitre.org (Daryl K. Baker) writes: >Has anyone used GlobalDosAlloc and GlobalDosFree? I tried linking >my application which was using these rouintes and received >unresolved externals. (A side note: if you do a "strings" on The prototypes are missing in the WINDOWS.H header file. Just add them as shown in the online help or in the printed manuals. If not (and if you use warning level < 3 you will not even get a warning about missing prototypes) the compiler assumes them to be of type cdecl and adds the leading underscore and therefore the linker does not find them. Kai Uwe Rommel