How to print a C BSTR in Excel 16 for Mac with VBA? -


i have c function returns bstr "hello world" , in excel 11 can call function print string msgbox vba function. excel 16, have returned empty string. if in debug xcode, can see bstr , not empty.

do have idea bstr, returned c function, vba of excel 16?

i used sysallocstring function return null pointer. fix problem, need create bstr byte byte


Comments