与Delphi数据类型兼容的VB.net数据类型 [英] VB.net data types compatible with Delphi data types

查看:147
本文介绍了与Delphi数据类型兼容的VB.net数据类型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我创建了一个具有以下功能的DLL..
我想从VB.net和C#.net调用它们.

Hi All,
I have created one DLL having some functions as follows..
I want to call them from VB.net and C#.net.

1)   Function CONVERTPWDATA ( PASS1,PASS2 : INTEGER; IpStr : PWord; OpStr : PChar;
         LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;
2)  Function CONVERTDATAEX ( PASS1,PASS2 : INTEGER; IpStr : PChar; OpStr : PWord;
         LangName : LongInt; AFontType, BFontType : LongInt ) : PChar; StdCall;export;



谁能帮我获取.net中与Delphi数据类型兼容的数据类型.
我的第二个问题是
如何从.net传递Unicode数据以及如何从Delphi DLL接收回来.



在此先感谢.



Can anyone help me for Compatible Data types in .net for Delphi Data Types.
My Second Question IS
How to pass Unicode Data from .net and How to receive it back from Delphi DLL.



Thanks in Advance..

推荐答案

本文列出了所有Delphi数据类型和最接近的.Net计数器部分.只是检查出来. Delphi数据类型到C#数据类型 [
This article have a list of all the Delphi data types and closest .Net counter parts. Just check it out. Delphi Data Type to C# Data Type[^]


这篇关于与Delphi数据类型兼容的VB.net数据类型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆