COM question

Posted By: sheefo

COM question - 08/12/07 16:17

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.
Posted By: sheefo

Re: COM question - 08/13/07 21:53

I have made my COM DLL and it works when testing in in Visual Studio. But I cannot get it to work in LiteC!!!

I always get the error code: 80040154, following the example in the manual.

Can anyone help me at all? ... jcl perhaps?
© 2023 lite-C Forums