I'm working on Start app that can open CEFsimple app and pass some arguments to it. Basically, in Start app I use CreateProcess() function for opening CEF with command line like:
- Code: Select all
"\\bin\\cefsimple.exe --allow-file-access-from-files 12345678"
where:
1st arg: location of cefsimple.exe
2nd arg: enabling communication between html files on local drive
3rd arg: password (lame protection)
In CEFsimple I've implemented comparison between password given by Start app and password written in CEFsimple, but it gives wrong results, because actually the program doesn't see arguments that I sent from Start app. Output file of seen args:
args: 14
App1 argument 0: G:\bin\cefsimple.exe
App1 argument 1: --type=renderer
App1 argument 2: --no-sandbox
App1 argument 3: --disable-databases
App1 argument 4: --lang=en-US
App1 argument 5: --lang=en-US
App1 argument 6: --log-file=G:\bin\debug.log
App1 argument 7: --device-scale-factor=1
App1 argument 8: --num-raster-threads=2
App1 argument 9: --content-image-texture-target=3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553,3553
App1 argument 10: --video-image-texture-target=3553
App1 argument 11: --disable-accelerated-video-decode
App1 argument 12: --channel=7076.1.1397704486\1723621388
App1 argument 13: /prefetch:673131151
Any ideas how can I make it works?