Jump to content

DLL calls with Variant and BSTR data types

Recommended Posts

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.


Link to post
Share on other sites
  • 2 weeks later...

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.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...