[英]Use OpenSSL in C++Builder
我正在C ++ Builder 10 Seattle中編譯應用程序,並嘗試使用OpenSSL進行RSA工作。 我按照本教程: 如何使用OpenSSL在C / C ++中生成RSA密鑰 這是代碼: 當我將libeay32.lib和ssleay32.lib添加到我的項目時, ...
[英]Use OpenSSL in C++Builder
我正在C ++ Builder 10 Seattle中編譯應用程序,並嘗試使用OpenSSL進行RSA工作。 我按照本教程: 如何使用OpenSSL在C / C ++中生成RSA密鑰 這是代碼: 當我將libeay32.lib和ssleay32.lib添加到我的項目時, ...
[英]A descendant of TStyledPresentationProxy has not been registered for class
我有一個自定義網格控件,它繼承自TGrid ,稱為TFmGrid 。 此控件在 Rad Studio 10 Seattle Update One 中運行良好。 我最近升級到 10.1 Berlin 並開始注意到在我運行應用程序時和在設計器中出現在我的TFmGrid控件上的錯誤消息: 尚未為類 TFm ...
[英]BeginPath Textout EndPath draws inverted text
這是我在表單的OnPaint事件中擁有的代碼: 但是這是我在表格上得到的: 正如您所看到的,文本出來是倒置的(文本必須是藍色和背景灰色,但反過來又是黃色,而不是文本在背景周圍)。 有誰知道我該如何解決? 我正在使用C ++ Builder 10 Seattle,但如果 ...
[英]openGL - Access Violation when calling glMatrixMode(…)
我目前正在使用SDL 1.2.4和C ++ Builder 10.0 Seattle。 我已經建立了一個簡單的測試程序來檢查是否一切正常。 以下代碼編譯時沒有警告或錯誤,但給了我運行時錯誤: Exception-Klasse $ C0000005 mit Meldung'訪問沖 ...
[英]EM_UNDO does not work after programmatically writing to rich edit
在Win7-64上的C ++ Builder 10 Seattle中工作。 我有一個TRichEdit控件,可以從按鈕單擊事件中寫入該控件: 我希望能夠撤消該更改,因此我有一個快捷鍵為Ctrl + Z的菜單項可以執行以下操作: 如果我鍵入了豐富的編輯內容,則“撤消”將按預期 ...
[英]Setting TFDConnection to MongoDB
在打開TFDConnection-> Open()后在空項目中,程序完成后與Mongodb的連接崩潰,錯誤為“藍牙:無法清理Winsock”。 ...
[英]Using Indy components to verify Smart Card credential
Indy組件是否具有驗證智能卡(CAC)憑據的任何功能? 我假設它必須與InitializeSecurityContext一起使用。 我在C ++ Builder Seattle中使用它,但即使是Delphi示例也會受到贊賞。 這是我到目前為止所知道的: 打開系統證書存儲 ...
[英]Using Firedac For MongoDB's Time Range Query
我有一個關於時間范圍查詢的問題。 這是我的代碼: 其中DayTime字段的數據類型為日期 編譯是可以的,但是它總是會引發如下異常: 項目TestC.cpp引發了異常類EJSONReaderException,消息為“無法讀取無限值”,路徑為“ DayTime”,第1 ...
[英]Why not call DllEntryPoint in C++ Builder?
我已經在RAD studio Seatle C ++ Builder中創建了DLL項目,並且選中了“與運行時程序包鏈接”復選框,並將其添加到“項目選項”->“ C ++鏈接器”->“附加選項”“ midas.lib” 這樣的DLL項目的“運行時包導入庫”。 adort ...
[英]'selectany' attribute is only valid on the initialization of global data with external linkage
當我在Embarcadero RadStudio seattle 10 C ++ IDE中包含<d3d11.h>文件時,編譯器給出以下錯誤: [bcc64錯誤] d3d11.h(9622):“ selectany”屬性僅在使用外部鏈接初始化全局數據時才有效。 請幫我 ...
[英]What is the difference between the IntToStr function in C++Builder 6 and C++Builder Seattle?
我可以在 C++Builder 6 中成功編譯以下代碼片段,但我無法在 RAD Studio Seattle 中編譯它: [bcc32 錯誤] Unit1.cpp(55): E2015 c:\\program files (x86)\\embarcadero\\studio\\17.0\\ ...
[英]Unable to open file vcljpg.bpi in rad studio seatle
我正在嘗試將C ++ Builder 6組件包升級到rad studio seatle 10。 我可以在C ++ Builder 6中成功編譯並安裝。 但是我嘗試將項目編譯並安裝在Rad Studio C ++ Builder中,然后顯示該鏈接器錯誤消息。 [ilink32 ...
[英]inttypes.h file not found compiling Duktape with C++ Builder and Clang
我使用C ++ Builder Seattle創建了一個簡單的Duktape示例,並遵循Duktape的 “初始化上下文”中的代碼 。 使用經典模式時,編譯效果很好。 如果我通過取消選中Project-> Options-> C ++ Compiler-> Use'clas ...
[英]SelectObject WinApi function Cannot Compiling in Rad Studio Seatle
我正在嘗試在Rad Studio Seatle CBuilder 10中編譯以下代碼段 。 但是無法編譯該行並顯示錯誤消息。 [bcc32錯誤] Unit1.cpp(132):E2034無法將'void *'轉換為'HPEN__ *'完整解析器上下文Unit1.cpp(121 ...
[英]Using Web.Win.Sockets in C++ Builder 10 Seattle
我有一個現有的(大型)項目,該項目最初是使用C ++ Builder 2010構建的 。 它使用現已棄用的套接字進行通信。 我讀到它們仍然在示例項目中可用,並從命令行構建它。 我從Component / Install Packages導航到樣本文件夾中的bpl並進行了安裝,然后繼續嘗 ...
[英]C++ Builder 10 Seattle NotificationCenter linker error
我已經使用RAD Studio 10 Seattle創建了一個新的VCL表單。 我在設計時添加了一個NotificationCenter。 然后,我對其進行編譯並成功運行。 但是當我執行以下兩個步驟時: 1.去 項目->選項-> C ++鏈接器 並取 ...
[英]Multiple StringReplace in CBB 10
我要替換10個以上的不同字符串。 現在,我正在使用手動方法,如以下代碼所示。 因此,我想知道如何使用更實用,更靈活的方法替換許多字符串。 也許通過使用特定的功能? 非常感謝你。 ...
[英]Paste Certain Clipboard Text into TEdit in CBB 10
我希望當用戶單擊按鈕時, Clipboard上僅包含Clipboard URL的文本(以http://開頭)會自動粘貼到TEdit 。 我已經嘗試了以下代碼,但根本無法正常工作。 ...
[英]C++ Builder 10 - Compiling any project gives error?
我剛剛安裝了C ++ Builder 10(西雅圖)試用版,但現在在嘗試編譯任何(新的或現有的)VCL Forms應用程序時遇到一個奇怪的錯誤。 這是一個干凈的安裝,沒有修改任何設置,等等。我使用的是Windows10。如何解決此問題? ...
[英]A lot of ambiguity errors using C++ Builder 10 Seattle
在新的C ++ Builder 10 Seattle中編譯舊代碼時,我遇到了很多歧義錯誤。 例如,對於類似log()的函數。 調用log(10)會產生以下錯誤。 [bcc32錯誤] E2015在c:\\ program files(x86)\\ embarcadero \\ s ...