I am using Win8 x64 + Office 2013 x64.
I have an excel file, which has some modules in it, and works flawlessly in Office (Excel) x86. It use
I think all you need to do for your function is just add PtrSafe: i.e. the first line of your first function should look like this:
Private Declare PtrSafe Function swe_azalt Lib "swedll32.dll" ......