WinNT could not locate the entry point

Hi all,

I use Win2K DDK, Win2K IFS and filemon from SysInternal as the base to
develop a file filter driver.

The driver works well under Win2K and WinXP, but when I try to load it
under WinNT 4.0 with Service Pack 6a. An error of C0000263
(STATUS_DRIVER_ENTRYPOINT_NOT_FOUND) is reported by SoftICE. And, a dialog
box popup and reports “the except-handler 3 could not locate continuous
XXXXXXXX”, where XXXXXXXX is some integers. Loading of the driver is uses
OSRLoader, which is downloaded from OSR website.

I’ve a question that will there be any problem for using Win2K DDK and IFS
to compile driver for WinNT ?

How can I make the driver works under WinNT ?

Thanks in advance.

– Philip

If you use SEH and compile sources using W2K/WXP DDK your driver is linked
to _exception_handler3 which is not exported from ntoskrnl.exe in NT4. I
have just release first version of article describing this problem.
http://htfv.vba.com.by/km/nt4ddk/nt4ddk.htm

----- Original Message -----
From: “Philip Hong”
To: “File Systems Developers”
Sent: Friday, January 03, 2003 6:55 PM
Subject: [ntfsd] WinNT could not locate the entry point

> Hi all,
>
> I use Win2K DDK, Win2K IFS and filemon from SysInternal as the base to
> develop a file filter driver.
>
> The driver works well under Win2K and WinXP, but when I try to load it
> under WinNT 4.0 with Service Pack 6a. An error of C0000263
> (STATUS_DRIVER_ENTRYPOINT_NOT_FOUND) is reported by SoftICE. And, a dialog
> box popup and reports “the except-handler 3 could not locate continuous
> XXXXXXXX”, where XXXXXXXX is some integers. Loading of the driver is uses
> OSRLoader, which is downloaded from OSR website.
>
> I’ve a question that will there be any problem for using Win2K DDK and IFS
> to compile driver for WinNT ?
>
> How can I make the driver works under WinNT ?
>
> Thanks in advance.
>
> – Philip
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Hi Alexey,

Thank you very much for your response.

However, I’ve Win2K DDK only, how can I “hack” Win2K DDK to compile driver
for WinNT 4.0.

Thanks in advance.

– Philip

You can get the NT 4 DDK with the MSDN Archive CDs, I think. I keep my old
CDs, or at least some of them. Some “hacking” might work, but if you don’t
tell us what type of driver for what device you need. File systems and file
system filters are fairly easy to write for any of the platforms, but true
plug and play devices only work with 2000 and XP.

Try searching MSDN for answers to your problem. This is especially true if
the problem is the handler_3 entry point. A compatible library to avoid
this problem is available with the XP DDK, I think.

Microsoft doesn’t want small independents working on drivers, so the price
of MSDN Pro or Universal is a barrier to admission. Working without a high
speed internet connection is another barrier since Windbg works best when
using the Microsoft symbol server.

----- Original Message -----
From: “Philip Hong”
To: “File Systems Developers”
Sent: Saturday, January 04, 2003 11:41 PM
Subject: [ntfsd] Re: WinNT could not locate the entry point

> Hi Alexey,
>
> Thank you very much for your response.
>
> However, I’ve Win2K DDK only, how can I “hack” Win2K DDK to compile driver
> for WinNT 4.0.
>
> Thanks in advance.
>
> – Philip
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

Well, I tried to explain what the problem is. I’m not using W2K DDK for a
long time now and I don’t have too much time to “hack” it.

As a fast solution you may try to replace ntoskrnl.lib with one from NT4
DDK.

----- Original Message -----
From: “Philip Hong”
To: “File Systems Developers”
Sent: Sunday, January 05, 2003 6:41 AM
Subject: [ntfsd] Re: WinNT could not locate the entry point

> Hi Alexey,
>
> Thank you very much for your response.
>
> However, I’ve Win2K DDK only, how can I “hack” Win2K DDK to compile driver
> for WinNT 4.0.
>
> Thanks in advance.
>
> – Philip
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

> Microsoft doesn’t want small independents working on drivers, so the
price

of MSDN Pro or Universal is a barrier to admission.

Pro is an affordable price even for Russian individual.

speed internet connection is another barrier since Windbg works best
when
using the Microsoft symbol server.

Never used it, it works with symbols from CD’s too.

Max

From: “David J. Craig”
> Microsoft doesn’t want small independents working on drivers, so the price
> of MSDN Pro or Universal is a barrier to admission. Working without a
high
> speed internet connection is another barrier since Windbg works best when
> using the Microsoft symbol server.

Bullshit, I was a small (1-man) independent shop for 4 years, yes you have
to
spend some money, but a competent developer can pay back Universal in a
couple of days. The DDK team at Microsoft was helpful even though I was
as small an operation as you can get. If you really believe Microsoft is
gouging
you go do Linux drivers (oh I forgot at least around here, people pay less
than
2/3rd’s the rate of a good Windows driver writer, for Linux development).

Don Burn

Lets see, the MSDN is 2,700 the first year, and renewal are 2,000 a year
or about 166/month. A high speed DSL connection is $50/month. If you
can’t afford $200 a month, you should find a different line of work.

-----Original Message-----
From: David J. Craig [mailto:xxxxx@yoshimuni.com]
Sent: Sunday, January 05, 2003 12:51 AM
To: File Systems Developers
Subject: [ntfsd] Re: WinNT could not locate the entry point

Microsoft doesn’t want small independents working on drivers, so the price
of MSDN Pro or Universal is a barrier to admission. Working without a high
speed internet connection is another barrier since Windbg works best when
using the Microsoft symbol server.

May be you can find a better line of work in your country, but not in mine.

BTW, you forgot to add IFS Kit price.

----- Original Message -----
From: “Arthur Kreitman”
To: “File Systems Developers”
Sent: Sunday, January 05, 2003 9:41 PM
Subject: [ntfsd] Re: WinNT could not locate the entry point

> Lets see, the MSDN is 2,700 the first year, and renewal are 2,000 a
year
> or about 166/month. A high speed DSL connection is $50/month. If you
> can’t afford $200 a month, you should find a different line of work.
>
>
>
> -----Original Message-----
> From: David J. Craig [mailto:xxxxx@yoshimuni.com]
> Sent: Sunday, January 05, 2003 12:51 AM
> To: File Systems Developers
> Subject: [ntfsd] Re: WinNT could not locate the entry point
>
>
> Microsoft doesn’t want small independents working on drivers, so the price
> of MSDN Pro or Universal is a barrier to admission. Working without a
high
> speed internet connection is another barrier since Windbg works best when
> using the Microsoft symbol server.
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

I sure wish I had your money if you think about $1000 is “affordable”.

Yes, with MSDN you do get the symbols, but it takes a while if you need to
test against a Windows Update that hasn’t had the new symbols put on the
CDs/DVDs yet. It just works easily and figures out what versions of the
various OS components you have and gets the symbols for them. If you have a
cable modem/DSL or T1, give it a try and you won’t go back. It really only
downloads them once so it is quick, but if you update the testing system, it
will get those updates.

----- Original Message -----
From: “Maxim S. Shatskih”
To: “File Systems Developers”
Sent: Sunday, January 05, 2003 10:44 AM
Subject: [ntfsd] Re: WinNT could not locate the entry point

> > Microsoft doesn’t want small independents working on drivers, so the
> price
> > of MSDN Pro or Universal is a barrier to admission.
>
> Pro is an affordable price even for Russian individual.
>
> > speed internet connection is another barrier since Windbg works best
> when
> > using the Microsoft symbol server.
>
> Never used it, it works with symbols from CD’s too.
>
> Max
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

The market has dried up for developers recently. I have been looking, but I
do live in a non-tech area. If you have contracts, then the MSDN is only a
minor expense, but if you are a developer working on shareware or just for
fun or school, then it is not a trivial expense.

Try writing a file system for school. You need the MSDN Pro or Universal,
and the IFS Kits. You could try with just the IFS Kits, but some of the
additional stuff from MSDN helps explain how file systems are used from the
application’s point of view. I have all the stuff, though some is a little
out of date, but not by much.

There are a few of us recently or somewhat recently laid off. I am the only
device driver specialist, but I know of two or three application developers
and a couple of tech support/QA types. The company, SmartDisk, crashed and
now is just a repackager. They have no engineering staff for software or
even hardware anymore. I know they brought back one electronics technician
to help with returns and other investigations, but their last EE left a
short time ago.

----- Original Message -----
From: “Don Burn”
To: “File Systems Developers”
Sent: Sunday, January 05, 2003 1:50 PM
Subject: [ntfsd] Re: WinNT could not locate the entry point

> From: “David J. Craig”
> > Microsoft doesn’t want small independents working on drivers, so the
price
> > of MSDN Pro or Universal is a barrier to admission. Working without a
> high
> > speed internet connection is another barrier since Windbg works best
when
> > using the Microsoft symbol server.
>
>
> Bullshit, I was a small (1-man) independent shop for 4 years, yes you have
> to
> spend some money, but a competent developer can pay back Universal in a
> couple of days. The DDK team at Microsoft was helpful even though I was
> as small an operation as you can get. If you really believe Microsoft is
> gouging
> you go do Linux drivers (oh I forgot at least around here, people pay less
> than
> 2/3rd’s the rate of a good Windows driver writer, for Linux development).
>
> Don Burn
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com

> I sure wish I had your money if you think about $1000 is
“affordable”.

For a main professional tool??? Surely yes. You have the computer
after all, which costs a similar amount.

Max