Compiler error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #473
    RafaelRMachado
    Participant

    Hi Everyone.

    I’m doing some tests on VisualDDK and I’m having a compiler error.
    The line the error happens at this line:

    busInterface = new(‘IBFG’, NonPagedPool) BUS_INTERFACE_STANDARD;

    And the error is this:
    error C2660: ‘operator new’ : function does not take 3 arguments

    Does enybody know if I need to change something to compile this ?

    Thanks Everyone
    Rafael R. Machado

    #2175
    support
    Keymaster

    If you are using BazisLib, please use the npagednew() function. Otherwise, use the ExAllocatePool() API provided by Windows Kernel.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.