没看到我是:zyl910(910:分儿,我来了!) 

解决方案 »

  1.   

     http://www.commacn.com/vbsworld/ExtFiles/api32.zip
    去down一个api32函数的中文手册吧
      

  2.   

    "巴顿老兄及各位高人请进"这个贴子是要将VC的一个关于NT的CPU使用状态的程序转为VB
    大家不妨去看看.
    http://www.csdn.net/Expert/topic/490/490295.shtm: westwin(浪子西) (2002-1-22 14:18:22)  得0分 
    http://www.commacn.com/vbsworld/ExtFiles/api32.zip
    去down一个api32函数的中文手册吧  这一做法是很好,但是不可能永远这样下去,要做得好必须要懂VC,同时要偏重于SDK编程,而不需要MFC,没有其它什么诀窍!
      

  3.   

    巴顿真是高人啊,佩服的我只好爬在地上了。
    致各位VB爱好者,SDK真的很重要,掌握了它,可以很大程度上缩短VB & VC之间的差距,你会发现VB的另一个新天地。
      

  4.   

    哦 ,应该从何讲起呢,API,你系统的问一下吧,这样可以系统的讲一下,我前一阵还想过系统的写一篇文章,没想到一忙就给耽搁了
      

  5.   

    何必呢,有写东西用VC去写非常简单的,偏要用VB也实现出来,带来的只能是痛苦
      

  6.   

    巴将军:SDK是什么,很有魅力吗?
    你好像特别喜欢那个!!(总挂在嘴边)给我这个菜鸟上一课好吗?  
      
      

  7.   

    一个API 的好站点,里面有网友自做并在不断更新的API Viewer,包括一些未公开函数。http://www.allapi.net/
      

  8.   

    有趣:http://www.allapi.net/apilist/apilist.php:Apilist      This list contains 910 API-functions, all explained and illustrated 
                           ^^^
        with one or more examples. If you want to learn more about 
        API, or don't know what API is, read this Text-file about the 
        Win32 API-function calls (+/- 75 Kb).  
      

  9.   

    SDK: Software Development Kit, 软件开发工具包,事实上SDK中提供的就是API,但不仅限于VB的API浏览器中所提供的win32 API和Mapi32 
    详情请看:MSDN: Platform SDK 和 SDK Documentation 
      

  10.   

    我想如果有人能系统讲一讲API在VB中的说明,及参数引用的对应关系。
    这样提问对吗?我想巴顿明白我的意思。
    有劳各位高人了!
      

  11.   

    无法!因为太多!如果系统学习VC 、SDK,我就不需要讲了。
      

  12.   

    巴顿:上面这个程序我这样做为什么不对,请指教
    '********API说明******
    Public Declare Function NtQuerySystemInformationStr Lib "ntdll" Alias "NtQuerySystemInformation" (ByVal SystemInformationClass As Integer, SystemInformation As Any, ByVal SystemInformationLength As Long, ByVal ReturnLength As String) As Long
    Public Declare Function NtQuerySystemInformationInt Lib "ntdll" Alias "NtQuerySystemInformation" (ByVal SystemInformationClass As Integer, SystemInformation As Any, ByVal SystemInformationLength As Long, ByVal ReturnLength As Long) As Long
    '********************
    '***********调用
    status = NtQuerySystemInformationStr(0, SysBaseInfo, LenB(SysBaseInfo), vbNullString)status = NtQuerySystemInformationStr(2, SysPerfInfo, LenB(SysPerfInfo), vbNullString)'上面这两条可以但下面这一条不行status = NtQuerySystemInformationInt(3, SysTimeInfo, LenB(SysTimeInfo), 0)
      

  13.   

    应该是:
    status = NtQuerySystemInformationInt(3, SysTimeInfo, LenB(SysTimeInfo),Byval 0)
      

  14.   

    status = NtQuerySystemInformationInt(3, SysTimeInfo, clng(LenB(SysTimeInfo)), 0&)
      

  15.   

    z_liming(chinaren):
    我可以响应你的要求,定期在这里公布我手头现有资料的API教程,但我怕各位高人见了会说我在此卖弄,搞不好还会遭到人身攻击,因为我不是高人.不过如果你能找到几位同仁帮我对付那些攻击,我就敢做,每日一篇,免费奉送(^_^,,,不是我写的,摘录而已,故不能要分...嘿嘿..)另外,我支持其他和我有同样想法的同仁,定期公布一些资料(不一定只是API的),以供大家共享,以此来正VB论坛块的不正之风......