I try to build a COM library for AutoCAD(autolisp) using VS 2008 ATL Project. But if the library return type is 'unsigned', then the autoCAD will show as 'variant' type. For example, if return unsigned long 12345, then the autoCAD will show #<variant 19 12345>.
Can anyone help me to solve this issue?
I attach the sample testing project file and sample AutoLisp script.
Bookmarks