LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exe developed in 32 bit Windows XP not working in 64 bit Windows Vista

Solved!
Go to solution

Hi mathan,

if you have two different dll's, then you should write your application, that it can work with both. There should be a function which gives information about the dll. You can read it and react on it. I think the result should be that XP works with the XP driver and Vista with the Vista driver.

 

Mike

Message Edited by MikeS81 on 02-02-2009 10:12 AM
Message 11 of 14
(1,811 Views)

Dear Mike,

 

Am sorry i didn't get your point.

 

I will tell the whole thing. Actually, the USB smart card reader am using is having support for 32 bit as well as 64 bit. All the .cat files, .inf files and .sys files are in a single folder named "Release" and when we plugin the smart card reader in our 32 bit system, during the found new hardware wizard, when pointing to the "Release" folder will automatically install the corresponding driver to the device. Same case when reader was plugged into a 64 bit machine, it will take appropriate 64 bit driver when pointing to that folder.

 

That was not at all a problem.

 

Actually, i have one dll named "MCSCM.dll" which communicates with the smartcardreader and the smartcard (memory card).

This MCSCM.dll has some more than 10 functions and am using card connect and card disconnect functions and some others. Before that, for establishing communication with the resource manager context, i have to use scardestablishcontext and scardlistreaders function from winscard.dll (called from c:\windows\system32 path using CLN).

 

The problem is, in WinXP in which my application was developed, the winscard.dll works fine even it was loaded from 'data' folder.

But when using the same application in WinVista, the winscard.dll instead of locating from the windows system32 folder, LabVIEW, by default points to the 'data' folder and takes it from there. In that case winscard.dll from VISTA is different from winscard.dll in XP.

 

What i did in VISTA was, i copied the winscard.dll from system32 folder and replaced it in 'data' folder. Then the application works fine.

 

Am asking, without doing such copying, is there any way to load the dll from the system path when the application was launched.

 

Please ask me more questions if i was not clear this time. 

 

Thanks,

Mathan

0 Kudos
Message 12 of 14
(1,803 Views)
I'm working through the book "LabVIEW for LEGO Mindstorms NXT" by Gasperi. The book includes a CD with a 30 day evaluation copy of LabVIEW 8.5 and the NXT Toolkit. I'm using a new laptop (HP dv7-1273cl) with a 64 bit OS. LabVIEW 8.5 installed without any problems. However, the toolkit installation resulted in a error message about a corrupted windows installer. I downloaded a copy of the toolkit from the NI website and had the same installation problems. Question: Is there a suggested work around for this problem? I have LabVIEW 7.1 so I copied the "addons" from my desktop to the HP. I applied the patch for 8.5. This worked partially but the NXT terminal menu item under "tools" was not present. I assume I need to enter a path or a registry entry. Could you suggest the correct settings to manually install the Toolkit. Thank You.
0 Kudos
Message 13 of 14
(1,730 Views)

Don't hijack an unrelated thread. Post a new question. You might want to try the Lego board.

Message 14 of 14
(1,722 Views)