Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix get wrong value of -d -d32 options;fix WSCInstallProviderAndChain… #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xspeed1989
Copy link

fix get wrong value of -d -d32 options;
fix WSCInstallProviderAndChains64_32 with wrong x86 lsp dll path

@@ -237,7 +237,7 @@ int _cdecl main(int argc, char *argv[])
case 'd': // Full path and filename to LSP
if ( i+1 >= argc )
goto cleanup;
if (_strnicmp(argv[i], "-d32", 4))
if (!_strnicmp(argv[i], "-d32", 4))
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_strnicmp(argv[i], "-d32", 4) == 0 means argv[i] equal "-d32"

@@ -1422,7 +1422,7 @@ InstallProviderVista(
providerGuid,
lpszLspPathAndFile,
#ifdef _WIN64
lpszLspPathAndFile,
lpszLspPathAndFile32,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the second param is 64 bit dll path,
the third param is 32 bit dll path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant