simply create your automation object and call the function! Your methods defined in IDispatch are exposed by default, if this is not working then you're doing something wrong with your COM object, check your idl, make sure your object has been registered and that you can see the interface using the oleview tool of your registered COM object!
Yours Truly, The One and Only!