Announcement

Collapse
No announcement yet.

NT/2K Native Executables

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Wayne Diamond
    replied
    aww ok
    anyway, kind thanks for taking the time to look at it for me


    ------------------

    Leave a comment:


  • Cecil Williams
    Guest replied
    Wayne,

    I'll have to agree with Tom's assessment. The following is a
    quote from the url that you provided:

    The Build utility uses a standard makefile to guide it,
    \ddk\inc\makefile.def, which looks for a run-time library named
    nt.lib when compiling native applications. Unfortunately,
    Microsoft doesn't ship this file with the DDK. However,
    you can work around this problem by including a line
    in makefile.def that overrides the selection of nt.lib by
    specifying Visual C++'s runtime library, msvcrt.lib.
    PB doesn't do static libraries. From what the native DDK describes,
    you are "in the cold" as far as docs for this type of coding.

    The code in native.c is just straight forward "C".

    Cheers,
    Cecil

    ------------------

    Leave a comment:


  • Tom Hanlin
    replied
    Unlikely, at best.

    ------------------
    Tom Hanlin
    PowerBASIC Staff

    Leave a comment:


  • Wayne Diamond
    started a topic NT/2K Native Executables

    NT/2K Native Executables

    There is a hello world Native example with C++ source and compiled executable in the zip at http://www.sysinternals.com/native.htm
    There also info on the Native APIs at http://www.sysinternals.com/ntdll.htm

    It prints "Hello world" on the blue Windows NT load screen before Windows NT actually starts...
    any of you C++ gurus know if this is PB'able?


    [This message has been edited by Wayne Diamond (edited October 25, 2000).]
Working...
X