🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #308

UAE when exiting a VB app - why?

#308
From: Scott Butler
Date: Sat, 11 Apr 1992 19:17
21 lines
1479 bytes
I'm having a problem with ending a VB app.....I am writing an application
and related DLLs to access a real-time database running on a VMEBus system
via UDP and TCP/IP.  Everything seems to be working fine, but when I exit
my app (using the "END" statement) I get a UAE.  Running this app under
Windows 3.1 reveals the the UAE is comming from VBRUN100.DLL.  I've noticed
when I use the "Close" menu item from the apps system menu I don't have a
problem....my question is two-fold:  (1) what could be causing the UAE,
(2) what can I do to simulate the closing of the window via the system
menu?  I've tried using PostQuitMessage and DestroyWindow API calls, but
these do not work.  I don't believe the problem lies in the DLLs (they work
without problems when called from a C program).  Can anyone help me out?
 
Thanx,
Scott
(313) 758-8724

-- 
Scott Butler
------------
100% disclaimer-free!
Technical Details
Message-ID: <1992Apr11.191721.11609@usenet.ins.cwru.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!at887

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!agate!usenet.ins.cwru.edu!cleveland.Freenet.Edu!at887
From: at887@cleveland.Freenet.Edu (Scott Butler)
Newsgroups: comp.windows.ms.programmer
Subject: UAE when exiting a VB app - why?
Message-ID: <1992Apr11.191721.11609@usenet.ins.cwru.edu>
Date: 11 Apr 92 19:17:21 GMT
Article-I.D.: usenet.1992Apr11.191721.11609
Sender: news@usenet.ins.cwru.edu
Reply-To: at887@cleveland.Freenet.Edu (Scott Butler)
Organization: Case Western Reserve University, Cleveland, Ohio, (USA)
Lines: 22
Nntp-Posting-Host: cwns2.ins.cwru.edu