You can set the actual function name using "Alias"
Code:
Declare Function getOne Lib "..PATH..\dll_for_excel.dll" Alias "_getOne@0" () As Long
If you don't want to do that, you can add "/export:getOne" to your linker.