I don't know. The instructions are not clear enough for my limited knowledge. I Use Dll's but I don't make my own so all I can do is guess.
The only other thing I can think of would be to name your string just like the example in the instructions. I don't think it matters though.
Declare Function PortOpen Lib "VFD_DLL.dll" (ByVal PortName As String) As Boolean
The others things to consider are to get your DLL file(s) in the correct directory for your OS (system folder). Consider 32bit vs. 64bit. Might need to place it in the application folder so you can reference a dynamic directory to. In other words, use the full path when writing your functions.
Also, you will probably need to load the file and create a handle. May need to do this before using the dll. Don't know, just guessing.
Code:
'You would have to create functions so you can
Declare Function LoadLibrary Lib "VFD_DLL.dll" (ByVal sFilePath as String) as Variant
Declare Function FreeLibrary Lib "VFD_DLL.dll" (ByVal hDll as Double) as Long 'Or maybe boolean
'how to load dll
dim hDll as Double 'I beleive handles should be double
hDll = LoadLibrary("VFD_DLL.dll") or maybe full path
'how to release dll
Call FreeLibrary(hDll)
Hope this helps some. I just don't know enough about them to understand the instructions provided. I would look into the dynamic path thing if you stay stuck. Good Luck.