HDTenEightyP/NetNews huggingface dataset:
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Access to D000:0000 thru FFFF
Date: 28 Sep 92 17:05:21 GMT
Organization: PE-Nelson

In article <1992Sep24.200809.249@wuecl.wustl.edu>, wilcox@swarm.wustl.edu (Don Wilcox) writes:
|> In article <610@lax.lax.pe-nelson.com> twbrown@PE-Nelson.COM (Tom W. Brown) writes:
|> >
|> >Fortunately the Windows KERNEL defines and exports some convenient selectors
|> >that you can use.  Define the following external variable:
|> >
|> >   extern WORD PASCAL __D000H   // NOTE: two underscores!
|> >
|> >And to make a pointer to the a given offset within this address range do
|> >the following (e.g. making an LPSTR):
|> >
|> >   LPSTR p = MAKELONG(offset, &__D000H);
|> >
|> This is really frustrating for me.  I have tried nearly every conceivable form
|> of this expression, and I have yet to get the real data into my application.
|> Is there anyone around who would be willing to look over my code for some
|> mistake that I have made?  Basically, I have to read data starting at __B000H
|> and going into the middle of __E000H.  I always get garbage.
|> 

Don, 
Here is more info regarding the above -- taken straight from our code:

INCLUDE file:

   extern "C" {                        // since we are using C++
   extern WORD PASCAL __0000H;
   #define page_zero (&__0000H);
   }

   #define LPT_TABLE 0x0408;           // Offset to parallel port table


SOURCE file:

   WORD FAR *pPortTable;
   WORD port;

   pPortTable = (WORD FAR *) MAKELONG(LPT_TABLE, page_zero);
   port = pPortTable[0];
   ...

This is taken from code that deals with one of those security "dongles" and
we need to access the lpt ports directly.  The above code is used to read the
table of lpt port addresses as setup by the BIOS in the first segment of memory.
I know this works, but there may be a difference between accessing segment 0000H
and B000H -- E000H.

If this doesn't work for you then I'm over my head.  It could have something
to do with accessing memory in use by a virtual device driver (like the video
driver).


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: More on getting the size of a menu bar
Date: 28 Sep 92 22:32:47 GMT
Organization: PE-Nelson

In article <1992Sep27.214613.21181@microsoft.com>, chriswa@microsoft.com (Chris Waldron) writes:
|> In article <1992Sep24.085932.1553@harlqn.co.uk> paulb@harlqn.co.uk (Paul Butcher) writes:
|> |>
|> |> [ about obtaining the width of a menu bar ]
|> |>
|> 
|>  Use GetSystemMetrics(SM_CYMENU)
|> 
|> ChrisWa.

Careful, Chris.  This returns the always constant *height* of a single line
menu bar.  Not the minimal width of a menu bar, not the height of a menu bar
that has been "wrapped around".


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
From: muffy@remarque.berkeley.edu (Muffy Barkocy)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: MDI Windows
Date: 6 Oct 92 10:40:30
Organization: Natural Language Incorporated
NNTP-Posting-Host: remarque.berkeley.edu
In-reply-to: cwvernon@napier.uwaterloo.ca's message of Sun, 4 Oct 1992 18:41:22 GMT

In article <BvM190.Lzr@undergrad.math.waterloo.edu> cwvernon@napier.uwaterloo.ca (Colin Vernon) writes:
> Oh yeah, I'm having a bit of trouble with MDI windows as well.  My windows
> don't seem to show the minimize and restore buttons when they are 
> maximized in the parent window.  Any suggestions?

I had this problem, too; it turned out I was trapping the WM_SIZE
message and returning from the window function, rather than sending it
along to DefMDIChildProc.  You have to pass this message along.

Muffy
--

Muffy Barkocy                               muffy@mica.berkeley.edu
~Little round planet/in a big universe/sometimes it looks blessed/
 sometimes it looks cursed/Depends on what you look at, obviously/
 But even more it depends on the way that you see~ - Bruce Cockburn
Xref: sparky comp.os.ms-windows.programmer.misc:2432 comp.os.ms-windows.misc:3618 comp.lang.pascal:5861
From: byrd@lucerne.rice.edu (Marc J Byrd)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.misc,comp.lang.pascal
Subject: TPW problem with COM ports?
Date: 6 Oct 92 17:58:21 GMT
Article-I.D.: rice.BvpoLA.Aox
Reply-To: byrd@lucerne.rice.edu (Marc J Byrd)
Organization: Rice University

I'm having a problem with TPW 1.0 running on Win3.1.  

A certain ObjectWindows program runs fine until I put in a "WriteComm"
statement, at which time it hangs everything.  I know the commands
run on their own because I executed them in a WinCRT program.

Before I look too closely into the nitty-gritty of the problem or upload
the entire program:

  1)  Has anyone else encountered and conquered this problem?
  2)  Does TPW 1.5 fix this?
  3)  Am I a moron to not realize something obvious?

-- 
Marc J. Byrd - byrd@rice.edu        
Rice University                    
Dept of Elec & Comp Engr          
XUV Holographic Microscope Project 
Newsgroups: comp.os.ms-windows.programmer.misc
From: jeff@tct.com (Jeff Witzer)
Subject: HELP! - Windows speed issues!
Date: Wed, 30 Sep 1992 15:31:38 GMT
Organization: TC Telemanagement, Clearwater, FL

First a cleansing scream:

AAAAAAAAAAAAAAAARRRRRRRGGGGGHHHHHH!!!

Thank you.


I am having a REAL problem with Windows speed and DESPERATELY need advice on
increasing its performance in my product.

I have a full-screen (almost) dialog box which I'm using for my main window.
On it, I have several (> 30) buttons (representing items, pressing gives the
user a detail window on the item) and a static text label for each, 5 action 
buttons, and a statistics area displayed with bitmaps...LOTS of stuff, but
actually quite readable.  I think it's this complexity that is slowing me 
down so much.

The biggest problem is...every time I destroy a dialog box or window that I
lay over the busy screen, Windows takes way too long to remove the image, and
it does it in little "nibbles" as the covered items are redrawn over the
window I'm removing.  I use the top level functions (CreateDialog, DialogBox,
CreateWindow, EndDialog, DestroyWindow, etc) and was wondering if there was a
way to call the REAL functions that these call and avoid some of the 
unnecesary testing and checking that the main functions do.  When I programmed
with Vermont Views, I tripled the speed by calling the underlying functions
directly (I had source code and modified IT as well for customization and
speed) and hope Windows has the same technique available.

There are many other speed issues...ALL windowing functions (create, move,
repaint, destroy, etc) are slow.  If there is a simple techinque I'm 
overlooking (maybe create a window once and just show and hide?) please let
me know.  I'm running on a 486/50 with 8 meg and have no problems, but when 
it was tested on a 386/25 with 4 meg, it was JAW-DROPPING slow!!  Please help.

Thanks

jeff
From: bbb@kuhub.cc.ukans.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: VB Hangs on divide-0
Date: 2 Oct 92 10:16:53 CDT
Organization: University of Kansas Academic Computing Services


For some time now my VB will lock up if I get a divide/0.  This
only happens in the delveopment mode.  If I make an EXE with the
error, and run it from the desk top I get the expected message and
termination.  Other errors the come up in the course of writting a
program are handled fine.  I think, but won't swear, that the problem
started about the time I switch over to win 3.1.  When it hangs the
only way out is "three-finger-salute", and let windows terminate VB.
This of course results in the lose of any changes since my last
"save-project" which can be very annoying.  I've reloaded the VB
and nothing changed.  Anybody got any ideas what I should check next?
Thanks 
BB

Newsgroups: comp.os.ms-windows.programmer.misc
From: carr@scinet.up.ac.za (Alan Carr)
Subject: Using OWL DLL's in Visual Basic
Date: Tue, 29 Sep 1992 08:36:51 GMT
Organization: University of Pretoria
Keywords: BC++3.1, Visual Basic, DLL

I've struck a problem trying to run a DLL generated from BC's OWL. (The DLL 
I'm trying to get to work at this stage is the OWL example 'cdlgdll.prj', 
which generates a DLL which can be used from a straight C program). The 
problem is that the function definition causes the compiler to 
generate prefix underscores in the DLL, and VB cannot handle functions 
beginning with an underscore.

I've tried correcting this by including a 'pascal' identifier in the 
function definition, but this resulted in some spectacular system crashes.

Can anyone offer a solution ?

tku
alan carr
email: carr@scinet.up.ac.za
From: jkn@ohm.york.ac.uk (John Nicoll)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: help: problem with MessageBox() between WM_INITMENUPOPUP?
Date: 30 Sep 92 17:38:25 GMT
Organization: Electronics Department, University of York, UK

Hello everyone

	I have an application which builds a hierarchy
of popup menus (according to what's in various files etc.).
Now when I change my selection on the top entry
(ie. which file I'm examining), I issue a MessageBox()
along the lines of `OK to destroy previous data'.

This works, but I then get a spurious highlighted menu
entry in the wrong place, as I carry on popping up the
(new) sub-hierarchy for the new file. This is all done
on WM_INITMENUPOPUP.

Are there any problems with `inserting' all the messages
that MessageBox generates while I'm really processing
WM_INITMENUPOPUP? the (3.0) reference manual says that

`If a message box is created while a dialog box is present,
use the handle of the dialog box as the hWndParent
parameter.' Do similar considerations apply to my case?
(I've tried using the popup handle, with different but
equally anomalous effects).

Any advice gratefully received (email preferably)

	thank you
		john Nicoll

-- 
john nicoll (jkn@ohm.york.ac.uk)
Department of Electronics  University of York
Heslington   YORK YO1 5DD U.K
NEW PHONE! Tel +44 (904) 433221   Fax +44 (904) 432335
Newsgroups: comp.os.ms-windows.programmer.misc
From: c2s4027@tamsun.tamu.edu (Cedric Sims)
Subject: Re: Runtime Version of Windows
Organization: Texas A&M University, College Station
Date: Wed, 30 Sep 1992 13:21:12 GMT

In article <1992Sep29.200135.4641@ncsu.edu> dspascha@eos.ncsu.edu (DAVID SCOTT PASCHAL) writes:
>
>In article <jcmorris.717777934@mwunix>, jcmorris@mwunix.mitre.org (Joe Morris) writes:
>|>If your client is the end user (as opposed to a vendor) and wants the
>|>run-time code for convenience rather than security, you can get much of
>|>the functioning of the run-time code by editing SYSTEM.INI to replace
>|>the line:
>|>
>|>   shell=progman.exe
>|>
>|>by:
>|>
>|>   shell=myprog.exe
>|>
>|>which causes Windows to load myprog.exe, run it, and terminate when
>|>myprog terminates.  Obviously, this also precludes a user from doing
>|>such things as changing printer settings or other tasks which you may
>|>or may not wish to be restricted.
>|>
>|>In the old run-time system the Control Panel was accessible from the 
>|>control button rather than from the menu bar, so this the user did have
>|>access to printer selection and similar functions.
>
>You can get the Control Panel to load by putting a load= or run= in SYSTEM.INI.
>
>Tschuess,
>David Paschal


You should probably do the following :

1. Change 
     shell=progman.exe
   to
     shell=myprog.exe

2. Add the control panel to the system menu of your application.

The user should have everything they need.

Cedrico.
-------------------------------------------------------------------
 Cedric J. Sims                               Texas A&M University
                                         Computing Services Center
 cedrics@tamu.edu                          (SELL)  Room 216 Teague
 +1 409 862 4104                    College Station, Tx 77843-3142
-------------------------------------------------------------------
-- 
-------------------------------------------------------------------
 Cedric J. Sims                               Texas A&M University
                                         Computing Services Center
 cedrics@tamu.edu                          (SELL)  Room 216 Teague
Newsgroups: comp.os.ms-windows.programmer.misc
From: hill@netcom.com (Tom Hill)
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Sat, 3 Oct 1992 01:00:21 GMT

In article <1992Oct2.171253.10439@netcom.com> mbk@netcom.com (Miles Kehoe) writes:
>A few months back I signed up (and was billed) for a product
>due out in September - described as 'all the windows docs and
>many application notes and books written by Microsoft press
>(including Charles Petzold's book) on CD-ROM with a search
>engine front end.
>
>Well, it's October. Anyone seen one of these puppies? Any
>idea when it's coming? I know it's only $39 plus shipping,
>but it IS due.
>
>Miles
>
Mine arrived today (Friday). Haven't had a chance to play with it yet...

Tom Hill
From: jcmorris@mwunix.mitre.org (Joe Morris)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Where is the Win Doc CDROM?
Keywords: CDROM WINDOWS
Date: 2 Oct 92 20:16:39 GMT
Organization: The MITRE Corporation

mbk@netcom.com (Miles Kehoe) writes:

>A few months back I signed up (and was billed) for a product
>due out in September - described as 'all the windows docs and
>many application notes and books written by Microsoft press
>(including Charles Petzold's book) on CD-ROM with a search
>engine front end.

>Well, it's October. Anyone seen one of these puppies? Any
>idea when it's coming? I know it's only $39 plus shipping,
>but it IS due.

Mine arrived in yesterday's mail.  Interestingly, it was in a plain
brown wrapper (literally!) instead of a normal Microsoft shipping
envelope, although it *did* have a proper return address sticker.

I haven't had a chance to load it yet; unlike the disk it replaces
(Microsoft Programmer's Library) it can't run under plain DOS; it
must have Windows, and my Windows system is a testbed at the moment.

Joe Morris / MITRE
From: hewitt@vaxc.cc.monash.edu.au
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: INP and OUT in VisualBasic
Date: 5 Oct 92 08:49:29 +1000
Organization: Computer Centre, Monash University, Australia

Has anyone written any DLLs which simulate INP, OUT and possibly PEEK and POKE
in Visual Basic?
From: beaurega@ireq.hydro.qc.ca (Denis Beauregard)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: CodeBase 4.5 and CodeWin troubles (bugs?)
Date: 30 Sep 92 19:08:57 GMT
Organization: Institut de recherche d'Hydro-Quebec, Varennes, Canada

In article <6112@pdxgate.UUCP> jayward@rigel.cs.pdx.edu (Jay Ward) writes:
>Has anyone had troubles with CodeBase 4.5 and CodeWin under Windows 3.1?
>Since getting this product I have had one unexplained crash after another.
>Specifically in the Browse functions in a Dialog Box.
>
>I would appreciate hearing from other users of CodeBase 4.5 and CodeWin.
>

I put aside CodeBase because of a rush in a project and will get back
later, but this hint may be of help:

I found out that I was using alignment on byte while the CodeBase library
was aligned on word boundary.  This may explain why the program run OK
until you use some function.

BTW, CodeBase has a good technical service on phone IMO.  I get the
diskettes 3 times (I am using Zortech and the library for that compiler
was omitted at that moment) and they made no problem in shipping new ones.

-- 
  \_\    Denis Beauregard  *  internet:beaurega@ireq.hydro.qc.ca
 /   \   Genealogiste des familles : Beauregard/Jarret/Jarest/Vincent
J   __>  Un Quebec renouvele dans une Amerique renovee
\_.-===  Non a une entente au contenu secret      Mon opinion ? Non !
From: kim@Software.Mitel.COM (Kim Letkeman)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: HELP! - Windows speed issues!
Date: 5 Oct 92 14:05:56 GMT
	<1992Oct2.171644.29483@pixel.kodak.com>
Organization: MITEL Public Switching, Kanata, Ontario, Canada
In-reply-to: dj@ekcolor.ssd.kodak.com's message of 2 Oct 92 17:16:44 GMT

In article <1992Oct2.171644.29483@pixel.kodak.com> dj@ekcolor.ssd.kodak.com (Dave Jones) writes:

| So before you run out and yell the for the latest and greatest
| hardware, try looking at the application and see if you can't locate
| the real problem.

Well Dave, you missed my point. But judging by the tone of your
response you were only looking for someone to agree with you anyway,
so I agree. Happy now?
--
Kim Letkeman	kim@Software.Mitel.COM
From: twbrown@PE-Nelson.COM (Tom W. Brown)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Re: Listbox
Date: 29 Sep 92 16:03:10 GMT
Followup-To: comp.os.ms-windows.programmer.misc
Distribution: usa
Organization: PE-Nelson

In article <1992Sep29.013449.7918@twg.com>, shekar@twg.com (Shekar Pasumarthi) writes:
|> Hi,
|> 
|> I am trying to put multiple columns ( like a table) in a list box and 
|> scroll vertically not horizontally. I am formatting the strings and
|> putting them in the listbox, but the problem I am having is I am
|> not able to align the columns ( right justified or left justified),
|> I guess due to the variable pitch used.
|> 

Two things you can do:

1. Send the following message to the listbox to get it to use the system
   fixed pitch font which will allow your formatted strings to be aligned:

     SendDlgItemMessage(hdlg, IDLISTBOX, WM_SETFONT,
                        (WPARAM) GetStockObject(SYSTEM_FIXED_FONT),
                        0L);

   Do this in the WM_INITDIALOG processing (assuming this is part of a
   dialog box).

2. Use tabs between the fields in your strings instead of spaces and set
   the tabstops for the listbox appropriately.  The listbox will need the
   LBS_USETABSTOPS style and you can use the LB_SETTABSTOPS message to
   set the tabstop positions in the listbox.


I lied, there are actually three things you can do :-)

3. Make the listbox with the LBS_OWNERDRAWFIXED style and when you get the
   WM_DRAWITEM messages for the listbox items you can do TextOut calls for
   each column separately and guarantee that the same X coordinate is used
   for each column.

   However, this is a lot of overhead and overkill for your problem so I
   wouldn't seriously suggest it.


----------------------------------------------------------------------------
Tom Brown               |  "Strange women, lying in ponds, distributing
PE Nelson Systems       |   swords is no basis for a system of government."
twbrown@pe-nelson.com   |                    Monty Python and the Holy Grail
----------------------------------------------------------------------------
From: d88-rjo@nada.kth.se (Rickard Jonsson)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: OLE & Microsoft Word 2.0
Date: 30 Sep 92 20:09:26 GMT
Reply-To: d88-rjo@nada.kth.se (Rickard Jonsson)
Organization: Royal Institute of Technology, Stockholm, Sweden
Originator: d88-rjo@dront.nada.kth.se

Does anyone know if MS Word 2.0 supports the StdExecute protocol,
or just the StdFileEditing protocol. I would like to send OleExecute
commands to Word but have failed so far. Do I have to set up a separate
DDE link to send my commands?

All suggestions, hints, words of advice or solutions are very much
appreciated.
/Rick
Newsgroups: comp.os.ms-windows.programmer.misc
From: blakeco@microsoft.com (Blake Coverett)
Subject: Re: NEED C Code for reboot
Date: 03 Oct 92 21:48:30 GMT
Organization: Microsoft Canada Inc.

In article <Bv4oxA.Au0@hkuxb.hku.hk> h8915726@hkuxb.hku.hk (Chris) writes:
>tibor@server.uwindsor.ca (TORONYI TIBOR) writes:

[asking how to force a reboot in C]

>
>Here is a quote from the Programmers FAQ, available in wuarchive /mirrors/msdos/info/faqp.zip

[a good example of how to reboot from DOS deleted]

To accomplish this from inside Windows just use ExitWindows(EW_REBOOTSYSTEM,0)
instead.

-Blake
-- 
#include <std/disclaimer.h>                       blakeco@microsoft.com
Mail Flames, Post Apologies.                      ...!uunet!microsoft!blakeco
Newsgroups: comp.os.ms-windows.programmer.misc
From: mbk@netcom.com (Miles Kehoe)
Subject: Where is the Win Doc CDROM?
Summary: Anyone know where the Win CD-ROM is??
Keywords: CDROM WINDOWS
Organization: Netcom - Online Communication Services  (408 241-9760 guest) 
Date: Fri, 2 Oct 1992 17:12:53 GMT

A few months back I signed up (and was billed) for a product
due out in September - described as 'all the windows docs and
many application notes and books written by Microsoft press
(including Charles Petzold's book) on CD-ROM with a search
engine front end.

Well, it's October. Anyone seen one of these puppies? Any
idea when it's coming? I know it's only $39 plus shipping,
but it IS due.

Miles
From: ra12@prism.gatech.EDU (ADDICKS,RAYMOND C)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: MS C7.0 PWB crashing in Windows
Summary: Microsoft PWB crashes in Window with fault
Keywords: C++ Windows Microsoft
Date: 30 Sep 92 12:43:29 GMT
Distribution: usa
Organization: Georgia Institute of Technology

I have just purchased and installed Microsoft C/C++ 7.0 and when trying to 
work through the simple examples given in the front of the C++ tutorial
the PWB crashes during the compile.

Windows gives the error message that this program (meaning PWB) has violated
system integrity with some unknown fault.  I tried running Dr. Watson, but 
when the crash occurs, Dr. Watson seems to halt or at least it doesn't log
a message.  This doesn't occur each time, but more that 50% of the time.  When
I WAS able to successfully compile the programs, they ran OK.  I was compiling
for DOS exe's.

Has anyone else experienced this?  Any help would be appreciated.

My system configuration follows:

Computer: 80386/40Mhz clone (Magitronics motherboard, AMD 40Mhz cpu)
Video: Oak 067 VGA (tried running both plain VGA and Oak 800x600 driver)
Seagate 105meg IDE Drive: using windows 32 bit disk access, smartdrv 4.0
Running windows in enhanced mode, appbar as shell, with AfterDark 2.0 loaded.

Thank in advance for any help.  Reply by e-mail to ra12@prism.gatech.edu.

Chris Addicks

-- 
Chris Addicks
Georgia Institute of Technology, Atlanta Georgia, 30332
uucp:	  ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!ra12
Internet: ra12@prism.gatech.edu
Newsgroups: comp.os.ms-windows.programmer.misc
From: jkf@Franz.COM (Sean Foderaro)
Subject: Re: Windows trivia
Organization: Franz Inc., Berkeley, CA
Date: Mon, 28 Sep 1992 18:17:34 GMT


>> Does anyone know if Windows was written in C?

 I've never seen the source but it certainly seems that the majority
of code is written in C.


>> Also, someone told me that Windows calls followed Pascal conventions
>> and someone else said they followed C conventions.

 All windows external functions use the Pascal calling conventions.  In fact 
the defintion of a windows api function (from windows.h ) is the following

#define WINAPI              _far _pascal

 However as a C programmer you don't really care which convention it uses,
you just include windows.h and the compiler generates the correct calling 
sequence for you.

-sean
Newsgroups: comp.os.ms-windows.programmer.misc
From: yyu@tera.cs.umn.edu (Yi-Ju Yu)
Subject: DIB bitmap files with 256 colors
Organization: University of Minnesota, Minneapolis, CSci dept.
Distribution: usa
Date: Fri, 2 Oct 1992 00:55:35 GMT

Newsgroups: comp.os.ms-windows.programmer.misc
From: jkf@Franz.COM (Sean Foderaro)
Subject: GlobalAlloc automatically freed?
Organization: Franz Inc., Berkeley, CA
Date: Tue, 6 Oct 1992 16:31:32 GMT

 If I GlobalAlloc some space, is that space automatically freed when my 
application ends?