本文介绍了如何在c语言中转换以下数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

THCAR * function();
这是dll中的功能,我必须在c sharp中调用它.

//采取的变量
字符串sz_name = string.Empty;

现在,我需要在c sharp中调用此函数,并在sz_name中收集值.转换应该如何完成.

THCAR * function() ;
This is the function in the dll which i have to call in c sharp .

// variable taken
string sz_name = string.Empty ;

Now i need to call this function in c sharp and collect the value in sz_name . How the conversion should be done .

推荐答案


这篇关于如何在c语言中转换以下数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-29 07:15