|
-
July 31st, 2007, 06:31 AM
#1
Segments in Visual C++ Compiler
Hi all,
I was thinking about what segments are currently supported in Visual C++ compiler. I am currently working on drivers and driver documentation says that DriverEntry routine should be pageable and must be placed in INIT segment using alloc_text pragma directive. Now, I was thinking what other segments are supported.
Also, I do not know whether to post this question on this forum or not.
Thank you.
-
July 31st, 2007, 07:01 AM
#2
Re: Segments in Visual C++ Compiler
It's not VC++ who supports the segments, it's the format of executable (called as Portable Executables). VC++ just creates the output according to the specifications given (the code,a nd other pragmas and stuff).
If you are using DDK then I dont think you have to worry about the segments etc. There are samples which can start using as a base for your driver code.
Regards,
Ramkrishna Pawar
-
July 31st, 2007, 10:33 AM
#3
Re: Segments in Visual C++ Compiler
Yes, it's the linker that creates segments, not the compiler. Look at the linker switches.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|