DELPHI盒子
!实时搜索: 盒子论坛 | 注册用户 | 修改信息 | 退出
检举帖 | 全文检索 | 关闭广告 | 捐赠
技术论坛
 用户名
 密  码
自动登陆(30天有效)
忘了密码
≡技术区≡
DELPHI技术
lazarus/fpc/Free Pascal
移动应用开发
Web应用开发
数据库专区
报表专区
网络通讯
开源项目
论坛精华贴
≡发布区≡
发布代码
发布控件
文档资料
经典工具
≡事务区≡
网站意见
盒子之家
招聘应聘
信息交换
论坛信息
最新加入: teacherlau
今日帖子: 61
在线用户: 15
导航: 论坛 -> 数据库专区 斑竹:liumazi,waterstone  
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/22 16:15:46
标题:
关于BDE安装在最新的Berlin等 但是不能用64位 浏览:2381
加入我的收藏
楼主: 首先我的软件需求决定了必须用paradox的表,很痛苦。
使用odbc测试了必须要有索引才能修改,光读是没有问题的,pass。
没有办法还是用bde。

下载了官网的bde,也安装到vcl里面。TTable又出来了可以使用。测试一切正常。
问题来了,如果切换到64位,那么vcl这一块就变灰了。bde的控件无法使用了。

google好久搞不定,求助有经验的兄弟。
----------------------------------------------
-
作者:
男 merced (merced) ★☆☆☆☆ -
普通会员
2018/8/22 19:13:28
1楼: BDE停止支持很久了,目前还保留一个单独的安装选项只为了兼容旧程序,所以只提供了32位版本。
这样如果你需要开发使用BDE的程序的话,你的程序只能编译成32位的exe。因为编译成64位exe的话,将无法加载依赖的BDE相关dll(因dll只有32位版本)。
另外,使用BDE的32位exe,如果把Session的PrivateDir和NetFileDir设置到普通用户可写的目录以避开UAC的话,可以完美的运行在Windows 7/8/10的64位版本上,缺省不开启UAC的Windows Server 2008/2012/2016上运行更没问题。
----------------------------------------------
-
作者:
男 hz_2009 (盒子) ★☆☆☆☆ -
普通会员
2018/8/22 19:29:17
2楼: 修改相关程序的Paradox数据库和BDE数据库引擎为SQLite数据库和FireDAC数据库引擎。
----------------------------------------------
-
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/23 8:01:33
3楼: 感谢2楼的回复。解决了太多的大问题! 非常感谢。一看就是搞过这个的。
----------------------------------------------
-
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/23 8:02:20
4楼: 3楼的
“首先我的软件需求决定了必须用paradox的表。”
所以你说的方法行不通。
----------------------------------------------
-
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/26 14:12:49
5楼: 感谢2楼的回复。   目前有个主表设计太多客户和太多历史数据没有办法必须是paradox的表,只能用bde。用其他firedac odbc之类有各种问题。。。。

一直希望能某天看到64位下bde的控件能用了。。。。
----------------------------------------------
-
作者:
男 wang_80919 (Flying Wang) ★☆☆☆☆ -
普通会员
2018/8/26 15:10:17
6楼: 各种问题的意思就是,你根本连问题都懒的说清楚,更别说分析了。
你只想着,自己啥都不动,就靠天吃饭。
所以,问题解决不了,也是你活该而已。
----------------------------------------------
(C)(P)Flying Wang
作者:
男 nevergrief (孤独骑士) ★☆☆☆☆ -
盒子活跃会员
2018/8/26 16:10:21
7楼: 那你为啥非要使用Delphi最新版?我记得XE7之前都自带BDE,应该会有64位版本,更何况还可以使用XE2
----------------------------------------------
只有偏执狂才能生存!
作者:
男 laimama_1 (苞谷) ★☆☆☆☆ -
盒子活跃会员
2018/8/26 22:26:59
8楼: 7楼,这个真没有
----------------------------------------------
-
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/27 8:42:50
9楼: 6楼的你是不是走错地方了?
----------------------------------------------
-
作者:
男 wang_80919 (Flying Wang) ★☆☆☆☆ -
普通会员
2018/8/27 9:18:42
10楼: 你这种态度,想解决问题?
----------------------------------------------
(C)(P)Flying Wang
作者:
男 keymark (嬲) ▲▲▲△△ -
普通会员
2018/8/28 17:09:56
11楼: 1楼 所说方法 ~官解
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Specifying_Paradox_Directory_Locations

升级的看这里 ~官解
http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Migrating_BDE_Applications_to_FireDAC
----------------------------------------------
[alias]  co = clone --recurse-submodules  up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/>http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2018/8/29 6:03:02
12楼: BDE Installer for XE7, XE8, XE10 Seattle/Berlin/Tokyo

http://dl.downloadly.ir/Files/Software2/BDE_Installer_for_RAD_Studio_Delphi_C_Builder_10.2_Tokyo_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software2/BDE_for_XE7_to_RX10.2_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/BDE_Installer_for_10.1_Berlin_Downloadly.ir.rar

http://dl.downloadly.ir/Files/Software/BDE_Installer_for_10_Seattle_Downloadly.ir.rar

pass  www.downloadly.ir
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 emailx45 (emailx45) ▲▲▲▲△ -
普通会员
2018/8/29 6:05:58
13楼: use reFind to convert your project BDE to use FireDAC

See in http://docwiki.embarcadero.com/RADStudio/Tokyo/en/ReFind.exe,_the_Search_and_Replace_Utility_Using_Perl_RegEx_Expressions

reFind.exe, the Search and Replace Utility Using Perl RegEx Expressions
Go Up to Command-Line Utilities Index


reFind is a command-line utility for search and replacement of Perl RegEx text patterns in a text file.

For instructions on using reFind to migrate:

Existing AnyDAC applications to FireDAC, see Migrating AnyDAC Applications to FireDAC.
Existing BDE applications to FireDAC, see Migrating BDE Applications to FireDAC.
Existing dbExpress applications to FireDAC, see Migrating dbExpress Applications to FireDAC.
Contents
1 Command-Line Help
2 Patterns Format
3 Rules Format
3.1 Seach and Replace Rule
3.2 Remove Unit Rule
3.3 Remove Property Rule
3.4 Migrate Rule
4 Examples
5 See Also
Command-Line Help
RegEx (PCRE) search and replace utility, v 2.5
Copyright (c) 2013 Embarcadero Technologies, Inc.

Usage: reFind <filemasks> [/S] [/Y] [/B:0|1|2] [/Q] [/I] [/W] [/L]
          [/P:<searchpattern>] [/R:<replacepattern>] [/X:<rule filename>

  <filemasks> Specifies the file masks or file names to process.

  /?          Displays help.
  /S          Search this directory with all subdirectories.
  /Y          Modify also read-only files.
  /B:0        if .bak file exists no replace will be performed (default).
  /B:1        if .bak file exists, it is overwritten.
  /B:2        No .bak file is created.
  /Q          Quiet operation. No output to console.

  /I          Ignore case.
  /W          Whole words.
  /L          Multi line search.
  /P          Perl RegEx search pattern.
  /R          Perl RegEx replacement pattern.
  /X          Specifies rule file with multiple Perl RegEx search and replace patterns or rules.

The rule formats:
  #unuse <unit>          - remove unit from the PAS uses clause
  #remove <property>          - remove property from PAS and DFM
  #migrate [<class> :] <old> -> <new> [, <unit>]  - replace old with new identifier,
          optionally add unit to uses clause,
          optionally restrict migration to the specified class
  
          Each file line has format:    
          <searchpattern> -> <replacepattern> 
Patterns Format
reFind uses Perl compatible regular expressions (PCRE) for search and replacement patterns.

For more details, please visit:

English: http://perldoc.perl.org/perlre.html#Regular-Expressions
Russian: http://citforum.ru/internet/perl/regexp
Rules Format
The rule file consists of several lines, each of them representing a single rule. The rule file may be specified using the /X:<file name> command line parameter.

Seach and Replace Rule
 <search pattern> -> <replace pattern>
<Search pattern> is a PCRE search pattern. <Replace pattern> is a PCRE replace pattern.

Remove Unit Rule
 #unuse <unit name>
Removes the specified <unit name> from the interface and the implementation section of the "uses" clauses of the PAS files.

Remove Property Rule
 #remove <property name>
Removes the specified <property name> from PAS and DFM files. From a PAS file, it will remove any construction like <prop> := <value>;.

Migrate Rule
 #migrate [<class> :] <old name> -> <new name> [, <unit>]
Replaces all <old name> identifiers with a <new name> in PAS and DFM files. If the <class> is specified, then the rule will be applied only to the objects of the specified class:

DFM - only to base objects, not to inherited ones;
PAS - only to <obj>.<old name> constructions, not to the "with" clauses content.
If the <unit> is specified, then it will be added to the "uses" clause of the PAS unit part, where the <old name> is found. The <unit> may be a comma-separated list of the units.

Examples
Replace all "TQuery" with "TFDQuery" in pas files :
 refind *.pas /I /W /P:TQuery /R:TFDQuery
Replace all "TxxxQuery" with "TFDQuery" in pas and dfm files :
 refind *.pas *.dfm /I /W "/P:T[A-Za-z]+Query" /R:TFDQuery
Replace all "TxxxQuery" with "TQueryxxx" in pas and dfm files :
 refind *.pas *.dfm /I /W "/P:T([A-Za-z]+)Query" /R:TQuery\1
Remove all "Origin = xxxx" from DFM files :
 refind *.dfm /L "/P:\n +Origin =.+$" "/R:"
Migrate application from BDE to FireDAC:
 reFind *.pas *.dfm /X:FireDAC_Migrate_BDE.txt
See Also
Regular Expressions
GREP.EXE, the text search utility
Search Menu
Migrating AnyDAC Applications to FireDAC
Migrating BDE Applications to FireDAC
Migrating dbExpress Applications to FireDAC
Category: XE5
----------------------------------------------
The higher the degree, the greater the respect given to the humblest!RAD 11.3
作者:
男 roguebear (旺财) ★☆☆☆☆ -
普通会员
2018/8/29 9:40:54
14楼: 12-13楼的    我仔细看过也试验过了。
firedac连接paradox也是用的odbc的paradox驱动,,,还是有很多各种问题。测试一番后放弃firedac了。。。
----------------------------------------------
-
作者:
男 wang_80919 (Flying Wang) ★☆☆☆☆ -
普通会员
2018/8/29 12:38:28
15楼: “很多各种问题”的意思就是,你根本连问题都懒的说清楚,更别说分析了。
你只想着,自己啥都不动,就靠天吃饭。
所以,问题解决不了,也是你活该而已。
----------------------------------------------
(C)(P)Flying Wang
作者:
男 keymark (嬲) ▲▲▲△△ -
普通会员
2018/8/29 15:56:30
16楼: https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9aed6c52-bb97-4c14-be73-a1eacb2df5fc/microsoft-paradox-driver-odbc?forum=sqldataaccess

按此在新窗口浏览图片
----------------------------------------------
[alias]  co = clone --recurse-submodules  up = submodule update --init --recursiveupd = pullinfo = statusrest = reset --hard懒鬼提速https://www.cctry.com/>http://qalculate.github.io/downloads.htmlhttps://www.cctry.com/
信息
登陆以后才能回复
Copyright © 2CCC.Com 盒子论坛 v3.0.1 版权所有 页面执行85.9375毫秒 RSS