2004年9月11日

在C#Web应用程序和VC编写Dll程序之间传递string数据

摘要: 在VC编写的Dll程序中:extern "C" __declspec(dllexport) LPTSTR SendMessageDemo(){ LPTSTR str="hello the world!";return str;}在C#Web应用程序中调用Dll,首先将编译的Dll程序中debug目录下*.dll文件加入到C#Web应用程序bin目录下,在WebForm1.aspx.cs文件中加入代... 阅读全文

posted @ 2004-09-11 20:13 垃圾中的精品 阅读(3677) 评论(2) 推荐(0)

导航