View Single Post
  #4  
Old 07-28-2010, 05:50
bilbo bilbo is offline
Friend
 
Join Date: Jul 2004
Posts: 103
Rept. Given: 36
Rept. Rcvd 15 Times in 12 Posts
Thanks Given: 15
Thanks Rcvd at 17 Times in 11 Posts
bilbo Reputation: 15
Well, tried on VC6 (link 6.00.8168): exactly the same behaviour,
even if I remove the three lines
Code:
#pragma code_seg(SECTION_NAME)  // push not understood
#pragma comment(linker, "/SECTION:"SECTION_NAME",RWE")
__declspec(allocate(SECTION_NAME))
and put everyting in ".text" section

Regards, bilbo
Reply With Quote