I am trying to use COM with a test DLL I made which for now just returns the number 105 (just to test it works), but it seems I cannot get COM to work. I have followed the manual and looked at the DirectX definitions with COM.
Perhaps I am making a mistake with the DLL. Can someone guide me to what tyoe of project I should create in Visual Studio. If someone can give me a small C++ example of a DLL class with a function to return a number which I can learn from, that would be even better.
Thanks.