ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   calling a dll from excel macro (https://www.excelbanter.com/excel-programming/284520-calling-dll-excel-macro.html)

Stefan[_4_]

calling a dll from excel macro
 
I'm trying to call a function from a dll in an excel macro, however,
every time I run the macro Excel crashes with no explanation why...
The function excepts three strings, does an encryption and returns a
string back..

any ideas of what I'm doing wrong? I must have some fundamental
errors...

thanks.

Bill Manville

calling a dll from excel macro
 
Stefan wrote:
I'm trying to call a function from a dll in an excel macro, however,
every time I run the macro Excel crashes with no explanation why...
The function excepts three strings, does an encryption and returns a
string back..

any ideas of what I'm doing wrong? I must have some fundamental
errors...


I guess it would have been helpful to post the declaration of the DLL
function and the call you are making to it, and tell us the version of
Excel and the address at which it crashes.

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - reply in newsgroup



All times are GMT +1. The time now is 07:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com