Page 1 of 1

Access Violation during creation of simple form wth TDBChart

Posted: Sat Oct 20, 2007 2:28 pm
by 9244862
hi,
in BDS 2006 C++, i have an empty form (after removing other components and include files one by one) and TDBChart.
after compilation, the application starts and tries to open the main form but i receive an EAccessViolation :(

when creating a completely new application and place TDBChart on the form everything is ok :)
however, i will finally have to go back to my original application and get TDBChart running.

does anybody have a clue what is going on ?

thanks
uwe

debug stack

Posted: Sat Oct 20, 2007 2:33 pm
by 9244862
here the debug stack as shown in the IDE

:7c901231 ntdll.DbgBreakPoint + 0x1
:7c901231 ; ntdll.dll
:7c949eb9 ; ntdll.dll
:7c96d6aa ; ntdll.dll
:7c949d18 ; ntdll.dll
:7c91b298 ; ntdll.dll
:7e41f1a1 ; C:\WINDOWS\system32\USER32.dll
:7e41cca0 ; C:\WINDOWS\system32\USER32.dll
:7e42f511 USER32.EnumThreadWindows + 0x18
:5204ded9 vcl100.@Forms@DisableTaskWindows$qqrui + 0x61
:5205965b vcl100.@Forms@TApplication@MessageBox$qqrpxct1i + 0xc7
:520597aa vcl100.@Forms@TApplication@ShowException$qqrp18Sysutils@Exception + 0x9a
:004019AE WinMain( =:00400000, =NULL, =:00141F1F, =9)
:3279a15f ; C:\WINDOWS\system32\CC3270MT.DLL

Posted: Mon Oct 22, 2007 1:39 pm
by narcis
Hi digdagdigedag,

Could you please check that your old project and new projects have same packages and search path references at Project -> Options -> Packages and Project -> Options -> Directories/Conditionals?

Thanks in advance!