none
Getting diffrent prologue than in windows dlls RRS feed

  • Question

  • Hi,

    I am trying to implement a dll, which has many functions. I am using cl compiler of VS8 from command line with /O2 /LD /W3 options and for link I am using /NODEFAULT option as well. The dll is getting generated well. In disassembly when I check prologue of my exported function it is different from that is in some Windows dlls like kernel32.dll

    I want my prologue and epilogue to be exactly same as of Windows dlls. What I need to do to have such prologue? Are there any separate options to do so? (My source file is a 'C' file.)

    Thanks.

    Friday, October 18, 2013 7:11 AM