Do you want that developpers can use your library on 64 bits OS ? During 2005 (2006 ?), Windows 64 Bits will become common.
On these 64 bits OS : sizeof(int)=32 bits sizeof(void *)=sizeof(MyType *)=64 bits
So, all your functions that return "int" from a casted class will not work.
If you want to prepare your code to 64 bits OS, you should return "void *" or return an opaque type "typedef void * t_archive" ?
If you use Visual C++ .Net, you should active the warnings about "64 bits" errors in your code.
Best regards.
Thanks for the info. This will be addressed in the next release. It feature a new aaHandle type to abstract from the pointer type.
Regards
Log in to post a comment.
Do you want that developpers can use your library on 64 bits OS ?
During 2005 (2006 ?), Windows 64 Bits will become common.
On these 64 bits OS :
sizeof(int)=32 bits
sizeof(void *)=sizeof(MyType *)=64 bits
So, all your functions that return "int" from a casted class will not work.
If you want to prepare your code to 64 bits OS, you should return "void *"
or return an opaque type "typedef void * t_archive" ?
If you use Visual C++ .Net, you should active the warnings about
"64 bits" errors in your code.
Best regards.
Thanks for the info. This will be addressed in the
next release. It feature a new aaHandle type to
abstract from the pointer type.
Regards