Hi all please help me with my problem:
i have:
K8055 witch i have used on my old XP machine so it works…
Windows 7 x64 Bit
and VB 2010 Beta 2…
the problem occures when i run the code from VB2008 (on the xp machine wich worked fine)
clicking on button 2 which has the code:
Opendevice(0)
i get the error:
Unable to load DLL ‘K8055D.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)
i know i have the dll because it shows up in the system32 directory when i search for it…
so then i tryed changing k8055d.dll to C:…32\K8055d.dll"
then i get:
Unable to load DLL ‘C:\Windows\System32\K8055D.dll’: The specified module could not be found. (Exception from HRESULT: 0x8007007E)…
but i think 3.0.2.0 is the newest DLL version… it says 3.0.2.0 in the properties diolouge
maybe its a problem with the dll? Windows 7? x64 Bit? VB2010? or all of them?
[quote=“VEL255”]I think you are creating 64 bit application.
Maybe the VB is not searching the DLL from the Systen32 folder. It is for 32 bit DLLs.
Furthermore a 64 bit process cannot load a 32 bit DLL.
Please see the last post of this thread. Maybe there is a solution: viewtopic.php?f=3&t=3832[/quote]
thank you for your reply. i have tryed the steps in the link but i cannot find the box to change from x64 to x86 shown in the second image. also the bar next to the ‘play’ button showing x86 doesnt seem to show up in VB2010 either. do you think i should try VB2008?
also playing around with the properties of the project gave me an option in both compile and debug tabs to change the platform… the only option was: “Active (x86)” no option for x64, so this must mean that it is 32 bit by default…
so is the k8055d.dll a 64 bit dll for it to not found in system32? because the same dll from the website works on my xp
ok thanks for the help… i have downloaded vb2008 and running the code gives the same error in the post that was linked to before (viewtopic.php?f=3&t=3832). i know it works because it was working on xp.
do you think i should just stick to using my old pc for the programming?
the demo application works fine on win 7
I installed the VB 2010 Express too.
I get also the same error message:
An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
So, you were able to use the DLL to control the 8055 kit in windows 7 x64 ? I was considering buying this for a couple projects I wanted to play with, but all my machines are 7x64. All these sites selling this don’t even list Windows Vista compatbility, much less Win7x64…
The K8055 works fine in Windows 7 x64.
It seems the data on the sites is mainly the original data from the time before the Windows Vista was released.
This is anyhow true as stated on the Velleman site:
•[color=#000080]minimum system requirements:
o Pentium class CPU
o USB1.0 or higher connection [/color]
[color=#800000]o Windows 98SE or higher (Win NT excluded)[/color]
[color=#000080]o CD ROM player and mouse[/color]
I’ve got a problem with vista x86 the first time it run, the second time it freez the usb port and the demo. It was resolved by instaling the 64 bit driver and by doing the re-copy of the Dll in System 32 directory.
Thank you VEL255.