Tuesday, July 28, 2009

While porting a vc++ code to vc++.net 2003, an error showing that debug assertion failed in wingd.cpp?

It simply means that your assertion failed and that the line it reports (or a few lines above that) has caused it to fail. This is probably because you are either calling a function that no longer exists, does not exist in .NET 2003 or is being called with bad or wrong number of arguments. I would set a break point a few lines above it and step through execution until you hit the error. That will tell you.





Just remember that vc++ and moving to .NET can be a pretty big leap since .NET encapsulates a lot of the old vc++ functionality behind the idea of "managed code".





Hope this helps!


No comments:

Post a Comment