K8061 Windows 8

unable to open the card via Vbasic 2010 with
Private Declare function opendevice lib “k8061.dll” () as integer
opendevice (6)
this returns the error message
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at GH6._3.Form1.PowerGood(Int32 CardAddress)
at GH6._3.Form1.Timer3_tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

the USB driver seems to have installed OK because the utilities DIAG8061 and DEMO8061 perform as expected

It seems that you are now compiling a 64-bit application and using our 32-bit dll. This is not possible in Windows, so the solution is to compile your application as 32-bit. A 32-bit application can load a 32-bit dll.
Please see this thread for a solution: viewtopic.php?f=3&t=5363

Magic - thankyou