🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #545

Error while returning values from DLL.

#545
From: Kiran devanath
Date: Thu, 01 Oct 1992 23:55
14 lines
1386 bytes
I am calling a DLL library which is OptionsA.DLL. It has a procedure
OptionsA which accepts 3 integer values and 6 double values.
I this procedure as :
	OptionsA(int,int,double.......)
The procedure is executed with the values I send. But the returned value
which should be a double is  awfull. In a few words it is seperating me from the answer by couple of zeros. Is there a problem because it is a double ?
I used the wsprintf to convert it into a string and dispaly in a 
dialog box. Is wisprintf giving me problems ? I am stuck at this point.
I hope some one will provide me with an answer.
My e-mail address : devanath@tiger.vill.edu
Please excuse if the question sounds extremely trivial.
Since I am a beginner in windows programming, it is driving me up the wall.
Thanks in advance.
Kiran
Technical Details
Message-ID: <1992Oct1.235514.13985@vu-vlsi.vill.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!vu-vlsi.vill.edu!tiger.vill.edu!devanath

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.tools
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!nigel.msen.com!hela.iti.org!cs.widener.edu!dsinc!vu-vlsi.vill.edu!tiger.vill.edu!devanath
From: devanath@tiger.vill.edu (Kiran devanath)
Subject: Error while returning values from DLL.
Message-ID: <1992Oct1.235514.13985@vu-vlsi.vill.edu>
Originator: devanath@tiger.vill.edu
Sender: news@vu-vlsi.vill.edu (Usenet news administrator)
Nntp-Posting-Host: tiger.vill.edu
Organization: Villanova University
Distribution: USA
Date: Thu, 1 Oct 1992 23:55:14 GMT
Lines: 16