Quote Originally Posted by Schmidt View Post
The only problem as I see it - is (for a C-programmer) to understand (or avoid) those weird automatic and implicit BSTR-ANSI-BSTR conversions on the VB-end
Why would you want to avoid that ? It makes things on the VB side more verbose. IMO, its more elegant to have these functions work like your typical VB function. Your method is actually how you would write more suitable to export through a COM type library.