RE: Can coredll.lib be added in the sources file in kernel?
From: Russ Keldorph [MS] (russellk_at_online.microsoft.com)
Date: 03/30/04
- Previous message: Andrew: "GWES exception at startup"
- In reply to: chen: "Can coredll.lib be added in the sources file in kernel?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 30 Mar 2004 00:30:59 GMT
1) No, coredll.lib definitely cannot be linked into the kernel
2) No, you cannot call GWES routines from the kernel.
You should be able to call the kernel routine 'void
SC_PowerOffSystem(void)' directly instead. It isn't recommended, but it
ought to work.
-- Russ Keldorph russellk@online.microsoft.com (Remove the 'online.' from my address to reach me.) This posting is provided "AS IS" with no warranties, and confers no rights. OR if you wish to include a script sample in your post please add "Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm" -------------------- > Reply-To: "chen" <chen@discussions.microsoft.com.invalid> > From: "chen" <chen@discussions.microsoft.com.invalid> > Subject: Can coredll.lib be added in the sources file in kernel? > Date: Fri, 26 Mar 2004 11:09:36 -0500 > Lines: 14 > X-Priority: 3 > X-MSMail-Priority: Normal > X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 > X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 > Message-ID: <#y4p1z0EEHA.3132@TK2MSFTNGP12.phx.gbl> > Newsgroups: microsoft.public.windowsce.platbuilder,microsoft.public.windowsce.targeted.d evice > NNTP-Posting-Host: h-68-165-149-226.cmbrmaor.covad.net 68.165.149.226 > Path: cpmsftngxa06.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08 .phx.gbl!TK2MSFTNGP12.phx.gbl > Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.targeted.device:4745 microsoft.public.windowsce.platbuilder:47648 > X-Tomcat-NG: microsoft.public.windowsce.platbuilder > > Hi, > I want to call GwesPowerOffSystem or SetEvent in OEMIoControl function. > That requires coredll.lib. But if I add > TARGETLIBS=$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib in the sources > file for the 3 directories kern,kernkitl and kernkitlprof under > \kernel\buildexe, my nk.bin can not be loaded on the device. So my questions > are: > 1) Can coredll.lib be added in the sources file in kernel? > 2) If not, is there a way that I can call GwesPowerOffSystem in OEMIoControl > ? > > Thankes a lot in advance for your help. > > >
- Previous message: Andrew: "GWES exception at startup"
- In reply to: chen: "Can coredll.lib be added in the sources file in kernel?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|