Hi there:
I have an application that is getting run on a few thousand machines
(.
The problem i have is they are 9x/NT/2000 and XP.
When I encounter an XP box i am calling the CreateProcessWithLogonW API function that is found in advapi32g.dll, which works great, however the app will not run on NT or 9x, coz NT does not contain the function in the dll and 9x does not have the dll.
I dont want to reference the function on NT or 9x, but i have to declare the function in the APP as XP uses it? is there a way to only declare this API function on 2000+ machines or get NT/9x to ignore the error of it not being found?
(I have to have 1 exe)..
Thanks for any help...
Tony
I have an application that is getting run on a few thousand machines
The problem i have is they are 9x/NT/2000 and XP.
When I encounter an XP box i am calling the CreateProcessWithLogonW API function that is found in advapi32g.dll, which works great, however the app will not run on NT or 9x, coz NT does not contain the function in the dll and 9x does not have the dll.
I dont want to reference the function on NT or 9x, but i have to declare the function in the APP as XP uses it? is there a way to only declare this API function on 2000+ machines or get NT/9x to ignore the error of it not being found?
(I have to have 1 exe)..
Thanks for any help...
Tony