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

Search:

Type: Posts; User: paradoxresolved

Page 1 of 28 1 2 3 4

Search: Search took 0.17 seconds.

  1. OpenGL) MSAA FBO with depth -> not working

    Hello all,

    I'm trying to get an MSAA FBO to output an antialiased scene, but I cannot get the depth component to work. Without the depth test, the entire thing is useless. :(

    Here is my code....
  2. Re: VK_SNAPSHOT and Surface Pro 2 Windows 10

    Sorry for the delay. I'm a medical intern, so my time is shot.

    Here is how I detect the VK_SNAPSHOT message:



    LRESULT CALLBACK MainWindowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM...
  3. Re: VK_SNAPSHOT and Surface Pro 2 Windows 10

    In debug mode, I place a breakpoint just after that message should be caught.
  4. Re: VK_SNAPSHOT and Surface Pro 2 Windows 10

    As far as I can tell, the VK_SHAPSHOT message is not sent to my code at all. You have to press the Windows key and the volume down button simultaneously to take a snapshot. Unfortunately, there is...
  5. VK_SNAPSHOT and Surface Pro 2 Windows 10

    Hello all,

    I have a project that I've been working on that captures the VK_SNAPSHOT keycode and then executes the necessary behavior to record a screenshot. I transferred the Visual Studio 2013...
  6. Replies
    5
    Views
    1,585

    Re: Crash on vector::back()

    So I looked into this an have no idea what to do. Apart from understanding that CRT is a C Run Time library that helps with initializing static variables, I have no idea where to go from here. I...
  7. Replies
    5
    Views
    1,585

    Re: Crash on vector::back()

    No, that can't be it. I just noticed that this occurs within a function that is inside the same compilation unit. The next possibility is that I'm getting a "LNK4210: .CRT section exists; there may...
  8. Replies
    5
    Views
    1,585

    Re: Crash on vector::back()

    Yeah. It was previously part of a different project and worked fine. Then I chopped the project into a series of smaller ones, creating individual lib's. The static list landed in a separate lib,...
  9. Replies
    5
    Views
    1,585

    Crash on vector::back()

    I have a strange problem that I'm wondering if someone can help me with. I have the following bit of code:


    ...
    std::string new_text;
    Database::Static_Text_List.push_back(new_text);...
  10. Replies
    3
    Views
    11,478

    Re: /ZI and /GL incompatible?

    Ok. What does "Enables whole program optimization" mean? (The option /GL)
  11. Replies
    3
    Views
    11,478

    /ZI and /GL incompatible?

    I recently created an empty project, switched it from an .exe to an .lib project, then populated it with previously written .h and .cpp files. In release mode all is well. In debug mode, I get this...
  12. Combining header files when creating static library

    Though I've been coding a long time, I've never explored creating static libraries and dlls. I'm currently learning how to create static libraries. As I understand static libraries, a single lib...
  13. Re: Strange issue with shared_ptr in debug mode

    That's the part that confuses me...

    When I set it to Use Standard Windows Library, I still get the same error:

    "WINDOWS.S already included. MFC apps should not #include <windows.h>"

    Why...
  14. Re: Strange issue with shared_ptr in debug mode

    I'm using VS 2013, and though these instructions still work I do not see the option to turn off MFC. I see:
    Use MFC in a Static Library
    Use MFC in a Shared DLL
    Use Standard Windows Library

    It...
  15. Re: Strange issue with shared_ptr in debug mode

    I seemed to work if I included afx.h in a header file that each cpp file gets included, but not if I included afx.h directly into each cpp file.

    At any rate it solved the problem, but only...
  16. Strange issue with shared_ptr in debug mode

    I'm using shared_ptr in a variety of locations in a project I'm developing. It works without hiccup in release mode, but gives me all kinds of grief in debug mode.

    At first, I get "'DEBUG_NEW':...
  17. Replies
    1
    Views
    571

    class type macro

    Is it possible to detect the type of class that a statement is in during compile time? For example:



    class foo
    {
    ...
    NIFTY_CLASS_TYPE_MACRO // Becomes foo
    ...
    };
  18. Replies
    1
    Views
    454

    Strange order of operations bug

    Hello all,

    I'm experiencing a strange bug that I've never run into before. I have five lines of code, such as this pseudocode:



    Loop
    {
    1) int temp1 = 0;
    2) int temp2 = 0;
  19. Replies
    3
    Views
    5,917

    Sending email using C++

    I am experimenting with sending email directly from an .exe created by Visual Studio 2010, using C++. I've taken some code originally posted by Andreas Masur (with minor modifications) as a starting...
  20. Re: Iterating through web browser's controls

    Ok. Thanks guys. I'll have to look into those possibilities.
  21. Re: Iterating through web browser's controls

    Spy++ didn't show any child windows in the browser, which is probably why my code didn't work. Is there any other way to manipulate the controls in a browser, such as text inputs, buttons and so...
  22. Iterating through web browser's controls

    Hello all,

    I'm curious if there is a way to iterate through the controls on a webpage. For instance, I tried EnumChildWindows using the parent window of the browser, but I haven't had any luck -...
  23. Re: select in one thread, closesocket in another thread

    Fair enough. :) It just seemed like an almost identical question. Thanks for your help! :)
  24. Re: select in one thread, closesocket in another thread

    Would the situation be similar with connect() and closesocket() . . . specifically: if one thread closes a socket that another thread is attempting a connect() on, does the second thread continue to...
  25. Replies
    1
    Views
    413

    Thread Lock conundrum

    Suppose thread 1 creates a lock dynamically (but does not lock it). Then, suppose Thread 2 locks the lock, then goes out of existence. Will thread 1 be able to delete the lock since it was left...
Results 1 to 25 of 677
Page 1 of 28 1 2 3 4





Click Here to Expand Forum to Full Width

Featured