﻿{"id":36207,"date":"2012-04-07T23:59:01","date_gmt":"2012-04-07T15:59:01","guid":{"rendered":"http:\/\/www.lanmaowang.com\/?p=36207"},"modified":"2015-04-01T22:40:57","modified_gmt":"2015-04-01T14:40:57","slug":"delphi-secondary-development-of-autocad-a-data-connection","status":"publish","type":"post","link":"http:\/\/www.lanmaowang.com\/?p=36207","title":{"rendered":"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5"},"content":{"rendered":"<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;white-space: normal;widows: 2;background-color: rgb(255, 255, 255);text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u5229\u7528<span style=\"line-height: 25px\">Delphi<\/span>\u4e8c\u6b21\u5f00\u53d1<span style=\"line-height: 25px\">AutoCAD<\/span>\u5b9e\u9645\u4e0a\u662f\u7528<span style=\"line-height: 25px\">OLE Automation<\/span>\u5b9e\u73b0\u4e86<span style=\"line-height: 25px\">Delphi<\/span>\u4e0e<span style=\"line-height: 25px\">AutoCAD<\/span>\u6570\u636e\u4e4b\u95f4\u7684\u8f6c\u6362\u3002<span style=\"line-height: 25px\">OLE<\/span>\u662f\u4e00\u79cd\u57fa\u4e8e<span style=\"line-height: 25px\">COM<\/span>\u7684\u6280\u672f\uff0c<span style=\"line-height: 25px\">OLE<\/span>\u5141\u8bb8\u5e94\u7528\u7a0b\u5e8f\u4f7f\u7528\u5176\u4ed6\u5e94\u7528\u7a0b\u5e8f\u63d0\u4f9b\u7684\u901a\u7528\u63a5\u53e3\u6765\u8bbf\u95ee\u5176\u7ec4\u4ef6\u548c\u529f\u80fd\u3002<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;white-space: normal;widows: 2;background-color: rgb(255, 255, 255);text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u8981\u5b9e\u73b0<span style=\"line-height: 25px\">Delphi<\/span>\u4e0e<span style=\"line-height: 25px\">AutoCAD<\/span>\u4e4b\u95f4\u7684\u6570\u636e\u901a\u8baf\uff0c\u51c6\u5907\u5de5\u4f5c\u6211\u4eec\u5fc5\u987b\u505a\u5168\u3002<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;white-space: normal;widows: 2;background-color: rgb(255, 255, 255);text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u9996\u5148\uff0c\u5fc5\u987b\u5b89\u88c5<span style=\"line-height: 25px\">AutoCAD R14<\/span>\u4ee5\u4e0a\u7248\u672c\uff0c\u672c\u4e66\u4ee5<span style=\"line-height: 25px\">AutoCAD2009<\/span>\u4e3a\u5e94\u7528\u7248\u672c\u3002<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;font-size: 14px;white-space: normal;widows: 2;background-color: rgb(255, 255, 255);text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u5176\u6b21\uff0c\u62e5\u6709<span style=\"line-height: 25px\">Delphi<\/span>\uff0c\u5728\u672c\u4e66\u4e2d\u6211\u4eec\u4ee5<span style=\"line-height: 25px\">Delphi2010<\/span>\u4e3a\u84dd\u672c\u5bf9<span style=\"line-height: 25px\">AutoCAD<\/span>\u8fdb\u884c\u4e8c\u6b21\u5f00\u53d1\u63cf\u8ff0\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" alt=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" title=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" border=\"0\" src=\"http:\/\/www.lanmaowang.com\/wp-content\/uploads\/2015\/03\/2012040800245188.jpg\" width=\"665\" style=\"border: 0px; width: 665px; height: 415px;\" height=\"415\" vspace=\"0\"\/><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;text-align: left;widows: 2;text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">Delphi<\/span><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u5f00\u53d1<span style=\"line-height: 25px\">AutoCAD<\/span>\u53ef\u4ee5\u5c06\u7a0b\u5e8f\u53d8\u91cf\u5b9a\u4e49\u4e3a\u53d8\u4f53\u7c7b\u578b\u7136\u540e\u5f00\u59cb\u7f16\u5199\u4ee3\u7801\uff0c\u4e0d\u8fc7\u8fd9\u6837\u7f16\u5199\u8d77\u6765\u6bd4\u8f83\u9ebb\u70e6\uff0c\u6ca1\u6709\u5e2e\u52a9\u63d0\u793a\u3002\u6211\u4eec\u9700\u8981\u505a\u7684\u5148\u9063\u6761\u4ef6\u4fbf\u662f\u5728<span style=\"line-height: 25px\">Delphi<\/span>\u4e2d\u5f15\u5165<span style=\"line-height: 25px\">AutoCAD<\/span>\u7c7b\u5e93\uff0c\u4ece\u800c\u83b7\u5f97\u5e2e\u52a9\u63d0\u793a\uff0c\u63d0\u9ad8\u6548\u7387\u3002<\/span><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;text-align: left;widows: 2;text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">Delphi<\/span><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u5728\u5f15\u5165<span style=\"line-height: 25px\">AutoCAD<\/span>\u7c7b\u5e93\u4e4b\u524d\uff0c\u9996\u5148\u6211\u4eec\u8981\u5efa\u7acb\u4e00\u4e2a<span style=\"line-height: 25px\">dpk<\/span>\u5de5\u7a0b\uff0c<\/span><\/p>\n<p style=\"text-align: center;\"><img decoding=\"async\" loading=\"lazy\" alt=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" title=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" border=\"0\" src=\"http:\/\/www.lanmaowang.com\/wp-content\/uploads\/2015\/03\/2012040800292297.jpg\" style=\"border: 0px; width: 452px; height: 196px;\" width=\"452\" height=\"196\" vspace=\"0\"\/><\/p>\n<p style=\"padding: 0px;margin-top: 10px;margin-bottom: 10px;widows: 2;text-indent: 34px;line-height: 21px;font-family: Arial, Helvetica, sans-serif;orphans: 2\"><span style=\"line-height: 24px;letter-spacing: 0;font-family: \u5b8b\u4f53;font-size: 16px\">\u7136\u540e\u5411\u65b0\u5efa\u7684\u5de5\u7a0b\u4e2d\u52a0\u5165<span style=\"line-height: 25px\">AutoCAD<\/span>\u7c7b\u5e93\uff0c\u6b65\u9aa4\u5982\u4e0b\u6240\u793a\uff1a<\/span><\/p>\n<p><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u4e0b\u62c9\u83dc\u5355<\/span><strong style=\"line-height: 22px;widows: 2;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u3010Component\u3011\u2192\u3010Import Component\u3011<\/strong><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\uff0c\u5728\u5bf9\u8bdd\u6846\u4e2d\u9009\u62e9<\/span><strong style=\"line-height: 22px;widows: 2;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Import a Type Component<\/strong><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u5355\u9009\u6309\u94ae\uff0c\u5355\u51fb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Next<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u6309\u94ae\uff0c\u5728\u65b0\u8df3\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u5355\u51fb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Add<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\uff08\u6dfb\u52a0\uff09\u6309\u94ae\uff0c\u7136\u540e\u627e\u5230<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">AutoCAD<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u7684\u7c7b\u578b\u5e93\u6587\u4ef6\u3002<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">AutoCAD2010<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u7248\u672c\u5206\u4e24\u4e2a\u4e0d\u540c\u7684\u5f00\u53d1\u5e93\uff0c\u65e9\u671f\u7248\u672c\u7684\u540d\u79f0\u4e3a<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">acax17chs.tlb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\uff0c\u8fd8\u6709\u4e00\u4e2a\u7248\u672c\u662f<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">acax18chs.tlb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\uff0c<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">AutoCAD2010<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u7248\u672c\u4ee5\u524d\u7684\u7248\u672c\u4e3a<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">acax15chs.tlb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u3001<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">acax16chs.tlb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u7b49\u540d\u79f0\u3002\u4e0d\u7ba1\u8fd9\u4e2a\u540d\u79f0\u600e\u4e48\u53d8\u5316\uff0c\u8fd9\u4e2a\u6587\u4ef6\u90fd\u4fdd\u5b58\u5728\u201c<\/span><strong style=\"line-height: 22px;widows: 2;font-family: Arial, Helvetica, sans-serif;orphans: 2\">C:\\Program Files\\Common Files\\Autodesk Shared<\/strong><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u201d\u76ee\u5f55\u4e0b\u3002\u70b9\u51fb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Next<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u6309\u94ae\uff0c\u5728\u65b0\u8df3\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u7684\u201c<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Palette Page<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u201d\u4e2d\u8f93\u5165\u201c<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">AutoCAD<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u201d\uff0c\u4e3a\u6dfb\u52a0\u7684\u7c7b\u5e93\u63a7\u4ef6\u65b0\u5efa\u4e00\u4e2a\u9009\u9879\u9875\uff0c\u70b9\u51fb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Next<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\uff0c\u9009\u62e9\u201c<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Add Unit to AutoCAD.dproj project<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u201d\uff0c\u5355\u51fb<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Finish<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u6309\u94ae\u5b8c\u6210\u6dfb\u52a0\u3002\u4fdd\u5b58\u5de5\u7a0b\u5230\u6587\u4ef6\u5939\u3002\u7136\u540e\u7f16\u8bd1\uff0c\u7f16\u8bd1\u5b8c\u6210\u540e\u5b89\u88c5\uff0c\u5b89\u88c5\u5b8c\u6210\u540e\u4f1a\u8df3\u51fa\u4e00\u4e2a\u4fe1\u606f\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u8fd9\u6837\u6211\u4eec\u5c31\u5728<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">Delphi<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u4e2d\u6210\u529f\u7684\u6dfb\u52a0\u4e86<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">AutoCAD<\/span><span style=\"widows: 2;line-height: 22px;font-family: Arial, Helvetica, sans-serif;orphans: 2\">\u7c7b\u5e93\u3002<\/span><\/p>\n<p style=\"text-align: center;\">&nbsp;<img decoding=\"async\" loading=\"lazy\" alt=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" title=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" border=\"0\" src=\"http:\/\/www.lanmaowang.com\/wp-content\/uploads\/2015\/03\/2012040800345516.jpg\" width=\"665\" style=\"border: 0px; width: 665px; height: 247px;\" height=\"247\" vspace=\"0\"\/><\/p>\n<p style=\"text-align: center;\"><\/p>\n<p><span style=\"widows: 2; text-indent: 33px; orphans: 2;\">\u3000\u3000<\/span><span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u6b64\u65f6\u65b0\u5efa\u4e00\u4e2a<\/span><span style=\"widows: 2; text-indent: 33px; font-family: \u5b8b\u4f53; orphans: 2;\">VCL<\/span><span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u7a97\u4f53\u5de5\u7a0b\uff0c\u4f60\u4f1a\u5728\u63a7\u4ef6\u6807\u7b7e\u4e0b\u627e\u5230<\/span><span style=\"widows: 2; text-indent: 33px; font-family: \u5b8b\u4f53; orphans: 2;\">AutoCAD<\/span><span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u7a7a\u95f4\u6807\u7b7e\uff0c\u5728<\/span><span style=\"widows: 2; text-indent: 33px; font-family: \u5b8b\u4f53; orphans: 2;\">AutoCAD<\/span><span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u51fd\u6570\u8c03\u7528\u65f6\u5019\u53ef\u4ee5\u76f4\u63a5\u4ece\u8fd9\u4e2a\u6807\u7b7e\u4e0b\u627e\u5230\u76f8\u5173\u7a7a\u95f4\uff0c\u6dfb\u52a0\u5230\u9879\u76ee\u4e2d\uff0c\u6dfb\u52a0\u65b9\u6cd5\u4e0e<\/span><span style=\"widows: 2; text-indent: 33px; font-family: \u5b8b\u4f53; orphans: 2;\">Delphi<\/span><span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u5176\u4ed6\u63a7\u4ef6\u6dfb\u52a0\u65b9\u6cd5\u7c7b\u4f3c\uff0c\u518d\u6b21\u4e0d\u518d\u8d58\u8ff0\u3002<\/span><\/p>\n<p style=\"text-align: center;\">&nbsp;<img decoding=\"async\" loading=\"lazy\" alt=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" title=\"Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\uff08\u4e00\uff09\u2014\u6570\u636e\u8fde\u63a5\" border=\"0\" src=\"http:\/\/www.lanmaowang.com\/wp-content\/uploads\/2015\/03\/2012040800372907.jpg\" style=\"border: 0px; width: 336px; height: 92px;\" width=\"336\" height=\"92\" vspace=\"0\"\/><\/p>\n<p><span style=\"orphans: 2; text-align: center; text-indent: 33px; widows: 2;\">\u3000\u3000<\/span>&nbsp;<span style=\"widows: 2; text-indent: 33px; line-height: 24px; font-family: \u5b8b\u4f53; orphans: 2;\">\u5230\u6b64\u4e3a\u6b62\uff0c\u6211\u4eec\u5b8c\u6210\u4e86\u51c6\u5907\u5de5\u4f5c\uff0c\u63a5\u4e0b\u6765\u5c31\u662f\u9700\u8981\u6211\u4eec\u8fdb\u884c\u5f00\u53d1\u5e94\u7528\u4e86\u3002<\/span><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5229\u7528Delphi\u4e8c\u6b21\u5f00\u53d1AutoCAD\u5b9e\u9645\u4e0a\u662f\u7528OLE Automation\u5b9e\u73b0\u4e86Delphi\u4e0eAutoCAD [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":36146,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[193],"tags":[194,198,211],"_links":{"self":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36207"}],"collection":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=36207"}],"version-history":[{"count":2,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36207\/revisions"}],"predecessor-version":[{"id":36209,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/posts\/36207\/revisions\/36209"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=\/wp\/v2\/media\/36146"}],"wp:attachment":[{"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=36207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=36207"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.lanmaowang.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=36207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}