Sign in to follow this  
Followers 0
Jamal Mazrui

DLL calls with Variant and BSTR data types

3 posts in this topic

I appreciate the many data types that can be used as parameters in DLL calls. I do not find mention of the Variant or BSTR data type. Using another development tool, I want to create a DLL that exports functions with these data types as parameters. I think AutoIt uses these types internally, but I do not know how to use them as DLL parameters.

Suggestions?

Share this post


Link to post
Share on other sites



If anyone can provide sample code for passing and retrieving BSTR or variant data types with a DLL call, I would appreciate it. DLLs written for Visual Basic often use such data types, even for functions not related to COM automation or ActiveX controls. I would like to have such possibilities in AutoIt programming, but do not yet have the knowledge to implement the type conversions myself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0