dscqrkvr9562034621 2019-03-30 18:33
浏览 39

具有兼容性的CreateProcess

Is it possible to use CreateProcess with compatibility settings like reduced color mode: 16bit or other settings?

I want to avoid having to go to compatibility to change to setting. I want to just run it directly with the options set via CreateProcess on a secondary application.

enter image description here

I'm currently working with this code:

var sI syscall.StartupInfo
var pI syscall.ProcessInformation

argv := syscall.StringToUTF16Ptr("app.exe")

err := syscall.CreateProcess(
    nil,
    argv,
    nil,
    nil,
    true,
    0,
    nil,
    nil,
    &sI,
    &pI)
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 安装pyaudiokits失败
    • ¥15 计组这些题应该咋做呀
    • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
    • ¥15 让node服务器有自动加载文件的功能
    • ¥15 jmeter脚本回放有的是对的有的是错的
    • ¥15 r语言蛋白组学相关问题
    • ¥15 Python时间序列如何拟合疏系数模型
    • ¥15 求学软件的前人们指明方向🥺
    • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
    • ¥20 双层网络上信息-疾病传播