Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9051961
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T13:02:56+00:00 2026-06-16T13:02:56+00:00

I created an Extension SDK which basically consists of a Windows Runtime component that

  • 0

I created an Extension SDK which basically consists of a Windows Runtime component that I have written using C++/CX. I did this so I can make my component available to developers building Windows 8 Store apps in any language (C++, C# or JavaScript).

The SDK works fine on my local machine. I can build and run my app locally both in debug and release configurations. However when I try to remote debug my app on a remote machine, I notice that my app fails when trying to use the component from my SDK. Oddly enough, this failure happens only when my app is running in Debug mode. In release mode, everything works fine.

What am I doing wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T13:02:57+00:00Added an answer on June 16, 2026 at 1:02 pm

    Using Visual Studio 2012

    I think I figured out. I included the same binary of the C++/CX WinRT component in both Debug and Retail folders under redist folder of my Extension SDK.

    As a result this binary always has a dependency on the release CRT from Visual Studio 2012.

    Now when I run the release version of my app remotely, both the app binary and SDK component binary depend on release CRT. And release CRT is also found on the system since the app has a dependency on the release VCLibs package. So the release app works fine.

    However when I run the debug version of my app remotely, the app depends on debug CRT from Visual Studio 2012 but the SDK component depends on the release CRT. Since the app has a dependency only on the debug VCLibs package, it find only the debug CRT at runtime. Therefore the SDK component fails to load.

    The solution is to ensure that when you create your SDK, your release binary depends on release CRT and your debug binary depends on debug CRT.

    For more information about how C++ Runtime works for Windows Store apps, see the following link:
    http://blogs.msdn.com/b/vcblog/archive/2012/09/28/10354327.aspx


    Update that it now works in Visual Studio 2013

    Using Visual Studio 2013

    In Visual Studio 2013 the VCLibs debug AppX package contains both the Debug and Release CRT DLLs. So, in debug configuration, the app depends on the Debug CRT and the Extension SDK binaries depend on the Release CRT. Both of the DLLs are found in the VCLibs Debug AppX package. So it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app that recognizes an extension of a file created in my
I have created an extension for mediawiki that works in all major browsers other
I have created an extension that adds a new column to the main message
I have created an extension method as such.. public static bool AllFlagsSet<T>(this T input,
I have just created an extension that is to be installed on chrome for
I created my own extension library for Windows Azures Table Storage that supports distributed
i have created an extension for mozilla firefox button,which will transliterate a particular webpage.
I have created an extension method called AddGZip which looks like the following: public
I have a Google Chrome extension that opens a Twitter Bootstrap dialog (using JQuery
I have created an extension library component but my XPages Extension Library is working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.