Franco,
What operating system are you using when this happens? The reason that I
ask is we had reports of crashes on Win98 when using grids and we found
a problem with memory allocations that was introduced in the combos in
grids project. The problem we found should only impact 98 (and perhaps
ME, we haven't tested that platform yet), but it might be worthwhile to
try the new runtime (11.0.78.0) to see what happens. I'm attaching it to
this message.
Of course, this problem was found and reported the day *after* we did
the update for 11.0.77.0 :-(
Best regards,
-SWM-
-----Original Message-----
From: Franco [mailto:Franco-s@dataflex.it]
Posted At: Monday, July 18, 2005 9:31 AM
Posted To: visual-dataflex
Conversation: Crash application when abort
Subject: Crash application when abort
Hello to all,
I have a trobule with some kind of application compiled with VDF11 last
udpate (but szme troble with previous).
The probles is that I get a CRASH after Aborting the application where
everythign work good. And the worst is that if I runt the application
from iDE and DEBUGGER running too, the applciation can be close
correctly withou get a crash.
Pratically after the abort command the application go in somellok (the
HD work some second after everything seem to be close) and then I got a
Classic Windows Crash Dialog.
I get this trouble only when I don't use the Client_Area inside my
application (I need to run only a ModalPanel with Datadictionary activeX
and various components, without need to have all Client Area around it.
Further like I told you I don't get any crash if the DEBUGGER is running
with the application, but only if the application run without.
So the composition on this kind of applciations is:
I runt this kinf of application using a Runprogram wait from another VDF
Application
// ........
Object oMain is a Panel
// I don't want any Panel showed so everything to make it not
visible
Set CAPTION_BAR To False
Set MINIMIZE_ICON To False
Set MAXIMIZE_ICON To False
Set SYSMENU_ICON To False
Set SIZE To 0 0
Set LOCATION To -1000 -1000
Set VISIBLE_STATE To False
USE INFODOC6MAILBOX.DG
Procedure activate_mailbox
Integer ivoid iret
Handle hwnd
Set SIZE To 0 0
Set LOCATION To -1000 -1000
Set VISIBLE_STATE To False
Send activate To oViewMailBox
End_Procedure
End_Object // oMain
send activate_mailbox of omain
abort
This is extract of the Main Modal panel included on the cpackage
INFODOC6MAILBOX.DG
Object oViewMailBox is a ModalPanel
// IT INCLUDE A LOT OF ACTIVEX OBJECTS HERE
.....................
// To exit and close the application
Procedure close_panel
boolean bNeedtoBeSaved bret
handle hoPdfEditor
get piMailBoxReportID of omain to hoPdfEditor
Send COMSaveCommandBars Of oToolbar "Dataflex Service Italia
srl" "INFODOCMAILBOX" "INFODOCLayoutMailBox"
forward send close_Panel // here go in loop and Crash. I
can't
debug since in Debug mode it close the application without crash
End_Procedure
End_Object // oViewMailBox
So if someone have some suggestion how to solve this situation. I will
appreciate very much
Regards
Franco Spinella
DATAFLEX SERVICE ITALIA SRL