Forgot your password?
Sign in with
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Python questions
View PHP questions
All Message Boards...
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Design and Architecture
Internet of Things
C / C++ / MFC
ATL / WTL / STL
Objective-C and Swift
Hardware & Devices
Hosting and Servers
.NET (Core and Framework)
Site Bugs / Suggestions
Spam and Abuse Watch
The Insider Newsletter
The Daily Build Newsletter
Most Valuable Professionals
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
What is 'CodeProject'?
Ask a Question
Bugs and Suggestions
Article Help Forum
Comments by Robert Inventor (Top 17 by date)
Okay thanks, good thoughts.
I thought about ffmpeg but I can't find good documentation on how to use libavcodec. Plenty about how to use ffmpeg to convert videos from one format to another but that's not what I need.
Just to be clear - since the bottleneck is exporting the video to disk in the first place - I don't need code to convert my exported avi to mp4. I can do that with mencoder, or else I use other programs to convert avi to mp4.
Also - I'm not interested in code to convert exported single frames or exported uncompressed avi. They take about as long to export as the compressed avi.
I'm looking for a way to export directly to some compressed format such as mp4 or avi from my program.
Since avi is just a container format, you can use many different encoders inside of it. And I think some of the modern encoders you can use with avi might work well, but for some reason AVISaveOptions doesn't seem to list them.
It's also commercial software so whatever I use has to be under a suitable license to use with commercial software (shareware). The program is
] and I use it for making videos of the program to upload to youtube, and sometimes users of the program need to make videos of the rhythms also.
Thanks for your help, any other thoughts (or anyone else got any ideas)?
Thanks again, great, it's good to understand how it happened.
I use Windows key + D quite often to show the desktop, so expect it is something to do with that. Haven't used Alt + Space + X to maximize before, that's a new one for me (though do use Alt + space to move a window if it gets accidentally placed outside the monitor, anyway that hasn't happened for some time either) - so it's probably the Windows + D.
I'm impressed :). That solved it. I just deleted them all as I had 100 of them and don't care about Windows 7 forgetting where some of the open dialogs were when last shown.
Any thoughts about why it might have happened? Occasionally I have had to do a hard reboot when Windows stopped responding, wonder if that might be the reason...
Anyway 5 stars for your solution :)
Have done that, thanks!
Thanks, yes that's a good point, no hurry now that I've got 6.0 working, can shop around and see what is available.
Soren, that's okay thanks for your suggestion, and thanks for looking into it for me, learnt from it, and it seemed quite likely at first, when I saw those red errors.
Tried profiling it in Dependency Walker, it stops responding after it loads and successfully hooks IERTUTIL.DLL
Had a go at registering gpsvc.dll in case that made a difference get "[Window Title]
The module "gpsvc.dll" was loaded but the entry-point DllRegisterServer was not found.
Make sure that "gpsvc.dll" is a valid DLL or OCX file and then try again."
Rather suspect this isn't the issue as seems unlikely that MSVC just crashing mid edit of a resource file would make any difference to these dlls or whether they are registered or not. But maybe it could what do I know... Interested to hear your thoughts on it!
And gpsvc.dll is in the c:\Windows\System32 folder. So don't know why dependency walker can't find it.
I've found the Ieshims.dll on my computer following these instructions here: http://social.technet.microsoft.com/Forums/en-US/w7itproinstall/thread/8a751f65-ade9-4b8b-a3d3-c720ccbd3d2c/ - it is in my C:\Program Files\Internet Explorer
Sorry don't seem to have Debugging tools for Windows installed. I wonder if it is worth installing it to help fix this? Seems you can only get it as part of the sdk with the default to download the entire sdk for Windows 8 which I don't need right now. Tried to click on "stand alone" in the Microsoft page for it - but it just took me to the sdk page.
I can right click to create a dump in task manager - but that won't work here because the process instantly disappears from the task list. BTW it no longer does the access violation message just the 0xe06d7363 one.
BTW thanks everyone for your help trying to solve this for me :)
Yes - well I'm going to start on a new program next year and maybe will try some completely different language and approach especially as I want it to be multi-platform to also run on Mac and Linux, so C won't do for that!
Never really liked the look of C++, somehow, (for myself) although not coded in it much. Do like the low level C language. I've been coding on and off since the days of the big main frame computers with punched cards so that might be an influence, don't mind long complicated routines - and lots of low level stuff in them.
While wrapping all that stuff up in a few short sentences I find unintuitive, just not used to thinking like that, find it confusing - you sort of feel you don't really know what is going on somehow, so much of it is handled "behind the scenes".
But who knows maybe I'd get on okay with a really well designed high level language, C++ especially in Windows I gather is a bit of a kludge though works well for many people.
I got the local variables sorted out here for Visual Studio 2010 - so that's okay. For some reason when I first installed it I couldn't even show them in a watch window and didn't see them if I hovered the mouse over a variable - only saw the ones you get automatically as locals very local to whatever the code is in - which wasn't much use. Sorted that out eventually just hope don't get an issue like that with 2005.
Yes I'm sure it compiles fine, but the debugger is limited with no break on data, and also no resource editor in the free version which I miss. Presumably those would be present in the standard version... Can work around the lack of a full listing of all the routines if that's the only thing that it doesn't have, probably will get used to other ways of navigating through the code.
Might get the 2005 from ebay ... it is quite a bargain at that price, and an amount I can find, if it can improve the programs at that price, or speed up productivity, then it is worth doing, same as I use the 2010 at present as an extra tool I use from time to time, would probably continue to use 6.0 if I can get it going again as I do find it really easy to use, just doesn't get in the way, used to it, it fits into the flow of my programming, know how to use it and when I want to code something then can just go ahead and do it while with 2010 I have to keep thinking about how best to do things.
Okay ran Dependency Walker and it shows a couple of errors in red
Same error for both|: "Error opening file. The system cannot find the file specified(2)."
Also two warnings in red:
Warning: At least one delay-load dependency module was not found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
Does this mean anything to you?
Yes I do get warnings like that - but fixed them already - as I run it from time to time in Visual Studio Express mainly for that reason. Also if I get an integer divide by 0, I run it in Visual Studio Express because it breaks on the line where the bug happens while MSVC 6 instead for some reason breaks on the calling routine which just tells you which routine it happened in - those are the main reasons I ococasionally use 2010.
That is a bargain for the standard edition, deals with the expense issue, it is an amount I can find if I need to.
Yes some of the things might be just due to using a very limited version of the newer compiler. It's a pity you can't take the full version for a test drive to try it out. Basically the main things I'm missing are - integrated resource editor that lets you drag / drop to arrange the controls - and the debug break when data changes. What is the resource editor like in Visual Studio 2005?
One minor irritation is - in the drop list of routines that appear at the top of the source code - in Visual Studio 6.0 you have a list of all the routines throughout your project - which with C code is a great feature.
Can see that in C++ projects you might want to see the routines just for the current file, but it is really tedious in a big C code project, you have to keep searching for the routines by name. I'm used to typing the first few letters of the name of the routine there as a quick way to jump to it instantly. Also a neat feature in 6.0 is that as you type it filters the list to the routines that start with those letters. 2010 doesn't do that it just shows the full list all the time and just the routines for the current file. Again the 6.0 way of doing it works much better for a large C code project.
Is there any way to show a list of all the routines used throughout your project in a single list in Visual Studio 2005? And can you show a list that gets filtered to the routines that start with the letters you type?
This is something I do fairly often, I suppose you could get used to searching for the routine instead each time - but especially when you have forgotten its name but know how the name starts, a search will turn up not just the routine you want but variables with names that start the same way and so on- it just takes like a minute or two each time instead of seconds.
At that price I could give Visual Studio 2005 a try indeed, big difference between £50 (as it is after postage in the UK) and £500. That £50 I can pay for with a single week of income from my program.
Also - can you watch local variables in Visual Studio 2005? That was a major issue in Visual Studio 2010 until I found a way to fix it (not sure now how) that you simply couldn't watch local variables at all - which created a bad first impression of the product, perhaps some update or fix or something can't remember now. If they can ship a compiler which doesn't let you watch local variables then you wonder how careful they are in the way they coded it.
The other main minor irritation is that I don't need to be able to collapse the routines, and they keep collapsing accidentally when I click in the wrong place - but that is the sort of thing that is just a matter of getting used to the UI, so not a big deal.
My code builds fine in Visual Studio 2010 express and I do use that because it picks up a few syntax and runtime errors - but is so limited - no resource editor, can't break on data, and various other issues (the update to the full product is outside my budget right now) - and I find it clunky to use.
I think - the thing is I'm a C programmer, don't do any programming in C++ except for a few things that can only be done in C++ such as finding the special folder locations (say). The whole program is written in C and I work at a pretty low level. So that's probably why Visual C++ 6 works great for me, and the improvements in Visual Studio 2003 + that you talk about - expect those are mainly for C++ programmers, and for me, just adds more clutter and useless stuff (for me) to the interface and makes it harder to use. There is very little in the new interface that is actually of much use to me sadly.
If I have to, will be able to get by - debug some of the time in Visual Studio Express, sometimes in XP Mode, sometimes on my netbook (slow) - and together will be able to do the same things as before but it will be slower and clumsy for me.
Just remembered a bit more (after looking at my notes for the last debug session). I was working with the debugger. Did a simple edit of the resource file with the resource editor. MSVC then crashed. It does that occasionally though not often. I started it up again and nothing happened. Also tried it with a backup of my project in case the current project was causing the crash and that also didn't work. That's when I tried the reboot. So - beginning to wonder if MSVC itself did something when it crashed that caused the issue, and - damaged registry is maybe my top suspicion now, or something like that?? Any thoughts?
Thanks, actually I'm doing that already. I run it as administrator already. The thing is though - I can't start up msdev at all now. I can't even get to the blank page with no project loaded. When I click to run it, then nothing happens.
Also - the problem is with msdev.exe itself - it won't run any more. My own software is running just fine in Windows 7, no problems compiling up to date Windows 7 code in MSVC 6.0.
In detail - I get the usual message when I try to run Visual Studio 6.0 "Do you want the following program from an unknown publisher to make changes to your computer". That's just because I elevated its privileges to administrator and of course as legacy software not signed by microsoft.
The process msdev.exe briefly appears in task manager then disappears then if I go to the error log I get the error message posted above.
And - it was working fine until earlier today, I was using it to debug my programs no issues at all, well minor issues but I had sorted those all out long ago - things like the paths and setting the application to always run with admin privileges etc and it was working fine. Stopped working. Did a reboot in hope that would fix it but didn't.
I also tried running it under compatibility mode for XP to see if that made any difference - doesn't work either though it works in "Windows XP Mode" - the Virtual PC thing.
Trying to think if there was anything I did or that happened that could explain it but can't think of anything. Did wonder about a corrupt registry though. Anyone know where the registry settings are kept for MSVC 6.0, might it be worth removing those and trying again?
It is so old that you can just copy the folder to a new computer and it works just fine there - I lost the CD for it long ago while traveling so can no longer install from CD so have had to do that when I transfer it to a new computer but it works okay.
I'm already using the Microsoft Visual Studio 2010 Express.
But much prefer Visual 6.0 - there was a major change in the interface after 6.0 which is partly why many still use it - the last version of the older interface (which I find much easier to use).
It's also the expense - £500 to update to the latest version of the full product - which equates to about 10 weeks of income from the software I develop. I have just finished building a house and have very little left in the bank after the build - and with my current low levels of income, would need to save up for maybe six months or more before I'd feel comfortable about spending that much on the compiler, as I have other expenses to find as well.
Especially also since it was working just fine until today. If worse comes to worse will continue to use it in XP mode, and on my netbook too, but - what could it be?
Anyone got any ideas why it might suddenly stop working like this? I wondered if it meant that some of the core dlls of Windows have changed - but why? I hadn't even just installed a program or anything - did install some programs a couple of days ago but not today. Automatic Windows updates today but they had only downloaded, not yet installed when the error first occurred, and after uninstalling them all again it is still there. System File Checker shows no problems at all. The last Windows update was on the 13th two days ago.
I also wondered if Norton might be preventing it from running, as it sometimes silently prevents programs from running and of course does silent updates and had an update today - but nothing shows up in its event history.
What could have changed? Anything else I can check? Anyone got any ideas?
Last Updated 1 Jan 1900
All Rights Reserved.