Thanks Rob, yes, I can’t link to subsys libs when the subsys isn’t loaded.
But don’t I need some runtime lib (or have to write some startup code
myself) !?
Mark Russinovich in “Inside Native Applications” uses msvcrt.lib, that’s
why I did it.
I also tried nt.lib, and I also tried no Lib at all (but Ntdll), but then
the Link fails with
unresolved externals.
Regards
Else
|---------±-------------------------------->
| | “Rob Green” |
| | |
| | Sent by: |
| | bounce-191011-16691@li|
| | sts.osr.com |
| | |
| | |
| | 10/21/2004 05:20 PM |
| | Please respond to |
| | “Windows System |
| | Software Devs Interest|
| | List” |
|---------±-------------------------------->
>-----------------------------------------------------------------------------------------------------------|
| |
| To: “Windows System Software Devs Interest List” |
| cc: |
| Subject: RE: [ntdev] native App (BootExecute) on XP 64Bit / AMD64 (Unsigned Mail) |
>-----------------------------------------------------------------------------------------------------------|
Native apps can only link to ntdll.lib. you can not link to any win32
library (or for that matter any other subsystem libraries either(such as
posix)).
Thanks,
Rob
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:bounce-190977-
> xxxxx@lists.osr.com] On Behalf Of Else Kluger
> Sent: Thursday, October 21, 2004 3:55 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] native App (BootExecute) on XP 64Bit / AMD64
>
> Hi all,
>
> it’s not Kmode, but I hope you can help:
>
> 1.
> is assumption correct that native app running as bootexecute has to be 64
> Bit
> (because wow64xy stuff depends on Win32 Subsys) ?
>
> 2.
> did it with 64 Bit, but it completely hangs, no further process is
> started,
> and in the end
> Session Manager issues a shutdown. With the shutdown comes bugcheck
>
> STOP: c0000139 {Entry Point Not Found}
> The procedure entry point ??1type_info@@UAA@XZ could not be located
in
> the dynamic link library msvcrt.dll.
> Break instruction exception - code 80000003 (first chance)
>
> => What lib(s) in addition to ntdll.lib do I have to use ? (Currently I
> use msvcrt.lib.)
>
> Regards
> Else
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@cdp.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com