Click here to Skip to main content
12,620,900 members (36,344 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C++ Windows 64-bit
what all the things i need to take care when i am trying to port my driver from 32 bit to 64 bit?
we have the different types of datatypes like (UINT8,UINT16,UINT32) and (PUINT8,PUINT16,PUINT32)

Thanks in advance
Posted 21-Nov-12 3:48am
Updated 21-Nov-12 3:50am
v3
Comments
Richard MacCutchan 21-Nov-12 9:00am
   
It depends on what your driver does. Without much more information it is difficult to make a valid assessment.
Richard MacCutchan 21-Nov-12 9:01am
   
I see this is a duplicate of a post from 4 days ago. I have deleted the original.
JackDingler 21-Nov-12 11:16am
   
Those aren't really distinct data types. Just typedefs to overload the types for compatibility purposes.

The intent is, if you use those types then your code will compile without errors in both 32 bit and 64 bit modes.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

yout internal data doenst matter. You need to watch out your external interfaces.

At best you compile on warning level 4. It is a lot of stupid work....
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100