zoukankan      html  css  js  c++  java
  • VC6 SDK 规格严格

    1安装vc6.0;
    下载安装虚拟光驱daemon410-x86.exe,下载vc6.0 iso文件V_VSE600ENU1.iso,之后在虚拟光驱里安装;
    2安装psdk
     到微软官网下载sdk,至于下载那个版本要看自己的系统,网上好多介绍如何选择合适的sdk的帖子;
       下载后
     运行文件夹里setup文件夹里的CoreSDK-x86.msi(应该是对应的intel的cpu)安装,并安装里面所有项(我不具体清楚Strsafe.h在那个项里

    )。安装结束后会在安装的目的文件夹里产生include和lib文件夹,到这里就行了。
    3在vc6.0中关联psdk;
    在vc6.0 菜单Tools\Options\Directoires include files 和 Library files 下添加PSDK中include 和 Lib
    ok;

    SDK简介

    SDK is short for Software Development Kit , which provide development kit for engineer to develop some specific softvare;

    refering to SDK, we must make the DLL and API clear;

    DLL is the Dynamic link library, DLL is a executing file,but it can't execut independently ,when we executing a EXE file,the exe

    file will dynamically link the DLL file,

    API is supplyed by system ,it can be called by application, and DLL fill include lots of API;

    to using some API,we must use .lib and .h files,in which the API function is declared or tell the compiler where it can find the

    API in a DLL file,

    so the .lib file is used when compiling ,whil the DLL file is linked when executing;

    http://blog.csdn.net/luozhan/article/details/3325848

    http://www.haogongju.net/art/299606

    在编译一个获取机器MAC地址的程序时报错,需要iphlpapi.h头文件,Google之后明白需要安装支持VC6的SDK,
    最新的支持Visual C++ 6.0的SDK版本是2003年2月版,下载地址是http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm。花了一天时间,好不容易把这15个文件都下载下来了,但是解压缩的时候总是出问题,于是又Google了半天。找到了这么个直接用迅雷下载的链接:
    http://www.microsoft.com/downloads/info.aspx?na=90&p=&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=E15438AC-60BE-41BD-AA14-7F1E0F19CA0D&u=http%3a%2f%2fdownload.microsoft.com%2fdownload%2f9%2f7%2fa%2f97a5ac16-69ae-4672-b93e-40d66d77b278%2f5.2.3790.2075.51.PlatformSDK_Svr2003R2_rtm.img
    于是很快用迅雷下载下来了,解压缩之后安装(如果不能直接解压缩的话,就把后缀名给为ISO在解压)。
    安装之后,再编译程序可是依旧有那个错误。于是,再去Google,明白原因是SDK没有加入到VC6中,要把SDK中的库文件添加到VC6的库文件目录中。不明白如何添加,于是再去搜索,终于解决问题。
    可以点击看大图。其中红圈圈住的位置填的就是SDK安装的目录下面Include文件夹的目录就可以了。
    参考文献:
    【1】http://topic.csdn.net/t/20060617/21/4827728.html
    【2】http://topic.csdn.net/t/20060728/08/4910489.html
    【3】http://news.devx.com/showthread.php?t=100230
    【4】http://news.devx.com/attachment.php?s=4bbc697dafd7ea3d7b4e2841ebe34f03&attachmentid=151&d=1092740344

  • 相关阅读:
    java用户角色权限设计
    六种方式实现hibernate查询,及IDE推荐
    SSH远程会话管理工具
    Linux学习之CentOS(十三)--CentOS6.4下Mysql数据库的安装与配置
    Linux 下JDK安装
    linux下FTP的工具和使用以及rpmReadSignature failed错误
    不用FTP使用SecureCRT上传下载文件,并解决rz、sz command not found异常
    hibernate通过数据库表反向生成实体类
    解决vmware 桥联 再次使用联不上网的问题
    log4j详解与实战
  • 原文地址:https://www.cnblogs.com/diyunpeng/p/2319869.html
Copyright © 2011-2022 走看看