🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
1 messages
1 total messages Started by Scott Butler Sat, 11 Apr 1992 19:17
UAE when exiting a VB app - why?
#308
Author: 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!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads