locked
UWP rundll32.exe prompt access refuesd RRS feed

  • Question

  • Hello.

    I have Issue about UWP Birdge application.

    The application called rundll32 with CreateProcess

    to execute anothor dll in this UWP folder.

    But prompt "access refused".

    It seems that rundll32.exe have no access for the dll in UWP folder.

    How can i use a current way to access this dll?

    tks

    Sunday, June 28, 2020 8:57 AM

Answers

  • You cannot.  A UWP app can only use CreateProcess to start other executables in the same app package.  You can't run any outside executables.

    However, since rundll32 is just a complicated way of calling a DLL entry point, why don't you just call the DLL?


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    • Marked as answer by LOLXD Tuesday, June 30, 2020 8:25 AM
    Monday, June 29, 2020 5:00 AM

All replies

  • Hello LOLXD,

    This forum is for "Discuss Windows SDK Documentation, Samples and Tools." It is Win32 C++ focused.

    For UWP related issue you can ask a question at Microsoft Q&A - UWP for more professional support. Thanks for your cooperation.

    Best regards,

    Rita


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, June 29, 2020 1:15 AM
  • You cannot.  A UWP app can only use CreateProcess to start other executables in the same app package.  You can't run any outside executables.

    However, since rundll32 is just a complicated way of calling a DLL entry point, why don't you just call the DLL?


    Tim Roberts | Driver MVP Emeritus | Providenza & Boekelheide, Inc.

    • Marked as answer by LOLXD Tuesday, June 30, 2020 8:25 AM
    Monday, June 29, 2020 5:00 AM