Skip to content

Instantly share code, notes, and snippets.

@lawrence910426
Created January 19, 2026 02:02
Show Gist options
  • Select an option

  • Save lawrence910426/38f39117f409c344167473e01ef20265 to your computer and use it in GitHub Desktop.

Select an option

Save lawrence910426/38f39117f409c344167473e01ef20265 to your computer and use it in GitHub Desktop.
未提供 `QueryFuncTable.ini` 檔案

Describe the bug

我在查詢平倉時,遇到

OnRspQuery: QueryID[1040401] Result[Y-1Not support query service because QueryFuncTable.ini is not found.] 18:03:42.231295 OnRspQuery QueryID[1040401] Content[Not support query service because QueryFuncTable.ini is not found.]

的錯誤訊息,但是 repo 本身沒有提供 QueryFuncTable.ini 檔案

來源是呼叫 TTaifexConnection.h 中的 TTaifexConncetion::ReqQuery

並且錯誤透過 TTaifexConnection.h 中的 IOrderConnectionEventListener* FListener; 呼叫 FListener->OnRspQuery 時,被丟出來的

Expected behavior

repo 有提供 QueryFuncTable.ini 檔案,使得 TTaifexConnection.h

UFC::UiniFile*                  FQueryFuncTable;

這個變數能吃到該檔案,並且呼叫TTaifexConnection.h 中的 TTaifexConncetion::ReqQuery函數能順利執行

Environment

  • OS: Ubuntu 2404 LTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment