Answered by:
divide by zero error

Question
-
I have intalled VS2005 and work perfectly for a some time.
Now when I try to run a MFC application or a win32 app I m getting an exception saying
'te.exe': Loaded 'H:\WINDOWS\system32\msvcrt.dll', No symbols loaded.
'te.exe': Loaded 'H:\WINDOWS\system32\MSCTF.dll', No symbols loaded.
'te.exe': Loaded 'H:\WINDOWS\system32\advapi32.dll', No symbols loaded.
'te.exe': Loaded 'H:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
'te.exe': Loaded 'H:\WINDOWS\system32\amvo0.dll', Binary was not built with debug information.
First-chance exception at 0x10016d66 in te.exe: 0xC0000005: Access violation writing location 0x00000000.
First-chance exception at 0x10015bb9 in te.exe: 0xC0000094: Integer division by zero.
First-chance exception at 0x8caf1379 in te.exe: 0xC0000005: Access violation reading location 0x8caf1379.
First-chance exception at 0x10015d12 in te.exe: 0xC0000005: Access violation writing location 0x00000000.
'te.exe': Unloaded 'H:\WINDOWS\system32\amvo0.dll'
'te.exe': Loaded 'H:\WINDOWS\system32\amvo0.dll', Binary was not built with debug information.
First-chance exception at 0x10016d66 in te.exe: 0xC0000005: Access violation writing location 0x00000000.
First-chance exception at 0x10015bb9 in te.exe: 0xC0000094: Integer division by zero.
The program '[4944] te.exe: Native' has exited with code 0 (0x0).
Then it goes to assembly code page..
I couldn't find any error in my code.Even if I run a empty project this exception is occured.
I tried to uninstall the VS setup and reinstall it.But it doesn't solve my problem
I m using windows XP
Please help
Thanks in advance .Saturday, January 19, 2008 12:14 AM
Answers
-
Scan your computer with your favorite anti-virus software, amvo0.dll is likely the cause to the exception, but applications build with code generated by VC++ App Wizard never has dependency to amvo0.dll, so it must be manually added or brute-forcely injected to your process.
good luck
ricoMonday, January 21, 2008 7:41 AM -
Yeah the problem now has been solved.
Problem occured due to Trojan program. (Trojan-PSW.win32.Onlinegames.pcf) amvo0.dll and amvo.exe
This program(amvo0.dll) run as windows startup program and linked with the VS2005 libraries @ runtime.
So if anyone faced this problem just update your antivirus software and make a full system scan.
regards
Thil
Tuesday, January 22, 2008 7:18 AM
All replies
-
Scan your computer with your favorite anti-virus software, amvo0.dll is likely the cause to the exception, but applications build with code generated by VC++ App Wizard never has dependency to amvo0.dll, so it must be manually added or brute-forcely injected to your process.
good luck
ricoMonday, January 21, 2008 7:41 AM -
I assume that everything Rico (Bite Qiu - MSFT) says is accurate and useful but other than that the error messages might not be a problem. It is normal to get First-chance exceptions during debugging so if the only indication of a problem is First-chance exceptions then you jprobably can ignore them.
Many beginners think that First-chance exceptions are a problem and ask about them assuming they are a problem. If you search for previous answers you will find many.
Monday, January 21, 2008 11:17 PM -
Yeah the problem now has been solved.
Problem occured due to Trojan program. (Trojan-PSW.win32.Onlinegames.pcf) amvo0.dll and amvo.exe
This program(amvo0.dll) run as windows startup program and linked with the VS2005 libraries @ runtime.
So if anyone faced this problem just update your antivirus software and make a full system scan.
regards
Thil
Tuesday, January 22, 2008 7:18 AM -
thil wrote: Yeah the problem now has been solved.
Problem occured due to Trojan program. (Trojan-PSW.win32.Onlinegames.pcf) amvo0.dll and amvo.exe
This program(amvo0.dll) run as windows startup program and linked with the VS2005 libraries @ runtime.
So if anyone faced this problem just update your antivirus software and make a full system scan.
regards
Thil
Saturday, February 9, 2008 5:52 AM