Path: 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) > 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