| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
assertions in vc++ win32
Hi,
I added the line "assert(0);" to my winmain and i get a linker error (unresolved external '_assert') when compiling with vc++ (Visual Studio .NET 2003). Everithing works fine with bcc 5.5. Why is this happening? |
|
#2
|
|||
|
|||
|
It looks like you did not link all libraries you need.
Have a look at http://msdn.microsoft.com/library/d..._crt_assert.asp Check that you are linking MSVCRT.LIB along with your program (or one of the other C Run-Time Libraries) |
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > assertions in vc++ win32 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|