我的可执行文件在其他机器上无法运行 ( 积分: 100 )

  • 主题发起人 主题发起人 westtony
  • 开始时间 开始时间
W

westtony

Unregistered / Unconfirmed
GUEST, unregistred user!
我用delphi写了一个程序,生成可执行文件后在本地机可以执行,但离开本地机后执行报错,错误代码如下:
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="Project2.exe" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="Project2.exe" SIZE="648704" CHECKSUM="0xA3CA673F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="06/19/1992 22:22:17" UPTO_LINK_DATE="06/19/1992 22:22:17" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1087488" CHECKSUM="0x135B4849" BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0" PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft(R) Windows(R) Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="(C) Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x119431" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0" LINK_DATE="08/31/2001 22:58:28" UPTO_LINK_DATE="08/31/2001 22:58:28" VER_LANGUAGE="中文(中国) [0x804]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1087488" CHECKSUM="0x135B4849" BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0" PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft(R) Windows(R) Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="(C) Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x119431" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0" LINK_DATE="08/31/2001 22:58:28" UPTO_LINK_DATE="08/31/2001 22:58:28" VER_LANGUAGE="中文(中国) [0x804]" />
</EXE>
</DATABASE>

为什么?如何解决?
 
我用delphi写了一个程序,生成可执行文件后在本地机可以执行,但离开本地机后执行报错,错误代码如下:
<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="Project2.exe" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="Project2.exe" SIZE="648704" CHECKSUM="0xA3CA673F" MODULE_TYPE="WIN32" PE_CHECKSUM="0x0" LINKER_VERSION="0x0" LINK_DATE="06/19/1992 22:22:17" UPTO_LINK_DATE="06/19/1992 22:22:17" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1087488" CHECKSUM="0x135B4849" BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0" PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft(R) Windows(R) Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="(C) Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x119431" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0" LINK_DATE="08/31/2001 22:58:28" UPTO_LINK_DATE="08/31/2001 22:58:28" VER_LANGUAGE="中文(中国) [0x804]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1087488" CHECKSUM="0x135B4849" BIN_FILE_VERSION="5.1.2600.0" BIN_PRODUCT_VERSION="5.1.2600.0" PRODUCT_VERSION="5.1.2600.0" FILE_DESCRIPTION="Windows NT BASE API Client DLL" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Microsoft(R) Windows(R) Operating System" FILE_VERSION="5.1.2600.0 (xpclient.010817-1148)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="(C) Microsoft Corporation. All rights reserved." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x119431" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.0" UPTO_BIN_PRODUCT_VERSION="5.1.2600.0" LINK_DATE="08/31/2001 22:58:28" UPTO_LINK_DATE="08/31/2001 22:58:28" VER_LANGUAGE="中文(中国) [0x804]" />
</EXE>
</DATABASE>

为什么?如何解决?
 
我想很少人去看,因为.......我不懂
 
帮顶,因为我也看不懂,呵呵!
 
</DATABASE>
??
是不是有调用的文件没找到啊。。,设置你的数据库位置,
 
你是不是有连接后台数据库啊
 
这是啥东西啊~乱七八糟的,会不会编程的啊~连最基本的编程思想都不会,唉!
 
这应该是你没有做一个动态数据库路径所致,你看看吧~
 
什么版本的D,是一个错误对话框弹出来的?
 
后退
顶部