I need to overwrite the full commandline with own arguments. Can you give me an example?
if i change this (original provided sample cefclient_win.cc)
- Code: Select all
// Parse command-line arguments.
CefRefPtr<CefCommandLine> command_line = CefCommandLine::CreateCommandLine();
command_line->InitFromString(::GetCommandLineW());
to
command_line->InitFromString("--user-agent=test");
its not working. If i do it per shortcut, its working.
Thanks!