Q: programmable restart of a 64-bit driver from a 32-bit application

Discussion in 'Windows 64bit' started by Vladimir Chugunov, Nov 30, 2006.

  1. Hello,

    we have an application that need to restart network driver to apply
    configuration changes without restarting the system. We are using
    SetupDi* functions to do this.

    The 32-bits version of the application works fine on 32-bits system as
    well as 64-bits version works fine on the 64-bits Windows. But in case
    of 32-bits application on 64-bits system the SetupDiCallClassInstaller()
    function returns FALSE and reports 0xE0000235 code through GetLastError().

    Is there a possibility to restart driver or just to propagate the
    setting changes to the driver from 32-bits application?

    Thanks in advance,

    Vladimir Chugunov, Nov 30, 2006
    1. Advertisements

  2. As far as I know you cannot call a 32bit process from a 64bit one. This
    includes .DLL's and drivers. I'm not sure what happens if you call the code
    as internal functions to the executable.

    Tony. . .
    Tony Sperling, Nov 30, 2006
    1. Advertisements

  3. No, I'm not calling 32bit process from 64bit one - I need to restart
    64bit driver or somehow propagate the changes made in registry to the
    driver using 32bit application. So I'm calling 64bit process from 32bit
    application - and I'm sure this is allowed because other functionality
    like IOCTLs are working fine.

    Vladimir Chugunov, Dec 1, 2006
  4. O.K. - this will be out of my league, and probably not an issue you will
    find covered in this group.

    Could I suggest you try:


    This sounds like a place where more people with an answer could be hanging

    Good luck!

    Tony. . .
    Tony Sperling, Dec 1, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.