[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



typedef WORD unsigned short;

That is what I've used.  On a 64-bit machine a WORD may be 4 bytes?

On Mon, 2004-06-07 at 16:49, J.M. Taylor wrote:
> Ben,
> 
> I would love to know how WORD is defined.  It's not actually defined 
> anywhere in the code that I'm working with, but to do a palm conduit you 
> have several .dll dependancies that load all manner of things that are 
> core to Palm conduits.  Which I can't look at, of course.  Is 
> there some way to see the definition in this case, that I just don't know 
> about?  I know so little about visual studio, or dealing with MS based 
> things in general. (ick)
> 
> Also, yes, int i; i=2; works just fine.  
> 
> Thanks
> jenn
> 
> On Mon, 7 Jun 2004, Benjamin Scherrey wrote:
> 
> > Jenn,
> > 
> > 	Check and see what the definition of WORD is in your environment. I presume that 'int i; 
> > i=2;' works just fine? If its a macro or typedef of another typedef keep following it until you get to its 
> > fundamental C type. This could also be some strange linkage issue. Check and see what linkage 
> > options you have and try, for purposes of testing, to statically link all runtime libraries into your 
> > executable.
> > 
> > 	Good luck,
> > 
> > 		Ben Scherrey
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00155" href="msg00155.html">[ale] more  OT: c++ datatypes question</a></strong>
<ul><li><em>From:</em> jtaylor at onlinea.com (J.M. Taylor)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00167.html">[ale] [OT] Electronic Assembler wanted...</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00169.html">[ale] [OT] Electronic Assembler wanted...</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00166.html">[ale] solved, sort of  OT: c++ datatypes question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00162.html">[ale] [OT] Electronic Assembler wanted...</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00168"><strong>Date</strong></a></li>
<li><a href="threads.html#00168"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>