locked
release build problem with FwpmNetEventSubscribe() RRS feed

  • Question

  • Question
    You cannot vote on your own post

    Hi everyone

    while release building my project, I get the error from FwpmNetEventSubscribe() telling me that FWP_E_INVALID_INTERVAL, when in debug mode it works fine.does anybody know what is causing this error and how to fix this?

    using visual studio 2013, using mfc in shared dll, and active solution configuration is set to release.


    --

    Tuesday, April 29, 2014 4:22 PM

Answers

  • This is an issue with your FWPM_NET_EVENT_ENUM_TEMPLATE. Essentially your startTime is greater than your endTime.  endTime must always be greater than (or equal to) the startTime.

    Hope this helps,


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------

    Tuesday, April 29, 2014 8:52 PM
    Moderator

All replies

  • This is an issue with your FWPM_NET_EVENT_ENUM_TEMPLATE. Essentially your startTime is greater than your endTime.  endTime must always be greater than (or equal to) the startTime.

    Hope this helps,


    Dusty Harper [MSFT]
    Microsoft Corporation
    ------------------------------------------------------------
    This posting is provided "AS IS", with NO warranties and confers NO rights
    ------------------------------------------------------------

    Tuesday, April 29, 2014 8:52 PM
    Moderator
  • Thanks

    --

    Wednesday, April 30, 2014 7:08 AM