Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 6th, 2004, 10:24 PM
Kep Kep is offline
Authorized User
 
Join Date: Aug 2003
Posts: 79
Thanks: 0
Thanked 0 Times in 0 Posts
Default Additional basic types in C#

Hi,

I've just started with C# and I've been using the DllImport attribute to specify functions in an unmanaged DLL. I've noticed that there is a native type 'uint' for a 32 bit unsigned integer, which equates to a DWORD in windows API speak. There is also a type called UInt32 which appears to be the same.

Can someone explain why these two types exist and the different usages of them.

Should I be using uint or UInt32 for DWORD?

Thanks.
__________________
Kep.
 
Old July 1st, 2004, 03:42 PM
Authorized User
 
Join Date: Jul 2004
Posts: 69
Thanks: 0
Thanked 1 Time in 1 Post
Default

uint is an unsigned integer base type and UInt32 is a overridable base class.


www.CoderForRent.com
Get A Computer Job!





Similar Threads
Thread Thread Starter Forum Replies Last Post
Additional page to my store d-print BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 29 November 23rd, 2007 11:32 AM
Additional errata ViagraFalls BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 October 15th, 2007 02:28 PM
How a additional prefix in a namespace comes? diang BOOK: ASP.NET Website Programming Problem-Design-Solution 0 July 13th, 2006 10:40 PM
How to generate an additional field fdtoo SQL Server 2000 2 April 12th, 2006 08:44 AM
Additional Wizards huskie Access 5 August 22nd, 2003 06:59 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.