Search:

Type: Posts; User: shrink_tubing

Page 1 of 9 1 2 3 4

Search: Search took 0.02 seconds.

  1. I'll be honest I'm not entirely sure I understand...

    I'll be honest I'm not entirely sure I understand everything you wrote. I do know however that DLL's (which you say are missing sometimes) are linked to at run time (they are not, and are not...
  2. Pointers to pointers and reinterpret cast

    Hi there,

    There's one place in my project where I have to use the reinterpret cast. The compiler will not allow me to use anything else. I imagine if I just have a pointer it's a pointer to a...
  3. Replies
    7
    Views
    747

    It's a window class. You must register a window...

    It's a window class. You must register a window class before you can create a window. The background colour is set using the HBRUSH part, and then the cursor type after that (in your code). IDC_ARROW...
  4. Replies
    7
    Views
    747

    Yes they are.

    Yes they are.
  5. Replies
    7
    Views
    747

    As others have said it's a standard run through...

    As others have said it's a standard run through of a window creation.

    It starts by making a forward declaration of a window message handling function:


    LRESULT CALLBACK...
  6. Great, thanks very much Salem :)

    Great, thanks very much Salem :)
  7. Replies
    0
    Views
    1,609

    Finally got DirectX12 working

    Hi there,

    Well after almost 2 years of learning and coding chaos I actually managed to get this to run using a project I made myself, but with some of the code from my book carefully copied and...
  8. A really stupid question about struct constructors

    Hi there,

    Idk why but this has got me worried. I've had to make a change to a function written by someone else as it won't compile in conformance mode. It was throwing the good old C2102 error...
  9. Brilliant! Thanks very much Salem :) I got some...

    Brilliant! Thanks very much Salem :) I got some reading to do!
  10. Question about strange constructors in class

    Hi there!

    Have a look at the following code in a class:


    class D3DApp
    {
    protected:

    D3DApp(HINSTANCE hInstance);
  11. Slight update

    Seems I really do have a knack of finding these bizarre things. Unhappy with conclusions to date (albeit good) I really wanted to nail it down. Further testing yielded the following (an excerpt from...
  12. A slight update.

    Hi there,

    I read this in MSDN:



    When recreating the problem on purpose this is what seemed to be what it was. I had a global class declared which contained COM pointers, and then I made a...
  13. Replies
    0
    Views
    1,569

    COM "Server" question

    Hi there,

    I've recently had reason to depart on a substantially sized foray into the rabbit hole of the inner workings and rules of DLL's and the Component Object Model (COM).

    So far I've...
  14. This link turned out to be very informative: ...

    This link turned out to be very informative:

    Difference between Process and Thread - GeeksforGeeks
  15. Lessons learned (hopefully)

    It actually seems to be fixed now. I made some changes to the code to adopt better practices and that seems to have fixed it.

    For starters I changed the way the user variable passed into...
  16. What's the difference between a process and a thread?

    Hi there,

    I thought it's about time I learned this one. I've been doing some research of my own but I thought I'd ask on here as well, as I've had some great advice on here before.

    I've been...
  17. Interesting to note this only occurs with the...

    Interesting to note this only occurs with the IDXGIFactory interface, and nothing else.

    I read this on MSDN:



    That's probably why. And I've basically been screwing around trying to find ways...
  18. Update

    Some more information after a lot of testing. I'll start by showing how the window is first created and then when the DirectX stuff is called. The DirectX stuff is initialised after the window is...
  19. Slight update

    I had a look at the code again and saw I was creating a WNDCLASSEX class but just using the typical CreateWindow call, not CreateWindowEx.

    Also reserved some extra space in the cbWndExtra variable...
  20. Struggling to call AddRef() in Windows Procedure - with user data & LongPtr

    Hi there,

    I had a bit of a problem with one of the COM pointers in my program. I have a rendering class inside a DLL with a global class instance and a pointer to it. I make another pointer to its...
  21. Much thanks adey for your reply. I'm pretty sure...

    Much thanks adey for your reply. I'm pretty sure I got what you meant, I will promptly re-read your reply as much as I have to, to be certain I understood it. Thanks very much for helping :)

    Edit:...
  22. Basic COM function question - Factory or CoCreateInstance?

    Hi there,

    I've been trying to learn at least something about the Component Object Model. It was very confusing at first and I got fed up, but after a slight personal meltdown I've managed to...
  23. Great advice thanks! :)

    Great advice thanks! :)
  24. Memory leaks, and hung up API stuff when using new keyword to make a class

    Hi there,

    Having just recently fixed an issue with memory leaks and DirectX objects still being live after shutdown I was wondering if it's a bad idea to create a class using the 'new' keyword if...
  25. Empty Vector tricky problem after Windows Update

    Hi there,

    I'm not sure if this belongs here or in the Gaming forum. I'll post it here as I guess a lot of the problem is C++ related. Please move it elsewhere if this is the wrong place thankyou....
Results 1 to 25 of 206
Page 1 of 9 1 2 3 4