Call DLL code from VBScript code-behind

S

Sue Mosher [MVP-Outlook]

You'd use CreateObject() to instantiate an object exposed by the DLL, then call that object's publish methods.
 
P

Pavel Rosoi

Thank you for your answer. Does this work for not COM dll, as Win32 API
native code?
 
S

Sue Mosher [MVP-Outlook]

If I understand your question correctly, no, you cannot call Win32 API methods from VBScript, because VBScript does not support declaring a function from a .dll.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top