Is there a way to make an EXE LabVIEW built on Windows XP on Windows 7?

I have a request that I build (LabVIEW 8.6) on Windows XP, that installs and works fine on other XP machines.  However, after installing it on a Windows 7 computer, I get an error stating that "The procedure entry point CsrNewThread could not be found in the dynamic link library ntdll.dll".  When I look at ntdll.dll (in C:\Windows\System32) with a tool dependency walker on XP, I see the CsrNewThread function listed, but its function is missing from the same DLL named on Windows 7.  So I guess that somewhere along the evolutionary line Windows this function has been removed from ntdll.dll.  My first instinct was to try overwirting ntdll.dll on the Windows 7 machine with one copied from my Windows XP computer.  However, our system administrator only gave me permission to replace this file on the Windows 7 machine.  I could ask him to give me this permission, but I'm not sure it's the best way to go anyway because the other programs in Windows 7 can use ntdll.dll.  I tried to copy the WIndows XP version of ntdll.dll in the local folder on the Windows 7 machine containing my LabVIEW application, but this has not fixed the problem.  And when I look at my application in the dependency walker tool, I see that he is always looking in the ntdll.dll file in the WIndows\System32 folder and not in my local folder.  Yes, is there a way to make an EXE LabVIEW built on Windows XP on Windows 7?  Or I have to do a version for Windows XP and one for Windows 7?  Still, I am using LabVIEW 8.6.

Thank you

Keep in mind that LabVIEW 8.6 is not officially supported under Windows 7.  You may want to consider switching to less than LV2009.

Tags: NI Software

Similar Questions

Maybe you are looking for