让 32 位程序使用大于 2GB 内存的方法

本文原地址: http://www.feitianzhi.com/boke/index.php/archives/25/

转载请注明出处,有疑问或错误请发邮件到[email protected] 或加QQ群:869598376


editbin

这是 Visual Studio 2017 采用的做法。我们需要使用到两个工具——editbin 和 dumpbin。前者用于编辑我们编译生成好的程序使之头信息中声明支持大于 2GB 内存,后者用于查看程序的头信息验证我们是否改好了。

编辑一个程序使之声明支持大于 2GB 内存的命令是:

editbin /largeaddressaware xxx.exe

其中,xxx.exe 是我们准备修改的程序,可以使用相对路径或绝对路径(如果路径中出现空格记得带引号)。

验证这个程序是否改好了的命令是:

dumpbin /headers xxx.exe | more

同样,xxx.exe 是我们刚刚改好准备检查的程序,可以使用相对路径或绝对路径。

我来吐槽

*

*

已有 24 条评论

  1. Jivhatmom

    what milligram viagra should i take buy viagra in sydney viagra x pressao alta

  2. Kmrfbomy

    viagra wirkstoff dosis purevigra.com il viagra quanto tempo prima bisogna prenderlo

  3. DevkAgica

    viagra generic vs brand name lowest price viagra no prescription how to get viagra sydney

  4. FrbhAgica

    buy viagra without perscription https://paradiseviagira.com/ low dose viagra

  5. Fbsgwhish

    can i take ibuprofen with viagra viagra and cgmp viagra zespГіЕ‚ rosyjski youtube

  6. Fhsbwhish

    health express viagra buybuyviamen.com tipps zur einnahme von viagra

  7. Fevbwhish

    where to find viagra in winnipeg viagra result video buy viagra without a script

  8. Jsweatmom

    buy generic viagra online no prescription where to get viagra sildenafil online prescription

  9. Fevbwhish

    generic viagra usa canada wowviaprice.com generic viagra

  10. Kbrgbomy

    can you buy viagra mexico cheapest price for sildenafil 20 mg canada viagra cost

  11. DbsfAgica

    sildenafil 25 mg coupon viagra online from utah female viagra pills price

  12. FdbvAgica

    us pharmacy viagra online cheap generic viagra no prescription pharmacy price comparison viagra

  13. Fmsgwhish

    mГ©canisme du viagra o viagra do cГ©rebro when is viagra coming off patent

  14. Fbsbwhish

    warum hilft viagra nicht viagra sale in philippines retailer sell viagra

  15. Fnrhwhish

    walmart rx viagra cost? buy strong viagra legal viagra

  16. Jgscatmom

    trigonometry homework solver application essay writing essay paper writing

  17. Fqfwhish

    dissertation essay need help writing narrative essay expository essay assignment

  18. Kwgdbomy

    help my homework writing scientific research proposal will you do my homework

  19. DvscAgica

    chemistry homework solver personal statement law homework help.com

  20. Fnrdwhish

    viagra sample pack viagra online bestellen org buy viagra usa

  21. FgsAgica

    english essayist custom papers college essay questions 2016

  22. Fnsbwhish

    functional resume science case study an argumentative essay

  23. Fsfwhish

    law term paper college essays starters help writing essay

  24. Ftghwhish

    term paper custom essay on persuasion pay someone to write my resume