"native" linker setting...

Started by CommonTater, May 29, 2012, 06:32:05 PM

Previous topic - Next topic

CommonTater

Project -> Project Options -> Linker -> Subsystem = Native 

Can someone give me a brief explaination of this linker setting, when it's used and in conjunction with what kind of project?

Thanks.


AlexN

Quote from: CommonTater on May 29, 2012, 06:32:05 PM
Project -> Project Options -> Linker -> Subsystem = Native 

Can someone give me a brief explaination of this linker setting, when it's used and in conjunction with what kind of project?

Thanks.
What says the help (Command line tools -> Polink -> Commanline options -> /subsystem -> Native:

NATIVE is used for Windows NT drivers.
best regards
Alex ;)

Vortex

Hi CommonTater,

This setting enables also to code an application running before the complete system boot like chkdsk checking for disk errors.
Code it... That's all...

CommonTater

Quote from: AlexN on May 29, 2012, 07:13:03 PM
Quote from: CommonTater on May 29, 2012, 06:32:05 PM
Project -> Project Options -> Linker -> Subsystem = Native 

Can someone give me a brief explaination of this linker setting, when it's used and in conjunction with what kind of project?

Thanks.
What says the help (Command line tools -> Polink -> Commanline options -> /subsystem -> Native:

NATIVE is used for Windows NT drivers.


So what kind of project do I create for that?  A DLL?

aardvajk

None. PellesC doesn't come with the required include files for either drivers or a user-mode native program.

Vortex

Code it... That's all...

CommonTater

Ok... thanks for the help guys...

It looks like I don't want to go there with what I had in mind.  :D






Stefan Pendl

The boot time interface of UltraDefrag is a native application and there is the native-nt-toolkit at http://native-nt-toolkit.googlecode.com/svn/trunk

They all need to link to ntdll.dll ;)

Quote
Sysinternals Freeware - Inside the Native API
    http://netcode.cz/img/83/nativeapi.html

Native API function documentation
    http://undocumented.ntinternals.net/

Listing of the NT Native API  functions
    http://jedi-apilib.sourceforge.net/native/NativeList.html

Inside Native Applications
    http://technet.microsoft.com/en-us/sysinternals/bb897447.aspx

Native Windows API Programmierung (German)
    http://www.ks.uni-freiburg.de/download/studienarbeit/SS07/09-07-napi-jrudolph/NativeAPI-ComputernameChanging.pdf

Windows System Call Table (NT/2000/XP/2003/Vista)
    http://metasploit.com/users/opcode/syscalls.html
---
Stefan

Proud member of the UltraDefrag Development Team

Vortex

Code it... That's all...

Stefan Pendl

Seems the way-back machine has to be used for those lost web library books if possible.

Collecting links isn't reliable any more :(
---
Stefan

Proud member of the UltraDefrag Development Team

Vortex

Code it... That's all...