当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·bcp中如何使用select语句    »显示摘要«
    摘要: 各位老大: 我在用bcp从数据库中提取数据时如果整表提取,用下面语句 exec master..xp_cmdshell bcp "mdinfo..student" out e:\user\aaa.txt -c -q -s"dataserver" -u"sa" -p"me" 速度很快提取全部数据 但是如果用下面语......
 ·图形学    »显示摘要«
    摘要: 我在编图形时,编译,为什么在32真彩色工作正常,而16真彩色却出问题,我又该如何解决? ......


C++: struct statusreport *getstatusreport(struct MOmsg *pMO); C#=如何声明

详细:  
  http://expert.csdn.net/Expert/topic/1668/1668198.xml?temp=.2370264  
   
  程序要的很急,帮忙解决,马上结!  
   
 

NO.1   作者: tuzi98

gz  
  up  
 

NO.2   作者: ixMind

[StructLayout(LayoutKind.Sequential)]  
  public   class   status_report    
  {  
      //   你的定义  
  }  
  [StructLayout(LayoutKind.Sequential)]  
  public   class   MO_msg  
  {  
      //   你的定义  
  }  
  [DllImport("your.DLL")]  
  public   static   extern   status_report   get_status_report(MO_msg   p_MO);  
 

NO.3   作者: Knight94

如果很急的话,  
  你不如用vc.net先写个类库,来包这个函数。  
  然后再用C#去掉vc.net写的类库。  
   
  如果有人知道直接声明的方法,顺便通知我一下。谢了!

NO.4   作者: kinghuangz

都一样,只是前面加一个编译开关unsafe


    摘要: /* rand.c: this program seeds the random-number generator * with the time, then displays 10 random integers. */ #include <stdlib.h> #include <stdio.h> #include <time.h> void main......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE