CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Dan203

Page 1 of 5 1 2 3 4

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    1,999

    Re: Unicode and ASSERT

    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...
  2. Replies
    8
    Views
    1,999

    Re: Unicode and ASSERT

    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:
  3. Replies
    8
    Views
    1,999

    Re: Unicode and ASSERT

    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...
  4. Replies
    8
    Views
    1,999

    Re: Unicode and ASSERT

    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.
  5. Replies
    8
    Views
    1,999

    [RESOLVED] Unicode and ASSERT

    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...
  6. Replies
    6
    Views
    1,233

    Re: Custom Save dialog

    We’re using VS2015
  7. Replies
    6
    Views
    1,233

    Re: Custom Save dialog

    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...
  8. Replies
    6
    Views
    1,233

    Custom Save dialog

    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...
  9. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    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...
  10. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    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...
  11. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    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...
  12. Re: Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of regist

    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...
  13. Overload WriteProfileXXX/GetProfileXXX to store settings in XML instead of registry?

    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...
  14. Replies
    15
    Views
    3,665

    Re: Weird "bug" with CStatic controls

    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...
  15. Replies
    15
    Views
    3,665

    Re: Weird "bug" with CStatic controls

    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...
  16. Replies
    15
    Views
    3,665

    Re: Weird "bug" with CStatic controls

    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...
  17. Replies
    15
    Views
    3,665

    Re: Weird "bug" with CStatic controls

    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...
  18. Replies
    15
    Views
    3,665

    Re: Weird "bug" with CStatic controls

    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...
  19. Replies
    15
    Views
    3,665

    Weird "bug" with CStatic controls

    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....
  20. Replies
    0
    Views
    631

    Detect if COM interface crashes?

    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...
  21. Replies
    2
    Views
    959

    Re: Drag from my app to others?

    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
    ...
  22. Replies
    2
    Views
    959

    Drag from my app to others?

    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...
  23. Replies
    2
    Views
    1,883

    Passing pointer into ActiveX control?

    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...
  24. Replies
    2
    Views
    1,263

    Re: Named pipes and COM

    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...
  25. Replies
    2
    Views
    1,263

    Named pipes and COM

    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...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured