K8061 Digital Output problem

I have a problem switching on output channels 1 - 4. Channels 5 - 8 are working with my c++ program.

SetDigitalChannel(0, i);
Has no effect for i=1 to i=4 and switches on channels 5 – 8 for i=5 to i=8.

SetAllDigital();
switches on channel 5 – 8

OutputAllDigital(0, 255);
switches on channel 5 – 8

When I’m trying the K8061_Demo.exe from software pack 2011 everything works fine, all 8 channels are switching on and off as requested.
Could it be a K8061.dll issue?
Any other ideas?

You may try the newer driver and DLL.
Please download the package “K8061 driver update v4.0.0.0” from:
velleman.eu/support/download … 8061&type=

Unzip it and uninstall the old driver and install the driver v1.0.0.2 from this package.
Then use the DLL version 4.0.0.0 from this package.
Replace the old DLL with the new one in the folder SysWOW64 (64-bit OS), System32 (32-bit OS) and in your project folder if there too.

For more details:
viewtopic.php?f=3&t=8972