PB10.5联接SQL SERVER 2000需要那些DLL文件!请和各位出手相助,请注意所提的软件版本。及PB10.5在客户端所需的DLL,谢谢!
------解决方案--------------------
参考一下帮助中:PowerBuilder runtime files提及的内容
PB8用到的是如下文件,10.5应该差不多(没用过10.5,估计改一下版本号就可以)
Name Required for
PBVM80.DLL All
LIBJCC.DLL All
PBDWE80 .DLL DataWindows and DataStores
PBRTC80 .DLL Rich Text
PBFNT80.INI Mapping unavailable fonts
PBLAB80.INI Label DataWindow presentation style predefined formats
PBTRA80 .DLL Database connection tracing
------解决方案--------------------
Runtime Packager:
libjcc.dll
libjutils.dll
pbacc105.dll
pbdwe105.dll
pbdwr105.dll
pbdwr105.pbd
pbjag105.dll
pbjvm105.dll
pbshr105.dll
pbtra105.dll
pbvm105.dll
Native database drivers:
PBODB105.DLL PowerBuilder ODBC interface
PBODB105.INI PowerBuilder ODBC initialization file
PBSS621.DLL
PBSS621R.DLL
PBSS621S.DLL
PB DataDirect OEM 5.1 SQL Server 6.5. Registry entry:
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"PB DataDirect OEM 5.1 SQL Server 6.5"="Installed"
PBMSSS21.DLL
PBMSSS21R.DLL
PBMSSS21S.DLL
DBNETLIB.DLL
SQLSRV32.DLL
SQLSRV32.RLL
SQLUNIRL.DLL
PB DataDirect OEM 5.1 SQL Server Wire Protocol. Registry entry:
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"PB DataDirect OEM 5.1 SQL Server Wire Protocol"="Installed"
------解决方案--------------------
最简单是用PowerBuilder Runtime Packager打包!这最全
// Profile EAS Demo DB V9
DBMS = "ODBC"
AutoCommit = False
DBParm = "ConnectString='DSN=EAS Demo DB V9;UID=dba;PWD=sql'"
这是ASA ODBC 的Ini
其实在数据连接的Preview(连接测试)页中的内容复制出,修改一个就成
PB读取
SQLCA.Database =ProfileString(g_ini, "data","Database","")
SQLCA.LogPass = ProfileString(g_ini, "data","LogPass","")
SQLCA.ServerName = ProfileString(g_ini, "data","ServerName","")
SQLCA.LogId = ProfileString(g_ini, "data","LogId","")
SQLCA.AutoCommit = False
SQLCA.DBParm = ProfileString(g_ini, "data","DBParm","")
------解决方案--------------------
------解决方案--------------------
等待牛人来答.