Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: 16-bit app on Windows 98 HELP!  (Read 8514 times)

0 Members and 1 Guest are viewing this topic.

Linux711

    Topic Starter


    Mentor

    Thanked: 59
    • Yes
    • Programming Blog
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
16-bit app on Windows 98 HELP!
« on: April 15, 2008, 04:44:09 PM »
I NEED to run a 16-bit windows program on Windows 98.  I have been using it before on this computer until recently. Every time I run it it says "out of memory" but I have about 50 MB free (I know thats not much it is an old computer).  This program that I am using uses only about 2 MB of memory. Why won't it work?
YouTube

"Genius is persistence, not brain power." - Me

"Insomnia is just a byproduct of, "It can't be done"" - LaVolpe

Broni


    Mastermind
  • Kraków my love :)
  • Thanked: 614
    • Computer Help Forum
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 8
Re: 16-bit app on Windows 98 HELP!
« Reply #1 on: April 15, 2008, 06:53:59 PM »
Quote
I have about 50 MB free
I'm assuming, this is free space on your hard drive?
What is the whole hard drive size?

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: 16-bit app on Windows 98 HELP!
« Reply #2 on: April 15, 2008, 07:08:58 PM »
Some details would be helpful...
What Program ?
Did it work previously ?

Post a copy of your autoexec.bat and config.sys and we'll have a looksee...

P.S. I believe you're confusing free space with memory...they are different.
Some 16 bit programs needed tweaking to recognise extended memory in Windows which is another reason details would be good...
" Anyone who goes to a psychiatrist should have his head examined. "

Linux711

    Topic Starter


    Mentor

    Thanked: 59
    • Yes
    • Programming Blog
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
Re: 16-bit app on Windows 98 HELP!
« Reply #3 on: April 15, 2008, 08:27:45 PM »
When I say I have 50 MB free memory, I mean RAM. The hard drive space is not the problem. And Yes, it has worked previously.

The program I am trying to run is something I made, but I am SURE that the problem is not with my code because I have used it a lot of times before this happened.

Here is the config.sys:
Code: [Select]
DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS
DOS=HIGH,UMB,AUTO
FILESHIGH=80
BUFFERSHIGH=40,4
DEVICEHIGH=C:\WINDOWS\SYSTEM\CPQIDECD.SYS /D:IDECD001
SHELL=C:\COMMAND.COM /P /E:2048

And here is the autoexec.bat:
Code: [Select]
@IF ERRORLEVEL 1 PAUSE
C:\ESSAUDIO.COM -BLASTER
@ECHO OFF
YouTube

"Genius is persistence, not brain power." - Me

"Insomnia is just a byproduct of, "It can't be done"" - LaVolpe

patio

  • Moderator


  • Genius
  • Maud' Dib
  • Thanked: 1769
    • Yes
  • Experience: Beginner
  • OS: Windows 7
Re: 16-bit app on Windows 98 HELP!
« Reply #4 on: April 15, 2008, 08:57:52 PM »
If it's something you made there's no way we could offer help or guess at what it is without seeing it.
What is this thing you made...or how about some info.
You could have 1 eror in one line of code and  well you get the idea...
" Anyone who goes to a psychiatrist should have his head examined. "

Linux711

    Topic Starter


    Mentor

    Thanked: 59
    • Yes
    • Programming Blog
  • Certifications: List
  • Computer: Specs
  • Experience: Experienced
  • OS: Windows 7
Re: 16-bit app on Windows 98 HELP!
« Reply #5 on: April 15, 2008, 09:47:19 PM »
Here is some info about the program:

The program was made in Visual Basic 3.0. It is a program manager and has icons that will launch a specified program. I use it instead of windows explorer. The program paths and the icon names are stored in an .ini file on drive C. I have used this for about 3 months with no problems and have not changed any of the code since then.

Here is what might have caused the problem:

I installed printer drivers for two new printers an HP LaserJet 1020 and a Epson photo RX620. I then installed firefox. The computer crashed wile using firefox so I turned it off manually. After all of this has been uninstalled my program still gives an out of memory error.

I have used some tools to monitor the memory but they all say there is about 50 MB free. That doesn't make sense because my program doesn't use that much.
YouTube

"Genius is persistence, not brain power." - Me

"Insomnia is just a byproduct of, "It can't be done"" - LaVolpe