# Question re DL and INT16\_T return values

**URL:** <https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671>\
**Category:** Ruby\
**Created:** [March 5, 2007, 2:31am UTC](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671 "2007-03-05T02:31:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CWCWCW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@CWCWCW](https://www.ruby-forum.com/u/CWCWCW)\
**Post date:** [March 5, 2007, 2:31am UTC](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671/1 "2007-03-05T02:31:17Z")

</div>

I am trying to call a function in Win32 DLL that returns a INT16\_T  
value. My attempts using both Win32API and DL to invoke the function  
both return a value of 47644672. I have no idea how to correctly  
decode/interpret this return value. Any suggestions will be  
appreciated.

Thanks

Chris

---

<div class="post-metadata">

**Author:** ![CWCWCW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@CWCWCW](https://www.ruby-forum.com/u/CWCWCW)\
**Post date:** [March 5, 2007, 3:30pm UTC](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671/2 "2007-03-05T15:30:44Z")

</div>

On Mar 4, 8:27 pm, “CW” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I am trying to call a function in Win32 DLL that returns a INT16\_T  
> value. My attempts using both Win32API and DL to invoke the function  
> both return a value of 47644672. I have no idea how to correctly  
> decode/interpret this return value. Any suggestions will be  
> appreciated.
> 
> Thanks
> 
> Chris

bump.

---

<div class="post-metadata">

**Author:** ![CWCWCW](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/c2a13f/32.png) [@CWCWCW](https://www.ruby-forum.com/u/CWCWCW)\
**Post date:** [March 5, 2007, 6:03pm UTC](https://www.ruby-forum.com/t/question-re-dl-and-int16-t-return-values/87671/3 "2007-03-05T18:03:16Z")

</div>

On 3/5/07, CW [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> On Mar 4, 8:27 pm, “CW” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I am trying to call a function in Win32 DLL that returns a INT16\_T  
> > value. My attempts using both Win32API and DL to invoke the function  
> > both return a value of 47644672. I have no idea how to correctly  
> > decode/interpret this return value. Any suggestions will be  
> > appreciated.  
> > bump.

…there’s no faster way to piss people off than to post a “bump” to a  
very busy international mailing list with a thirteen hour delay  
between the two. It disinclines people from helping you because  
there’s a demonstrated rudeness.

This is _not_ a forum, although it might look like that to some folks;  
this is a mailing list with forum and newsgroup bidirectional  
gateways.

-austin
