I think I've found a big in the IOWarrior x64 driver
I use the processor Serial number as part of my software security, this has worked pretty well in all x86 installations, however, Im now finding that in x64 installations the serial number shows up as 0.
Con someone confirm if this is a bug, or if there is a easy fix in my software that will resolve this.
Thanks
Bryan
x64 Driver Bug
Moderator: Guido Körber
-
- Site Admin
- Posts: 2857
- Joined: Tue Nov 25, 2003 10:25 pm
- Location: Germany/Berlin
- Contact:
Re: x64 Driver Bug
Our Windows guy will be back in the office on Monday, right now I can't verify this.
- Christoph Jung
- Posts: 671
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: x64 Driver Bug
I've test my x86 application (with x86 DLL) on my x64 Windows 7 without any problems. I get the serialnumber from the device.
Do you use a x86 or x64 Application / DLL on your x64 system?
Do you use a x86 or x64 Application / DLL on your x64 system?
Re: x64 Driver Bug
its an x86 application written in VB.NET 2010, using the x64 driver
It doesn't matter if I build it inside an x86 or x64 OS I get the same error, I've tried rebuilding and debugging inside x64 OS and can see that the array that returns the serial code only contains a value of 41 in one of the bytes with the rest being returned as zero
It doesn't matter if I build it inside an x86 or x64 OS I get the same error, I've tried rebuilding and debugging inside x64 OS and can see that the array that returns the serial code only contains a value of 41 in one of the bytes with the rest being returned as zero
- Christoph Jung
- Posts: 671
- Joined: Sun Oct 08, 2006 3:43 pm
- Location: Germany / Berlin
- Contact:
Re: x64 Driver Bug
Could you send my the application and the project from Visual Studio. I will take a look on it.
Send it as a ZIP-File to jung@codemercs.com
Send it as a ZIP-File to jung@codemercs.com
Re: x64 Driver Bug
Hm..... the project in question is pretty big and ugly, let me see if I can replicate the problem in one of my other projects
Re: x64 Driver Bug
OK, well that didn't go as planned!
Firstly I didn't have a suitable project so made one using the core code from the problem project....only for it to work!!!
Went back to the original project and stripped that down to the core code, and nothing I did would work, I ended up deleting 95% of the code and it still wouldn't work!
Having ruled out the code I started looking at the configuration, and found the problem, and solution
Basically you must use .NET framework 4.0, the problem project was .NET 3.5, as soon as I changed it to 4.0 the problem was solved
Firstly I didn't have a suitable project so made one using the core code from the problem project....only for it to work!!!
Went back to the original project and stripped that down to the core code, and nothing I did would work, I ended up deleting 95% of the code and it still wouldn't work!
Having ruled out the code I started looking at the configuration, and found the problem, and solution
Basically you must use .NET framework 4.0, the problem project was .NET 3.5, as soon as I changed it to 4.0 the problem was solved