Building a .cpp file with entry point NtProcessStartup(...)

Hello,

I developed a small program in Vc++ 6.0. It’s entry point is
NtProcessStartup( PSTARTUP_ARGUMENT ). I used only Native APIs inside it.

How to build this application ? I used TARGETTYPE=nt and ntss
as given in MSDN help. But i am getting errors. Please tell me to build
that application.

From,
Raja Reddy.

Use BUILD for such apps.

----- Original Message -----
From: “Raja Reddy”
To: “NT Developers Interest List”
Sent: Friday, May 17, 2002 4:03 PM
Subject: [ntdev] Building a .cpp file with entry point NtProcessStartup(…)

> Hello,
>
> I developed a small program in Vc++ 6.0. It’s entry point is
> NtProcessStartup( PSTARTUP_ARGUMENT ). I used only Native APIs inside it.
>
> How to build this application ? I used TARGETTYPE=nt and ntss
> as given in MSDN help. But i am getting errors. Please tell me to build
> that application.
>
> From,
> Raja Reddy.
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

I developed a small program in Vc++ 6.0. It’s entry point is
NtProcessStartup( PSTARTUP_ARGUMENT ). I used only Native APIs
inside it.

How to build this application ?

I used BUILD utility. In SOURCES file i wrote something like
this,
TARGETNAME=Raj
TARGETTYPE=PROGRAM

UMTYPE=NT
UMENTRY=NtProcessStartup
SOURCES=Raj.c
While Linking it is searching for _main symbol.

From,
Raja Reddy.


Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs

Suppress C runtine library from being linked.
_main is referenced from _mainCRTStartup in the runtime.

Max

----- Original Message -----
From: “Raja Reddy”
To: “NT Developers Interest List”
Sent: Saturday, May 18, 2002 7:41 AM
Subject: [ntdev] Building a .cpp file with entry point NtProcessStartup(…)

> I developed a small program in Vc++ 6.0. It’s entry point is
> NtProcessStartup( PSTARTUP_ARGUMENT ). I used only Native APIs
> inside it.
>
> How to build this application ?
>
> I used BUILD utility. In SOURCES file i wrote something like
> this,
> TARGETNAME=Raj
> TARGETTYPE=PROGRAM
> …
> UMTYPE=NT
> UMENTRY=NtProcessStartup
> SOURCES=Raj.c
> While Linking it is searching for _main symbol.
>
> From,
> Raja Reddy.
>
>
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>