I have a program that works on Windows XP but when I try to run it on Windows 7 I get this error.

Debug Assertion Failed!

File: c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\atlcomcli.h
Line: 148

Expression: p!=0


I've googled for hours.

have you tried it in Linux? Or do you only use Windows 7 and XP?

Only those 2. I will not attempt on Linux.

Any ideas guys?

Yes: Look on line 148 of the file c:\program files\microsoft visual studio .net 2003\vc7\atlmfc\include\atlcomcli.h, and there you will find a variable named p, probably a pointer, that is zero when it shouldn't be.

Now figure out how that variable got that way and fix it. :-)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.