LoginSignup
0
1

More than 5 years have passed since last update.

c++ builder > Assertion failed: (vbFlag && (errPtr->ERRcInitDtc >= ...

Last updated at Posted at 2016-05-31
動作確認
C++ Builder XE4 on Widows 7pro

XE4で実装したソフトの動作試験中、以下のようなエラーメッセージに遭遇した。

Assertion failed: (vbFlag && (errPtr->ERRcInitDtc >= varType-
>tpClass.tpcDtorCount)) || (!vbFlag && (errPtr->ERRcInitDtc >= 
varType->tpClass.tpcNVdtCount)) || flag, file xx.cpp, line3292

検索してもいまいちはっきりしない。

AnsiString関連の不具合だろうか。 http://qc.embarcadero.com/wc/qcmain.aspx?d=18852

System.pasの該当部分

(追記 2018/02/13)

上記のメッセージでは3292と記載しているが、3293かもしれない。

System.pasの該当部分は以下のようになっている (3292行目から)。

(3292,3293)
procedure _LStrSetLength(var Str: _AnsiStr; NewLength: Integer; CodePage: Word);

_LStrSetLength()関連の不具合なのかもしれない。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1