I'll check out those links John thanks very much :)
Type: Posts; User: shrink_tubing
I'll check out those links John thanks very much :)
Hi there!
Nice to be on here again :) Stuck doing my uni stuff at the moment and it's boring to be honest. Can't wait to get back to C++ stuff.
Interesting here and there though I guess....
I had a good read of that stuff, and also recently came across it on the NetAcad course I'm doing. So no use of copy constructors allowed through either the typical a = b style nor the function a(b)...
AFAIK you need to "deploy" your project to make like a little installer for it. That's over my head though maybe check out this link, I don't know if it's what you need?
Walkthrough: Deploying...
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...
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...
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...
Yes they are.
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...
Great, thanks very much Salem :)
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...
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...
Brilliant! Thanks very much Salem :) I got some reading to do!
Hi there!
Have a look at the following code in a class:
class D3DApp
{
protected:
D3DApp(HINSTANCE hInstance);
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...
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...
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...
This link turned out to be very informative:
Difference between Process and Thread - GeeksforGeeks
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...
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...
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...
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...
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...
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...
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:...