Internal Compiler Error
Posted: Fri Jun 16, 2006 3:04 pm
Hi,
My first contact with TsiLang is very negative.
This is my problem when I put TsiLang component into my exist project:
[C++ Fatal Error] systobj.h(276): F1004 Internal compiler error at 0x13674ffd with base 0x59f0000
systobj.h:
...
DelphiInterface<T>& __fastcall operator =(DelphiInterface<T> &rhs)
{
if (rhs.intf != 0) // error on this line
rhs.intf->AddRef();
if (intf != 0)
intf->Release();
intf = rhs.intf;
return *this;
}
...
my H file:
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <ButtonGroup.hpp>
#include <DBCtrls.hpp>
#include <ImgList.hpp>
#include "dbf.hpp"
#include <DB.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <ComCtrls.hpp>
#include <FileCtrl.hpp>
#include "cdiroutl.h"
#include <Outline.hpp>
#include <Graphics.hpp>
#include "siComp.h"
...
and my CPP file:
#include <windows.h>
#define NO_WIN32_LEAN_AND_MEAN // kvuli funkci SearchFolder
#include <shlobj.h>
#include "Psapi.h"
#pragma comment(lib,"psapi.lib")
//#include <vcl.h>
#pragma hdrstop
#include "FrmMain.h"
#include "BarMonitor.h"
#include "FormAddApp.h"
#include <Registry.hpp>
#include "VerInfo.h"
#pragma package(smart_init)
#pragma link "dbf"
#pragma link "cdiroutl"
#pragma link "siComp"
#pragma resource "*.dfm"
...
one of sils:
[Language names - for internal use only!]
Language_1=Language N1
[OPTIONS]
DELIMITER=~!@#$
[Other]
TForm1.Dbf1.FilePath=~!@#$
TForm1.Dbf1.FilePathFull=~!@#$
TForm1.Dbf1.Filter=~!@#$
TForm1.Dbf1.IndexFieldNames=~!@#$
TForm1.Dbf1.Version=6.46~!@#$
TForm1.DBLookupListBox1.DataField=~!@#$
TForm1.DBLookupListBox1.KeyField=PROGRAM~!@#$
TForm1.DBLookupListBox1.ListField=~!@#$
TForm1.EditPath.Text=Choose path~!@#$
TForm1.OpenDialogProg.Filter=Prog|*.exe~!@#$
TForm1.OpenDialogProg.Title=Choose@#$
TForm1.StatusBar1.SimpleText=~!@#$
TForm1.TForm1.HelpFile=~!@#$
TForm1.TrayIcon1.BalloonHint=~!@#$
TForm1.TrayIcon1.BalloonTitle=~!@#$
............................................
I did all things what I thought that could help, but still this error. I also tried move all components to ExcludedProperties... and also same error...
But when I try to make new project with TsiLang, then everything is fine.
What is the problem please?
PS: sorry for my english.
Stan
My first contact with TsiLang is very negative.
This is my problem when I put TsiLang component into my exist project:
[C++ Fatal Error] systobj.h(276): F1004 Internal compiler error at 0x13674ffd with base 0x59f0000
systobj.h:
...
DelphiInterface<T>& __fastcall operator =(DelphiInterface<T> &rhs)
{
if (rhs.intf != 0) // error on this line
rhs.intf->AddRef();
if (intf != 0)
intf->Release();
intf = rhs.intf;
return *this;
}
...
my H file:
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <ButtonGroup.hpp>
#include <DBCtrls.hpp>
#include <ImgList.hpp>
#include "dbf.hpp"
#include <DB.hpp>
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <ComCtrls.hpp>
#include <FileCtrl.hpp>
#include "cdiroutl.h"
#include <Outline.hpp>
#include <Graphics.hpp>
#include "siComp.h"
...
and my CPP file:
#include <windows.h>
#define NO_WIN32_LEAN_AND_MEAN // kvuli funkci SearchFolder
#include <shlobj.h>
#include "Psapi.h"
#pragma comment(lib,"psapi.lib")
//#include <vcl.h>
#pragma hdrstop
#include "FrmMain.h"
#include "BarMonitor.h"
#include "FormAddApp.h"
#include <Registry.hpp>
#include "VerInfo.h"
#pragma package(smart_init)
#pragma link "dbf"
#pragma link "cdiroutl"
#pragma link "siComp"
#pragma resource "*.dfm"
...
one of sils:
[Language names - for internal use only!]
Language_1=Language N1
[OPTIONS]
DELIMITER=~!@#$
[Other]
TForm1.Dbf1.FilePath=~!@#$
TForm1.Dbf1.FilePathFull=~!@#$
TForm1.Dbf1.Filter=~!@#$
TForm1.Dbf1.IndexFieldNames=~!@#$
TForm1.Dbf1.Version=6.46~!@#$
TForm1.DBLookupListBox1.DataField=~!@#$
TForm1.DBLookupListBox1.KeyField=PROGRAM~!@#$
TForm1.DBLookupListBox1.ListField=~!@#$
TForm1.EditPath.Text=Choose path~!@#$
TForm1.OpenDialogProg.Filter=Prog|*.exe~!@#$
TForm1.OpenDialogProg.Title=Choose@#$
TForm1.StatusBar1.SimpleText=~!@#$
TForm1.TForm1.HelpFile=~!@#$
TForm1.TrayIcon1.BalloonHint=~!@#$
TForm1.TrayIcon1.BalloonTitle=~!@#$
............................................
I did all things what I thought that could help, but still this error. I also tried move all components to ExcludedProperties... and also same error...
But when I try to make new project with TsiLang, then everything is fine.
What is the problem please?
PS: sorry for my english.
Stan