Board index » cppbuilder » Calling TDialog's Execute() method will crash under BCB4

Calling TDialog's Execute() method will crash under BCB4

I converted an application from BC++ 5.02 to BCB 4 Prof.
After compiling and linking the application start correctly.
I derived some classes from OWL::TDialog. If i call the Execute() method
to open the dialog, the app will crash with a TXWindow exception.

Thanks in advance for any help.
Tino Mai

 

Re:Calling TDialog's Execute() method will crash under BCB4


: Tino Mai <t....@grainsoft.com> wrote:

Quote
>I converted an application from BC++ 5.02 to BCB 4 Prof.

Did you use the OWL wizard to create a new, empty OWL project, adding all
source files to that?

--
Stefan Hoffmeister (TeamB)     http://www.econos.de/
Please do apply judgement when sending email.

Re:Calling TDialog's Execute() method will crash under BCB4


Yes, i create the exe with the OWL wizard. The dll project's i create with
DLL wizard.
I don't know how to create a dll project using OWL wizard!
The make files uses the follow borland libraries:

ALLLIB = $(LIBFILES) $(LIBRARIES) owlwti.lib ocfwti.lib bidsti.lib
ole2w32.lib  import32.lib cw32mti.lib

My dialog classes are in a seperat dll. The corresponding ressources are in
an other dll !!!
I check the module, used by my dialogs to locate the ressources, it's ok!

Are the used borland libraries correct, or must i use other?

Tino Mai

Re:Calling TDialog's Execute() method will crash under BCB4


: Tino Mai <t....@grainsoft.com> wrote:

Quote
>Yes, i create the exe with the OWL wizard. The dll project's i create with
>DLL wizard.

Which DLL project? Sorry, but you just lost me.

Are you certain that the enum setting (-b compiler switch) is the same for
both binaries?

--
Stefan Hoffmeister (TeamB)     http://www.econos.de/
Please do apply judgement when sending email.

Other Threads