Showing posts with label Embarcadero. Show all posts
Showing posts with label Embarcadero. Show all posts

Thursday, September 21, 2017

Wednesday, August 23, 2017

[OpenCV][C++ Builder] Use OpenCV in C++ Builder? Or via Delphi?

[Reference] https://github.com/Laex/Delphi-OpenCV

1. Download Delphi-OpenCV.
2. Generate OpenCV C++ header (.hpp) files from .pas files.
3. Convert OpenCV library files (.lib) from Coff to OMF using ( Coff2OMF.exe).

Tuesday, August 22, 2017

[C++ Builder] String Replace

[Reference]
http://docwiki.embarcadero.com/Libraries/Tokyo/en/System.SysUtils.StringReplace

BCB的字串替換


extern DELPHI_PACKAGE System::UnicodeString __fastcall StringReplace(const System::UnicodeString Source, const System::UnicodeString OldPattern, const System::UnicodeString NewPattern, TReplaceFlags Flags)/* overload */;




Thursday, March 17, 2016

[C++ Builder] Embarcadero C++ XE10 Builder make Android App prompts error message: [Idandroid error] "Id" exited with code 1


This happened when using NDK r10e.

After replaced NDK to  r9c as Embarcadero recommanded, the problem solved.

BTW, NDK r9d also works.

But, compiler prompts other error messages when using NDK r11

Sunday, October 19, 2014

[DCC Fatal Error] reinit.pas(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)

移除 C++ Builder (XE3) 之後, 重新安裝, 而且把安裝位置從 C: 變更為 D:。
Build 舊專案出現這個訊息:

[DCC Fatal Error] reinit.pas(1): F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)

google 得到的答案是 lib 路徑的問題.
依照指示設定後仍未解決,
後來發現,既然是 Delphi 的問題, 應該要設定的是 Delphi 的路徑。

搜尋硬碟找到 system.dcu 在資料夾 d:\Program Files (x86)\Embarcadero\RAD Studio\10.0\lib\win32\release

所以,在 [Tools] [Options...] [Environment Options] [Delphi Options] [Library] [Library path:]
加入(或修改為)

d:\Program Files (x86)\Embarcadero\RAD Studio\10.0\lib\win32\release

即可解決.


[Qt] 執行檔需要哪些 Dll?

 1. 使用 Qt  的 windeployqt.exe 工具 (在 C:\Qt\Qt5.14.1\5.14.1\msvc2017\bin\)。   a. 把執行檔 myProgram.exe 放在某個資料夾。   b. 在檔案總管這個資料夾按 Shift 和滑鼠右鍵,開啟 Po...