Board logo

Subject: cnWizards_d16.dll 在bcbxe2報錯。 [Print This Page]

Author: jacky_char    Time: 2012-9-19 15:47     Subject: cnWizards_d16.dll 在bcbxe2報錯。

版主安好。<br />
很抱歉打擾了。<br />
小弟用了0.9.9.603,0.9.9.617_RC4,0.9.9.621,0.9.9.629_Unstable,0.9.9.630_Unstable,0.9.9.632_Unstable,0.9.9.633_Unstable,0.9.9.634_Unstable,這幾個版本。<br />
都出現了錯誤。<br />
<br />
(00060C01){CnWizards_D16.dll} [0A3B1C01]<br />
(00061249){CnWizards_D16.dll} [0A3B2249]<br />
(000646B0){CnWizards_D16.dll} [0A3B56B0]<br />
[0A4C3E35]{CnWizards_D16.dll} Unknown function at INITWIZARD0001 + $EAC09<br />
[0A4C3B39]{CnWizards_D16.dll} Unknown function at INITWIZARD0001 + $EA90D<br />
[503E7E1B]{vcl160.bpl??} Vcl.ExtCtrls.TTimer.Timer (Line 3056, "Vcl.ExtCtrls.pas" + 1) + $E<br />
[503E7CFF]{vcl160.bpl??} Vcl.ExtCtrls.TTimer.WndProc (Line 3014, "Vcl.ExtCtrls.pas" + 4) + $7<br />
[500B688C]{rtl160.bpl??} System.Classes.StdWndProc (Line 13878, "System.Classes.pas" + 8) + $0<br />
[50453213]{vcl160.bpl??} Vcl.Forms.TApplication.ProcessMessage (Line 10164, "Vcl.Forms.pas" + 23) + $1<br />
[50453256]{vcl160.bpl??} Vcl.Forms.TApplication.HandleMessage (Line 10194, "Vcl.Forms.pas" + 1) + $4<br />
[50453595]{vcl160.bpl??} Vcl.Forms.TApplication.Run (Line 10332, "Vcl.Forms.pas" + 26) + $3

Image Attachment: 剪貼簿-1.jpg (2012-9-19 15:47, 64.67 K) / Download count 27
http://bbs.cnpack.org/attachment.php?aid=904


Author: jacky_char    Time: 2012-9-20 15:19     Subject: 回復 #1 jacky_char 的帖子

版主安好。<br />
會發生上述問題,大致原因找到了。<br />
當我打開c的include檔(.h)就會報出這個錯誤。<br />
include檔(.h)的內容為。<br />
<br />
struct HALCON<br />
{<br />
??Hobject? ?Monkey;<br />
??Hlong? ???Row;<br />
??Hlong? ???Column;<br />
??Hlong? ???Button;<br />
??Hlong? ???WindowHandle;<br />
??Hlong? ???Pointer;<br />
??Hlong? ???Width;<br />
??Hlong? ???Height;<br />
??char? ?? ?Type[MAX_STRING];<br />
??Herror? ? err;<br />
};<br />
<br />
extern "C" _declspec(dllexport) int test(HALCON *halconC); //輸出函式
Author: Passion    Time: 2012-9-20 21:04

有乱码。楼主可否将出问题的h文件发我油箱?master  at cnpack.org

Author: jacky_char    Time: 2012-9-21 11:27     Subject: 回復 #3 Passion 的帖子

版主安好。
請問一下,你的mail address是??
Author: Passion    Time: 2012-9-25 11:32

收到私信了。我查查。
Author: Passion    Time: 2012-10-15 16:10

经过查找,是我们使用的第三方库在处理BCB代码的时候未考虑到文件末尾注释的情况导致访问越界出错了。我想法修正一下。




Welcome to CnPack Forum (http://bbs.cnpack.org/) Powered by Discuz! 5.0.0