Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / April 2006

Tip: Looking for answers? Try searching our database.

compiler errors

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Z.K. - 11 Apr 2006 20:57 GMT
I am new to the Visual Studio.net platform and I was trying to compile a
program that I downloaded from the net and keep getting a ton of errors.  It
looks like it can't find some of the libraries: The list of errors is below:

'Accelerometer.exe': Loaded
'C:\Downloads\Phidgets\Accelerometer\Accelerometer\Debug\Accelerometer.exe',
Symbols loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\phidget20.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\KERNEL32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\hid.dll', Cannot find or open
a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ADVAPI32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\rpcrt4.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\SETUPAPI.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\msvcrt.dll', No symbols
loaded.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\GDI32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USER32.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\USERENV.DLL', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2_32.dll', Cannot find or
open a required DBG file.

'Accelerometer.exe': Loaded 'C:\WINNT\system32\ws2help.dll', Cannot find or
open a required DBG file.

Debugger:: An unhandled non-continuable exception was thrown during process
load

The program '[320] Accelerometer.e: Native' has exited with code 128 (0x80).

What is a DBG File and how do I set up the compiler to so I won't get these
errors?

   Thanks,

           Z.K.
Arnaud Debaene - 11 Apr 2006 22:11 GMT
> I am new to the Visual Studio.net platform and I was trying to
> compile a program that I downloaded from the net and keep getting a
[quoted text clipped - 7 lines]
> 'Accelerometer.exe': Loaded 'C:\WINNT\system32\NTDLL.DLL', Cannot
> find or open a required DBG file.

<snip>
> The program '[320] Accelerometer.e: Native' has exited with code 128
> (0x80).
>
> What is a DBG File and how do I set up the compiler to so I won't get
> these errors?

The DBG file (which most often are pdb files nowadays) contains the
debugging information (or symbols) necessary to do source code step-by-step
debugging (eg, given the compiled binary, go back to the sources, with line
numbers and all). The debugger is just warning you that it can't find the
symbols for the OS libraries that are loaded in your process. Since it is
highly unlikely that the error comes from the OS, you can ignore those
informations for now.

Now, according to the output you gave, there is no error in your program! It
just exits with code 0x80 when it has done it's job! What it means exactly
depends on the program itself : 0x80 is probably an error code corresponding
to a specific logical error, but it is a design from the program writer, so
we can't say anything for sure wihout the sources.

Your best bet is to put a breakpoint at the beginning of the "main"
function, laucnh the program under debugger (F5), and then run the process
step-by-step under the debugger to understand what happens.

Since it seems that your program is native C++, further questions are more
likely to get answers in microsoft.public.vc.language

Arnaud
MVP - VC
Marcus Heege - 12 Apr 2006 10:31 GMT
These are not build time errors but debug time messages.

.dbg files are files with debug symbols. They are used by the debugger to
provide better information at debug-time. If you don't debug too deep into
the system it is likely ok for you to live without debug symbols for the
system DLLs. If you really need them, you can install them explicitly or on
demand from a so called symbol server.

Marcus Heege

>I am new to the Visual Studio.net platform and I was trying to compile a
> program that I downloaded from the net and keep getting a ton of errors.
[quoted text clipped - 65 lines]
>
>            Z.K.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.