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

Search:

Type: Posts; User: zspirit

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: Where is '$OutDir' defined in the script in Visual Studio?

    Yes that's where I have been looking. Here is my .vcxproj file and there is no mention of any identifiers which set this paths in project settings.


    <?xml version="1.0" encoding="utf-8"?>...
  2. Where is '$OutDir' defined in the script in Visual Studio?

    I have combined couple of projects into one solution. These projects are converted into VS2010 from older version. The problem is that I want all the projects to spit out the exectuables/dlls into...
  3. How to remove application name from registry

    In a typical MFC application I use SetRegistryKey(_T("My_Company")); to set the root registry entry for my application. The MFC application however creates an entry by the name of executable where it...
  4. Replies
    6
    Views
    496

    Re: How to create MDI child with borders

    I did that but the properties doesn't tell me much. It's style is WS_CHILDWINDOW, WS_VISIBLE, WS_CLIPSIBLINGS, WS_CLIPCHILDREN, I am more after how to create this.
  5. Replies
    6
    Views
    496

    Re: How to create MDI child with borders

    It would seem that it is just a matter of creating smaller view inside the frame and than maybe I can handle no client area messages to further customize but apparently the view automatically...
  6. Replies
    6
    Views
    496

    How to create MDI child with borders

    How can I create MS Word 'print layout' like interface. The attached picture says it all. Basically I want a shaded area around my document just like word so it gives a feel of the 'page'.30813

    I...
  7. Re: debugging library: CXX0017: Error: symbol "X" not found

    I was able to fix this issue. The problem was that the libraries used by executable were in different path than created by library source code. I added library and exe project into same workspace and...
  8. Re: debugging library: CXX0017: Error: symbol "X" not found

    I did make sure the optimization is disabled in Properties >> C/C++ >> Optimization >> Optimization = Disabled (/Od) but I still have this issue. Is there any other place I can turn of optimization?...
  9. debugging library: CXX0017: Error: symbol "X" not found

    I am debugging a library. I can step into the code however the watch window doesn't show the values of any variables. It will display a message in the value field:


    m_pParent CXX0017: Error:...
  10. Code reuse by handling CEdit ON_WM_SETFOCUS handler

    In my application I need to to bring up a keyboard dialog when a user clicks any of the edit boxes in the application. Therefore I have OnSetFocus() implemented in all over the application (dialogs)...
  11. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    Here is a summary: The following should be the solution per available documentation only that it doesn't work at all.


    1 TEXTINCLUDE
    BEGIN
    "resource.h\0"
    END

    2 TEXTINCLUDE
    BEGIN
  12. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    I did that but the biggest problem at hand is that latest active resource file takes ownership of the resource.h and may completely rewrite it. In the project I posted above, since the new .rc file...
  13. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    I just tried to repeat what you did and created a simple (no added code) solution with a main executable project and a dll project in one solution. Than I tried to use Resource Include to link the...
  14. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    Thanks I have already done that and I I go into resource include, it shows correct configuration.

    The biggest problem is now is that rc file creates its own resource.h file in the same folder if I...
  15. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    I try various combinations and letting VS do what it wants. So in main include a single \ works fine but in TEXTINCLUDE clauses under two (\\) are required. At least this issue is resolved but I am...
  16. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    This is not my only worry, the IDE is driving me crazy.

    I have the path in 2nd rc file as:


    #include "..\proj-main\resource.h"

    When I edit it (visual studio check it out from source...
  17. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    Right the path in 2nd resource is different, I did change all instance of resource.h with the new path in 2nd resource. Did you ever had similar issue or it is possible that 2nd resource doesn't...
  18. Replies
    15
    Views
    2,668

    Re: How to decouple resource.h fro. .rc file

    I don't have my own resource.h file, I need to share the main resource.h file in both .rc files. This is necessary because all typical resources like dialogs, menus's IDs are defined in resource.h
    ...
  19. Replies
    15
    Views
    2,668

    How to decouple resource.h fro. .rc file

    I have two .rc files for different languages which includes the same resource.h file. Whenever I am editing one .rc file it takes over the resource.h file and tries to modify it. Since the code in...
  20. Replies
    16
    Views
    2,023

    Re: Is there ASCII equivalent of CStringArray?

    I end up resolving this issue by using just unicode version of CStringArray after all. I liked the CStringArrayUtils namespace approach to extend the function but I am still not sure if I would...
  21. Replies
    3
    Views
    394

    Re: DELETE_EXCEPTION(e) undefined

    This is a little strange that there are going to be to files with same name "stdafx.h" included, the other being in the project folder. I wonder what would have happen if I add the include path for...
  22. Replies
    3
    Views
    394

    DELETE_EXCEPTION(e) undefined

    I amusing DELETE_EXCEPTION(e) in my code but it gives compiler error:


    error C3861: 'DELETE_EXCEPTION': identifier not found

    It is originally used in MFC in CArhive::ReadString() function

    ...
  23. Re: CString::LoadString() issue in Release build

    My bad! I thought I checked it many time yet release project settings were Multibyte instead of Unicode! that change fixed it.
  24. Re: CString::LoadString() issue in Release build

    Chinese strings are in dll. I see the text fine in Chinese in Visual Studio editor. All the strings/resources are in the single .rc file. Moreover the menus load fine and are correctly displayed in...
  25. CString::LoadString() issue in Release build

    My Unicode project loads the correct strings in debug version (either English or Chinese based on settngs) but in release build it doesn't load the chinese strings. It displays them as questions...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4



HTML5 Development Center

Click Here to Expand Forum to Full Width