Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 18-05-2005, 10:17 PM   #1 (permalink)
In The Zone
 
bharat_r's Avatar
 
Join Date: Mar 2004
Location: Chennai
Posts: 470
Default DOS problems


When I execute any program which was made using C or C++ i get this error messgae & it is closed immediatly.



what is wrong?
the screen above shows a program to give the sum & product of 2 nos.
But it is closed immediatly & displaying athe message.
bharat_r is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 18-05-2005, 11:04 PM   #2 (permalink)
In The Zone
 
bharat_r's Avatar
 
Join Date: Mar 2004
Location: Chennai
Posts: 470
Default

An extended memory manager is already installed.
XMS driver not installed

Can someone solve this,I can't work on C++ unless this problem is solved.
bharat_r is offline  
Old 19-05-2005, 12:43 AM   #3 (permalink)
In The Zone
 
sms_solver's Avatar
 
Join Date: Jan 2004
Location: somewhere
Posts: 420
Default

it seems that u are running your program from XP. Try to run in pure old DOS. make dos bootable CD, and try to run from there.
__________________
[ॐ एसएमएस॰सोल्भर ॐ]
sms_solver is offline  
Old 19-05-2005, 01:10 AM   #4 (permalink)
QA Juggler
 
saROMan's Avatar
 
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
Default

XMS driver not installed

This error may be caused by a fault in the computer's external cache controller or by bad or mismatched memory chips on the external cache (generally 64, 128, or 256K cache SRAM). If disabling the external cache does not correct this problem, there may be a problem with the motherboard at the current processor speed, A20 handler problems, or bad or mismatched main system RAM chips.

see this How to Troubleshoot Windows Protection Error Messages and This

two of the possible causes of this error is

• If the computer contains a malfunctioning cache or malfunctioning memory.
• If the computer's motherboard is not working properly.

Download Memtest Follow the instructions

let memtest make at least 2 passes. It will not stop itself, you must stop it. If memtest finds any errors, that will confirm your memory is bad.
__________________
8-) सारोमान :!: :!: :!:
saROMan is offline  
Old 19-05-2005, 05:12 PM   #5 (permalink)
In The Zone
 
ferrarif50's Avatar
 
Join Date: May 2004
Posts: 221
Default

U need not have pure dos to run C compiler. I run it from Windows XP itself.

Do the following...it may help!

> Right click on 'TC.EXE' and click properties
> Go to the Memory tab
> Go to the Extended (XMS) Memory section
> Set Total to 0 and check 'Uses HMA'. If it is checked try unchecking it.
> If still does not work, play around with the other memory settings.

Hope this solves ur prob.
__________________
My time machine will take you one hour into the future in only sixty minutes!
ferrarif50 is offline  
Old 20-05-2005, 12:28 AM   #6 (permalink)
In The Zone
 
bharat_r's Avatar
 
Join Date: Mar 2004
Location: Chennai
Posts: 470
Default

@saROMan:Memtest dosen't seem to work too.I get the same error message when I run it.

@ferrarif50:I tried playing around with the memory option.Changed all the avaliable things,but it does not work still.
bharat_r is offline  
Old 20-05-2005, 12:40 AM   #7 (permalink)
In The Zone
 
bharat_r's Avatar
 
Join Date: Mar 2004
Location: Chennai
Posts: 470
Default

Looks like I'll havr to call my service man to check the hardware.

or is there a way I can fix it myself.
bharat_r is offline  
Old 20-05-2005, 07:23 AM   #8 (permalink)
Alpha Geek
 
sidewinder's Avatar
 
Join Date: Jul 2004
Location: West Bengal
Posts: 625
Default

best of luk
__________________
Bombina rocks
sidewinder is offline  
Old 20-05-2005, 07:45 AM   #9 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

go for any dos compatibility emulator software such as there is dosbox for older dos games similarly find one !
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
Old 21-05-2005, 12:17 PM   #10 (permalink)
QA Juggler
 
saROMan's Avatar
 
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
Default

well my suggesion is get a Spare Ram frm ur Frnd ..remove ur existing chips...use the new ram and now run the proggy ..if it works fine means ur Ram is bad ..or the idea of using DOSBox may also work....u can give it a try ..info about Dosbox Here and Download it here
__________________
8-) सारोमान :!: :!: :!:
saROMan is offline  
Old 21-05-2005, 12:20 PM   #11 (permalink)
Human Spambot
 
expertno.1's Avatar
 
Join Date: May 2005
Location: Expert Planet
Posts: 2,480
Default

yeah find it as saroman said

try it a once !
__________________
Off From Digit Forum for some months.....busy
expertno.1 is offline  
Old 21-05-2005, 05:04 PM   #12 (permalink)
Alpha Geek
 
Join Date: May 2004
Location: Mumbai
Posts: 525
Default

Which C compiler do you use?
Must be the dos based borland turbo c ide.
Your code is gettin compiled without any errors n warnings and the problem is that u r unable to run the exe you compiled.Hence there is no need to modify TC.exe.
Suppose you have successfully compiled the hello world program then try going to the compiled exe properties in explorer(ie hello world.exe)and select the compatibility mode option and run the program in the dos/win9x compatibility mode.Also in the msdos mode properities select the option 'Prevent msdos programs from detecting windows'.

Try compiling with the borland cpp commandline utilities.It has all the libraries n more.
Also it is a free download.
Also you can get help from the borland site reading the FAQ s.
Correct me if i am mistaken.
amitsaudy is offline  
Old 21-05-2005, 05:09 PM   #13 (permalink)
QA Juggler
 
saROMan's Avatar
 
Join Date: Aug 2004
Location: format c: /s/u/x
Posts: 801
Default

BTW i have Heard lot about Bloodshed Software - Dev-C++ ....its free ...and GUI based...so why donn u give it a Shot.....just search ur OLD Digit CD's its given many times or Download Here
__________________
8-) सारोमान :!: :!: :!:
saROMan is offline  
Old 21-05-2005, 07:36 PM   #14 (permalink)
In The Zone
 
bharat_r's Avatar
 
Join Date: Mar 2004
Location: Chennai
Posts: 470
Default

I use Turbo C++ 1.01.
The program gets complied without any error.But when I try to run it by pressing CTRL+F9,it gives the XMS deiver error & exits.

I've found a temporary solution for it.I go to command prompt(by typing cmd in run dialog box) & from there I go to by TC folder & run the compiled prog & it works without exiting eventhough it gives the XMS driver error.
bharat_r is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by gohan89
- by abhidev
- by clinton

Advertisement




All times are GMT +5.5. The time now is 06:39 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2