OLE with CorelDraw and C++

Hi all,

has anyone a C++ code snipped to use CodelDraw2017 with OLE from C++?

I did this successfully in many previous Versions, but since I updated to Version 2017 I can not pass string parameters anymore (I get now type missmatch error) .

So a code snipped with a command that contains a string parameter would be helpful. E.g. the filename in the Document.SaveAs() command

Thanks

Martin