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

InitGoogleLogging bug ,Could not create logging file #375

Closed
ml232528 opened this issue Oct 24, 2018 · 0 comments
Closed

InitGoogleLogging bug ,Could not create logging file #375

ml232528 opened this issue Oct 24, 2018 · 0 comments

Comments

@ml232528
Copy link

char szPath[MAX_PATH] = {};
GetModuleFileNameA(g_hHodule, szPath, sizeof(szPath));
google::InitGoogleLogging(szPath);

szPath is a temporary cause of g_program_invocation_short_name error。

utilities.cc
g_program_invocation_short_name = slash ? slash + 1 : argv0;

@sergiud sergiud closed this as completed Mar 30, 2021
@sergiud sergiud mentioned this issue May 6, 2021
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

No branches or pull requests

2 participants