const CHAR *server---》?LONG--->?是不是int64?SHORT--->?const CHAR **columns--》?columns ;columns是这样一个变量:The array of column names to use……

解决方案 »

  1.   

    毫无保留,全给你了.HANDLE   void*          System.IntPtr 32 位 
    BYTE    unsigned char   System.Byte 8 位 
    SHORT   short           System.Int16 16 位 
    WORD    unsigned short   System.UInt16 16 位 
    INT     int              System.Int32 32 位 
    UINT    unsigned int     System.UInt32 32 位 
    LONG    long             System.Int32 32 位 
    BOOL    long             System.Int32 32 位 
    DWORD   unsigned long    System.UInt32 32 位 
    ULONG   unsigned long    System.UInt32 32 位 
    CHAR    char             System.Char 用 ANSI 修饰。 
    LPSTR   char*            System.String 或 System.StringBuilder 用 ANSI 修饰。 
    LPCSTR  Const            char* System.String 或 System.StringBuilder 用 ANSI 修饰。 
    LPWSTR  wchar_t*         System.String 或 System.StringBuilder 用 Unicode 修饰。 
    LPCWSTR  Const wchar_t*  System.String 或 System.StringBuilder 用 Unicode 修饰。 
    FLOAT   Float            System.Single 32 位 
    DOUBLE  Double           System.Double 64 位 
      

  2.   

    指针的变量话可以使用out ,ref这样的输出和输入
      

  3.   

    C      C#       .NET Framework
    long   int       System.Int32
    int              System.Int16
      

  4.   

    熊,太感谢你了!我也打算把我的分数全给你~~还一问题,你说用ansi修饰,是不是这样啊 ?
    [ StructLayout(  LayoutKind.Sequential, CharSet=CharSet.Ansi )]
    那中括号在这里起什么意思?我一直没弄明白。另外,那个const CHAR **怎么翻译过去啊?太感谢你了!