Errors returned by OleInitialize

P

pwells

I have a question about the values returned by OleInitialize. Our application
logs show that three different return codes have been given on successive
attempts to call this function, but I'm not sure what they indicate:

2147942487 = 0x80070057 = "Invalid argument"
2147943811 = 0x80070583 = "Class does not exist"
2147942408 = 0x80070008 = "Not enough memory"

I think those are the correct descriptions for those error codes, but can
someone explain how they apply to a call to OleInitialize(NULL)?

What argument is invalid? Which class does not exist? Out of memory may be
possible, but the application doesn't appear to have encountered problems in
any other area, so it's puzzling.

Thanks to anyone who can shed some light on this for me.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top