new operator problem


I have problem with ‘new’ operator under Win98FE (USB driver). I have
defined the new operator as folows:

inline PVOID __cdecl operator new(IN unsigned int uSize, IN POOL_TYPE
PoolType=NonPagedPool, IN unsigned int uMaxSize=1)
return ExAllocatePool(PoolType, max(uSize, uMaxSize));

I call this operator in ‘DriverEntry’ to create new class object.
In Win98SE it’s fine. But in Win98FE I have problem to load the driver. The
function ‘DriverEntry’ is not called.

Thanks for help.

You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)