I have been documentation for a project in C++.
I'm trying to write it in VB.Net.
The project contains a DLL - FriDll.dll
I have the following code:
Code:
Declare Function FriDllVersion Lib "FriDll.dll" Alias "DllVersion" () As Integer
and
Code:
MsgBox(FriDllVersion)
I just (initially) want to display the dll version number to check I can call the dll.
But I get the message 'Unable to load DLL'
I have added the dll to the System32 folder, to the project debug folder, to the project using 'add Existing' - but still get the same error.
Looking at similar questions I have run the Dependency Walker - but wasn't sure if it showed anything missing.
Any ideas?
Thank you.