Call DLL code from VBScript code-behind

  • Thread starter Thread starter Pavel Rosoi
  • Start date Start date
P

Pavel Rosoi

Hi,

Does is any way to call DLL code from VBScript code-behind? Thank you.
 
You'd use CreateObject() to instantiate an object exposed by the DLL, then call that object's publish methods.
 
Thank you for your answer. Does this work for not COM dll, as Win32 API
native code?
 
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

Back
Top