ObjectARX porting

several changes:
 
1.UNICODE setting:
Project Property -> C/C++ ->Preprocessor -> Preprocessor Definitions -> "_UNICODE";
 
2.incremented name:
The number occurring in DLL and corresponding LIB file names has been incremented from 16 to 17. For example, acdb16.dll and acdb16.lib are now acdb17.dll and acdb17.lib.
Property-> Linker ->Input -> Additional Dependencies -> dll name incremented;
 
3.INC&Lib
Tools -> Options -> Project&Solutions -> VC++ Directories -> add ObjectARX2007 lib & inc
 
4. Wrap Literal Strings and Characters with _T() or ACRX_T()
 wrap the literal strings with _T() , e.g. _T("THis EXample")
 
5. Function alteration
use unicode supporting functions instead
 
6. Variable Name Scope
for loop(int i=0,….)  ->
int i=0; for(…)
 
 
This entry was posted in Inside C++. Bookmark the permalink.

Leave a comment