How to run an application associated with 2 different versions of MFC?

Hello

I created an application that generates a DLL with an EXE which refers to several delivered runtime DLLS. The DLL and EXE have been built with VS2012, and the DLL of enforcement delivered have been built with VS2010. When I try to run the application, I get an access violation in WinMain (calling AfxGetThread returns null). Just to check the application, if the supplied runtime DLLs were also built with VS2012, the application runs correctly.

My goal is to run the application without restoring links there.

Is it possible to use a manifest configuration, using the file and change references to the VS2010 (made by the runtime DLL) to VS2012, so that the application can be run without the restoration of the links?

Here is the config file that I created, but did not succeed:


  
     
        
           
           
           
           
        

     

  

I don't know if the assemblies Microsoft.VS100.MFC and Microsoft.VS100.CRT names are actually valid and also don't know if I can redirect between major versions of VS.

I was not able to find examples of work. Any help would be useful.

Regards, Rob

This issue is beyond the scope of this site and must be placed on Technet or MSDN

Tags: Windows

Similar Questions

  • How to solve error 2147024891 associated with my wndows 7 ultimate

    How to solve error 2147024891 associated with my wndows 7 ultimate
    and abuse of BITS cannot be started

    Hello


    Question: Error 2147024891
    1. Once you get the error code?
    2. were there any changes (hardware or software) to the computer before the show?

    Problem: could not start BITS service
    1. do you get an error message when you start the BITS service?
    2. the problem persists with a particular service?
    Reply with answers to help you in a better way.

    Click on the below mentioned link to get an idea on how to ask for suggestions in this forum.
    http://support.Microsoft.com/kb/555375
  • After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not ope

    After installing Acrobat or Reader on Windows 7 or Vista, icons of applications and file types change in Acrobat/Reader icon. Double click on a file or icon launches Acrobat or Reader. (The native application associated with the file type is not open.)

    Hi peterb53490660,

    Try the steps of troubleshooting mentioned in this KB doc. https://helpx.Adobe.com/Acrobat/KB/application-file-icons-change-Acrobat.html

    Kind regards
    Nicos

  • Xbox live error: my account is associated with a different profile

    I made a new xbox account and put in my Gamertag and when I created there and he has tried to sign up to xbox live, it tells me that my account is associated with a different profile. What should I do

    Original title: Xbox Live

    Hi Khyree,

    Thanks for posting your query in Microsoft Community.

    If your gamertag has been created for you during your initial registration of Xbox Live (which means that you have chosen yourself), you can change once. However, if you have chosen your gamertag to registration and wanting to change it later, you get an error of different profile and your Xbox Live account is charged. Please refer to the following article in the Xbox and check if the problem persists:

    How to change your Xbox Live gamertag

    In addition, see the articles according to the error messages you get:

    Xbox Live: My account | Codes and error messages

    Hope this information is useful. Let us know if you need more help, we will be happy to help you.

  • I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    I'm trying to upgrade a site from Muse and it keeps telling me that the site has been created with a different version of Muse. I have updated Muse and still can not access the site to make changes.

    Hi rgarden95,

    Can you please confirm the exact version of Muse, you open the file with?

    To check the version of Muse, please click Help-> on Adobe Muse CC.

    Kind regards

    Akshay

  • How the Adobe Id change associated with my Sony eReader account?

    Hello

    Two years ago, I bought a Nook reader and set up on my computer with adobe identification code using my friend's e-mail address (I didn't know DRM etc right there). Now, I bought a Sony ereader for myself and Sony Reader library software installed on my computer, and apparently she associated this adobe id old (I didn't know that when I was upgrading my player account library and sony) my Sony eReader account. When my wife opened the Sony ereader, it asks password for adobe (the old adobe id) id. We did not know the implications, so we've entered the password (we got our friend) for this old adobe id (which is the e-mail address of my friend).  He accepted the password (apparently my friend never did anything with this adobe id), but now I have two problems:

    (1) my drive is associated with the e-mail address of my friend (like the adobe id). I can't continue to use than ever.

    (2) my computer is Windows XP purchased four years back and it is not reconginizing my sony ereader (says: USB deivce is not recognized).

    For now, I want to solve the first problem: so, my question is, how do I change the identification code adobe associated with my Sony eReader device (and our reader sony account) to my own identification code Adobe?  And then, how can I have my own identification code Adobe active on my computer?

    Fortunately, I have not bought books yet. But I want to get books from my library. Of course, the question of the USB is something I need to find a solution for. But I could just buy another computer.

    Really appreciate your help.

    Hello

    In order to solve the problem on the subject of Adobe ID, you can follow the steps as suggested below.

    (1) open Adobe Digital Editions and connect your player to
    Press Ctrl + Shift + E on your keyboard.
    Now a screen Deauthorize will appear asking you to withdraw the authorization of your player.
    Follow the instructions on the screen and ban the player.

    Now press Ctrl + Shift + D keys on your keyboard.
    Now a screen Deauthorize will appear asking you to Deauthorize your computer.
    Follow the instructions on the screen and unauthorized to the computer.

    Click Start > run and type "Regedit" without the quotes in the box
    A window opens with the name of the registry editor
    Research of FOLLOWER in a given location.
    HKEY_CURRENT_USER > Software > Adobe > Adept
    Remove the complete file

    Now open Digital Editions and it will ask you to enter your new Adobe ID and password.

    Now plug in your player and he will again allow you enter your Adobe ID and password.

    Please note: your Adobe ID and the password that you enter all by allowing your player must match the ID that you use with Adobe Digital Editions.

    Now for your second problem that your drive is not getting recognized by your computer I suggest you to contact sony support to fix it. That they had some update of the firmware of your player.

    I hope this will help you!

    Concerning

    Rizwan

  • How to run an Application from Firefox?

    Hello
    I want to run an application from my Firefox browser, for example I want to run Notepad.exe from Firefox. I wrote the following program and it opens Notepad from Microsoft Internet Explorer successfully, but when I try to open the same page of Firefox, nothing happens. Firefox only opens it. Is there some sort of opening the Applications in Firefox? Kindly tell me how to open an Application of the Firefox browser.

       <script type="text/javascript" language="javascript">
           function RunFile() {
    
           WshShell.Run("C:\Windows\System32\KinectClothing2.exe", 1, false);
    
           }
       </script>
    

    Maybe the extension "external applications 2 buttons" at https://addons.mozilla.org/en-US/firefox/addon/external-application-button/ which is based on the extension of origin began by Torisugari over ten years ago.

  • How to merge two applications, one with world worm 8.9.35.108 and the other with NI4882 version 8.1.20.119

    Work request #1 is built with common 8.1.20.168 and NI4882 worm 8.1.20.119 worm

    Work request #2 is built with common worm world worm 8.9.35.108 and 8.7.35.131

    When they are merged into a new #3 application, apparently only one Common.dll files can be used...

    If the older Common.dll is used, world routines fail because they require worm 8.7.35.131

    If the new Common.dll is used, NI4882 routines fail because they require worm 8.1.20.168

    What the best way to get the merged application would work?

    Hi Gary,.

    Thanks for the information!   It seems that the problem here is that 4882 version that you reference depends on version 2.0 of the common Assembly .NET, while the version done VISA refers to version 3.5.  TOFIX this, you need is will reference a more recent version of the Assembly 488.2 (recommended) or an earlier version of the assembly VISA.  If you install the latest version of NOR-488. 2, you will be able to reference the most recent assembly, allowing you to successfully run your application with the most recent common Assembly.

  • How to run an application when the cell phone is power on

    I want to run an application when the cell phone is power on. It runs in the background, how so, please give me a code, I don't know, thanks

    It is enough to set project properties in JDE as shown on the attached photo (check below: screenshot.png).

  • How to run the application in the home screen

    Hello

    I would like to know if it is possible to run your application in the home screen, so you could see for example the standard home access area quick screen in the upper part (where time, WI - FI and other things are shown) and my application occupies the rest of the screen.

    Thank you

    Laughing out loud
    I tried, but there was no workable solution.

  • How to bind an application created with Dps Appbuilder and Google Adwords?

    Hello

    I find if it is possible to bind an application created with Dps Appbuilder and Google Adwords?
    I want to create a campaign, but I have to add an Sdk with xcode and add code to follow the app...

    I think that it is not possible to do...

    does anyone have a solution? I have to use the marketing cloud,...?

    Thank you for your answers

    It is not possible to link in the SDK from Google Adwords.

    Neil

  • How to run the application startup script before the start of telnet (inetd)

    Hello

    I need to run my application startup script before the beginning of Telnet users on the server. At the present time, the script is at /etc/rc2.d/S98startup which is not useful.

    Thanks in advance...

    Published by: user4027740 on April 7, 2012 12:41

    I am inclined to ask 'why', but I refrain...

    The problem you'll have is that 'telnet' (really inetd) will be started by SMF and your app startup is a legacy script. I don't know of anyway to you allows to map addictive SMF one departure inherited. The only solution is to write a start of SMF for your application and do inetd:default require your application to be online before you start.

  • How to run the packaged procedure with Ref Cursor

    Hello.
    The question may be very simple for you... but I was confused how to run
    I have the following package
    CREATE OR REPLACE PACKAGE CURSPKG AS 
        TYPE T_CURSOR IS REF CURSOR; 
        PROCEDURE OPEN_ONE_CURSOR (N_EMPNO IN NUMBER, 
                                   IO_CURSOR IN OUT T_CURSOR); 
        
    END CURSPKG;
    / 
    
    
    CREATE OR REPLACE PACKAGE BODY CURSPKG AS
        PROCEDURE OPEN_ONE_CURSOR (N_EMPNO IN NUMBER,
                                   IO_CURSOR IN OUT T_CURSOR)
        IS 
            V_CURSOR T_CURSOR; 
        BEGIN 
            IF N_EMPNO <> 0 
            THEN
                 OPEN V_CURSOR FOR 
                 SELECT EMP.EMPNO, EMP.ENAME, DEPT.DEPTNO, DEPT.DNAME 
                      FROM EMP, DEPT 
                      WHERE EMP.DEPTNO = DEPT.DEPTNO 
                      AND EMP.EMPNO = N_EMPNO;
    
            ELSE 
                 OPEN V_CURSOR FOR 
                 SELECT EMP.EMPNO, EMP.ENAME, DEPT.DEPTNO, DEPT.DNAME 
                      FROM EMP, DEPT 
                      WHERE EMP.DEPTNO = DEPT.DEPTNO;
    
            END IF;
            IO_CURSOR := V_CURSOR; 
        END OPEN_ONE_CURSOR; 
    
        
    END CURSPKG;
    /
    But I want to test (run) this procedure...
    But confused how to have Ref Cursor
    Could you help me in this...

    Thank you

    You must declare a variable of type T_CURSOR and pass it to the procedure like this.

    declare
      lOutCursor CURSPKG.T_CURSOR;
    begin
      CURSPKG.OPEN_ONE_CURSOR(, lOutCursor);
    end;
    
  • New Apple ID for phone associated with a different id of people

    My iPhone is currently associated with Apple ID my wife rather than me. I think that it is at the origin of the storage problems that I continually get messages "not enough available storage" even though I have deleted several photos and apps that I no longer use. How do I associate my iPhone with my Apple ID?

    Settings > iCloud. Go to the bottom of the screen. Click on "logout". Enter the password for the Apple ID woman of your then, once it is disconnected, connect you using your Apple ID.

  • I changed my email online password and now I can't any message in the Mail application. How to upgrade the application Mail with my new password?

    I changed my gmail online password and now I can't any message in the Mail application. How to upgrade to the Mail application with the new password? I looked at the previous questions, and they were told to go to the preferences, accounts, then enter it in the password section. However, I can't find any password section.

    It would help enormously if you posted the OS you are using. 9.2.1 IOS has nothing to do with your MacBook Pro.

    In Mail, try to go to the window menu and choose connection doctor.

Maybe you are looking for