Search:
Type: Posts; User: Dan203
Search:
Search took 0.07 seconds.
-
I figured it out. I had used this automated program that goes through the code and replaces plain strings with _T() and replaces char with TCHAR, etc.... A bunch of the files had a section like...
-
I'm doing that. I just can't understand why a simple ASSERT like...
ASSERT(pObject)
is failing.
In fact it looks like every single ASSERT in the whole program is failing.
Edit:
-
I can't even get the code to compile so not sure how I could use depends.
I'm having other strange issues too. There are a bunch of places where calling new is also throwing a compile error. Could...
-
I'm not explicitly linking to MFC anywhere if that's what you mean. I'm just using the MFC as a shared DLL option on the general page.
-
I have a huge program that started it's life 15 years ago as a VS6 project under Windows 9.x. It's always been a multi-byte program. We've decided to finally convert to unicode and I'm attempting the...
-
January 30th, 2017, 11:58 AM
-
January 26th, 2017, 03:11 AM
Yes. We actually have one. But it doesn't look right in newer versions of Windows. It looks old and out of place. We'd rather have one that mimics the look of the IFileDialog but allows for better...
-
January 25th, 2017, 06:10 PM
We have a commercial video editor written in MFC/C++. We want to do some custom stuff with the Save dialog that simply isn't possible with the new IFileDialog built in to Windows Vista+ and the old...
-
Yeah after thinking about this more I'm not sure the minor benefit this provides over the import/export we already have is really worth the effort. I added this to my ToDo list before we had the...
-
INI files are harder to edit by hand and less structured. If I'm going to write a text file anyway XML just seems more modern and easier to read/edit if needed.
I'm a little concerned about the...
-
Perhaps, but obviously I'm not the only one who wants this functionality as it appears to be pretty common for .NET applications to use XML files for settings rather then the registry.
If anyone...
-
Our program is a complex video editing/processing app with a TON of settings. When diagnosing an issue it's hard to tell if it's a bad setting or an actual bug causing the issue. Usually our first...
-
Does anyone know of an MFC class that overloads the CWinApp WriteProfileXXX/GetProfileXXX functions so that settings are stored in XML rather then the registry? I know there is a way to use an INI...
-
March 4th, 2015, 05:09 PM
The control was already subclassed, as we offer skinning and everything is custom drawn, but I use the MFC base classes because it makes it easier to lay everything out in the dialog editor and...
-
March 4th, 2015, 04:41 PM
We have a video editing app called VideoReDo. The static control in question is the one displaying the current timecode. Double clicking on it brings up a dialog that allows you to jump to any time...
-
March 4th, 2015, 04:10 PM
You're right I was using STN_DBLCLICK in the subclass, which is called after the copy. If I use WM_LBUTTONDBLCLK instead then I can catch it before the copy happens.
Still think this is stupid. If...
-
March 4th, 2015, 06:03 AM
Also subclassing the control and handling the double click myself does not work because the copy happens before the double click handler is called. I verified by adding a break point to the top of...
-
March 4th, 2015, 05:57 AM
After some research I narrowed it down to the manifest. If you don't include a manifest it doesn't do it, but if you do then it does. However without the manifest the controls all look like crap, so...
-
March 3rd, 2015, 06:21 PM
OK I just discovered something weird. If you set the "notify" property of a static control to true then any time you double click on that control it copies the text of the control to the clipboard....
-
I have an app that launches and uses another app via COM. Occasionally the other app will crash unexpectedly which will leave my app hung waiting for a reply that is never coming. Is there any way to...
-
Thanks, but I figured it out.
With slight modification I was able to use the code in this article...
http://www.codeproject.com/Articles/1951/Drag-and-Drop-between-and-within-a-CListCtrl
...
-
April 30th, 2014, 04:18 PM
I have a batch type application with two lists. The top one is the list of files to be processed and the bottom one is the list of the output files. (with some other status info) I would like the...
-
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...
|
Click Here to Expand Forum to Full Width
|