October 21st, 2012 01:03 PM
I'm writing an ActiveX control. In one of the functions I'd like the user to be able to pass me a pointer to a buffer that they created which I can then fill with data and return a success/error...
October 3rd, 2012 03:29 PM
Thanks for the help, but I figured it out. Was nothing to do with COM. My routine was checking to see if the the output file supplied existed and if it did it was deleting it before it actually...
October 2nd, 2012 04:04 PM
I have an app which has a COM interface that other developers can use to access the app and perform basic tasks. One of those tasks is saving a file. I had a request from a user who wants to pass in...
November 30th, 2010 01:22 AM
Thanks everyone for your help. I searched through the ffmpeg source code and stumbled across a function which allows you to redirect it's logging functions to a callback function. With that I was...
November 29th, 2010 01:37 PM
OK so the app I'm running here is an MFC dialog based app, not a console app.
I honestly don't know anything about MinGW, I found some step by step instructions online for building FFmpeg in...
November 27th, 2010 07:15 PM
I have an MFC/C++ program which is linking to the ffmpeg project. I can build the ffmpeg libs/dlls using mingw, but I can't actually debug it or step into it in any way. I'm having trouble with a...
September 27th, 2010 02:26 PM
Is there a way to determine the maximum allowed file size for a selected disc? I work with large video files and I'm getting complaints that when users attempt to save them to a FAT partition the...
April 28th, 2010 02:09 PM
Thanks guys. I got it working using LARGE_INTEGER.
Dan
April 27th, 2010 02:33 PM
I need to send a private message from a control class back to my main window via PostMessage. This message needs to carry a 64bit int value that indicates the current position of the control. (it's a...
March 25th, 2010 01:59 PM
My machine is Win7 but I had some customers complain about this happening in XP as well.
I used...
pathName.Replace(":\\\\", ":\\");
to fix it, that way it'll only get drive paths and not...
March 25th, 2010 01:22 AM
OK I'm having a strange problem with a CFile dialog which allows multiple selections. It's an open dialog. And when the user selects multiple files I use this code to enumerate the files and add...
December 2nd, 2009 07:09 PM
You're right it's not a DLL it's a static library. So I guess I'm SOL.
Oh well back to vs2005 it is. :(
Dan
December 2nd, 2009 05:33 PM
I just installed a fresh copy of Windows 7 and I figured while I was upgrading I might as well take the opportunity to also switch from VS2005 to vs2008. However when I try to build my app I get a...
September 25th, 2009 11:57 AM
You could use something like this...
CComboBox *pWndFilesOfTypeCombo = (CComboBox*)GetParent()->GetDlgItem(cmb1);
int index = pWndFilesOfTypeCombo->GetCurSel();
CString ext;...
September 3rd, 2009 01:58 AM
I work as a developer for a company that currently sells a Windows only video editing application. We've recently been discussing the possibility of porting our program over to Mac. However our...