Hello,
So I'm completely new to VBA and I've written a DLL to do some functions and the idea is to pass the results back to Excel. The DLL works fine, I've tested it extensively. The issue is the last argument I pass to it from VBA in Excel, no matter what value it is, always gets passed as the same, very large number. Below is the VBA code and then the DLL function declaration. Help would be greatly appreciated I have no clue what's going on here. The last two arguments are to be passed as number values, both are passed in the same way, and the first works, the second doesn't.
VBA Code:
And here's the function definition from the .h file for the DLL:![]()
Please Login or Register to view this content.
Thanks!![]()
Please Login or Register to view this content.
Bookmarks