MingW / Dev C++

Miscellaneous Forums/General Discussion/MingW / Dev C++

Has anybody had any experience using Visual Studio and MingW/Dev C++?

After looking through my code line by line I couldn't see anything wrong at all - I just added another linked list structure.

The problem is running the program using Visual Studio I get the error message 'my program has encountered a problem and needs to close'. Where as running the same code using Dev C++ the program works fine.

Is the Microsoft Compiler complaining where it shouldn't? Anyone had similar problems?

What does the error say in debug mode?

You shold see something like this:
-------------------Configuration: 3DTest - Win32 Release--------------------
Compiling...
3DTest.cpp
E:\Documents and Settings\Administrator\My Documents\Projects\Win32Projects\3DCubeGalleryRegister_MultiMonitor\3DTest.cpp(701) : error C2065: 'Regg' : undeclared identifier
E:\Documents and Settings\Administrator\My Documents\Projects\Win32Projects\3DCubeGalleryRegister_MultiMonitor\3DTest.cpp(701) : error C2228: left of '.Close' must have class/struct/union type
Error executing cl.exe.
Creating browse info file...

3DCubeGallery.scr - 2 error(s), 0 warning(s)


Strange. Debug mode on Visual C++ does throw-up an error which is unrelated to the new code and again using Dev C++ no error code even in debug mode.

However the problem seems to go away when the linked lists are deleted each loop. This is required with the first linked list as the data changes. But the 2nd linked list should continually be added too throughout the program - so it seems like a bug in my code afterall.