🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #1332

Re: GlobalDosAlloc not exported in libs?

#1332
From: Kai-Uwe Rommel
Date: Thu, 14 Feb 1991 10:06
12 lines
1229 bytes
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
Technical Details
Message-ID: <1991Feb14.100628.26632@newsserv.informatik.tu-muenchen.de>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!unido!ira.uka.de!fauern!NewsServ!rommel
References: <1991Feb13.165724.18629@linus.mitre.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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