[Lazarus] External SIGSEGV when trying to use data module components
Luca Olivetti
luca at wetron.es
Sat Apr 11 18:01:13 CEST 2015
El 11/04/15 a les 17:48, brian ha escrit:
> My problem is a simple one to describe - the program compiles
> correctly, but the moment I try to do anything with the objects in the
> data module, I get an immediate 'external SIGSEGV'. When I say do
> anything with them, this is as simple as adding a line of SQL to a
> query.
Check in project options, forms that the datamodule is in the "auto
create forms".
Also, if you're trying to use the datamodule in the OnCreate event
handler of the main form, that's going to cause a sigsev since the
datamodule hasn't been created yet. Use OnShow instead.
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es
Tel. +34 935883004 Fax +34 935883007
More information about the Lazarus
mailing list