• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

C/C++ compilation and run time headaches

"code" in parenthesis intentionally.

The good news is that there is a project file (.vcproj) so loading it into Visual Studio .NET (2002). it compiles and links with only one easily fixable snag.

I am having two problems. The first I think is a post processing issue since the program actually compiles and links properly. In a window called Task List, I get this error:
Status error PRJ0019: A tool returned an error code: "Registering ActiveX Control..."

So, what do I do with that?


The second problem is a debug assertion if I actually try running the executable. I'm just starting to dig on that, so I have no questions (yet). But if you have advice on how to track down "Debug Assertion Failed!" dialogs, please let me know.
 
On the first problem, that looks like an issue with the configuration of Visual Studio, not the project per se.

Lots of Google hits on that code, by the way. So you're not the only one 🙂. Looks like one issue is when you're on Vista and not running VS as administrator. I'm sure there are other causes as well.
 
I haven't used VS.NET 200, but in later versions you have options to register your compiled assemblies with COM Interop from the project build settings menu.

Otherwise you need to use regasm.exe to register the assemblies for COM access with a script or manually which sounds like someone might be trying to do. regasm makes changes to the registry so it would need permissions similar to an installer which seems to be what Markbnj was leading at. On Vista I know VS.NET 2005 needs to be run with Admin rights, but not VS.NET 2008.
 
Back
Top