🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Accessing C functions from a DLL?

#2591
From: Norbert Unterberg
Date: Tue, 07 May 1991 09:38
11 lines
1091 bytes
 > Dumb question time: How can one reliably access functions like sscanf()
 > and friends from a DLL (ie how to get around the problem of DS != SS)
 >
 > Can this be done? I really don't want to re-invent the wheel for my
 > silly little DLL

Ever seen the functions SwitchStackTo() and SwitchStackBack()? They are 
specially designed for that purpose.

Norbert, 2:245/36.4
Technical Details
Message-ID: <1401594427@p4.f36.n245.z2.fidonet.org>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_Unterberg
References: <5555@p1.f6.n242.z2.fidonet.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!unido!rwthinf!slcdec!hippo!f1.n6000.z2.fidonet.org!p4.f36.n245.z2.fidonet.org!Norbert_Unterberg
From: Norbert_Unterberg@p4.f36.n245.z2.fidonet.org (Norbert Unterberg)
Newsgroups: comp.windows.ms.programmer
Subject: Accessing C functions from a DLL?
Message-ID: <1401594427@p4.f36.n245.z2.fidonet.org>
Date: 7 May 91 09:38:00 GMT
References: <5555@p1.f6.n242.z2.fidonet.org>
Reply-To: Norbert_Unterberg%p4.f36.n245.z2@hippo.dfv.rwth-aachen.de (Norbert Unterberg)
Organization: Point of SoftStream, Dortmund, Germany
Lines: 12
Comment-To: Nick_Pemberton@f1.n6000.z2.fidonet.org (Nick Pemberton)