The use of VS2015 to create a C++ Windows Service that works reliably with Windows 7 and 8 and 10

We have created services windows (log events in the event viewer) using VS6.0 and noticed that they were not reliable running on Windows 7 (and beyond). They stopped unexpectedly after startup and so on.

We have VS2005, 2010 for the development of Qt and never looked in services portage. We have to bought VS2015 and found that C++ Windows Service models have not been provided for VS 2010. We have inherited code which must remain C++ (c# conversion is not an option for us). Someone out there who has created a Service from Windows C++ for recent versions of OS? It installs with InstallUtil.exe as the most recent services c#?

This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
*

Tags: Windows

Similar Questions

  • I want to go back to the previous version of 2014.2.  .3 is far too buggy and full of error messages. Create problems because I'm on a timeline with my client and I don't have time to fool around with all the problems.

    2014.3 is far too buggy and full of error messages. Create problems because I'm on a timeline with my client and I don't have time to fool around with all the problems.

    You don't mention what you have encountered errors? Workaround for the problem more frequently reached here is Re: error in Muse: object UID:U6875 has two (or more) owners: U3633 and U3165

    If you have a copy of your .muse file that has not been saved by using 2014.3, you can downgrade by uninstalling Muse, and then choose the previous Version in the drop-down list of filters in the Panel of Apps from the desktop creative cloud application. There will be a popup next to the Muse, where you can select a version prior to install.

  • The appleid on my iphone is an old email address that I no longer have access and for which I don't remember the password. My ID apple implemented through my pc is my new e-mail address. How can I change the appleid on my iphone to match my new email addr

    The appleid on my iphone is an old email address that I no longer have access and for which I don't remember the password. My ID apple implemented through my pc is my new e-mail address. How can I change the application on my iphone to match my new email address

    Here is the procedure to change the Apple ID:

    Change your Apple - Apple Support ID

    If bad comes to worse, use the link below to contact the Apple Support.

  • I recently had to have my rebuilt computer caused by a virus. Now I have Mozilla Firefox with ABP and noticed that Mozilla has a built-in phishing and virus program. Do I need another antivirus program and if so, the one that works best with Firefox?

    I recently had to have my rebuilt computer caused by a virus. Now I have Mozilla Firefox with ABP and see that Firefox has a program's built-in phishing and viruses. Do I need a program additional anti-malware? If so, the one that works best with Firefox? Seems put more you on these things the you have more trouble.

    The anti-phishing protection and malware that Firefox uses checks against a list of websites that have been reported to contain a form of malware and then alerts you. Firefox itself does not scan files to see if they contain viruses/malware. You still need a form any anti-virus and anti-malware protection. You must also use a firewall.

    As for which is better, you are likely to get many different answers, it's a topic that generates a lot of discussion. A product one person loves will be hated by someone else. I use Microsoft Security Essentials as well as Windows Firewall.

  • Windows Live Mail does not open. Contacted the help people who told me to uninstall Windows Live and start over, but my computer won't uninstall it?

    Windows Live Mail does not open. Contacted the help people who told me to uninstall Windows Live and start over, but my computer won't uninstall it? Back to the use of Windows Mail, but now some of my emails are not received by some of their recipients even if they seem to send and there is no error message. It is not a server problem, as everything goes through, if I send directly from their site. Help please.

    original title: Windows Live Mail does not open.

    Hi Fenellacat,

    Here are specific instructions on how to remove and reinstall Windows Live Mail.

    http://support.Microsoft.com/default.aspx/KB/938275

    Matt Hudson
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Is there a list of graphics cards that work perfectly with all the new features of Creative Cloud? I want to update my graphics system and want a model that will be obsolete when the next CC updates the roll autour.

    Is there a list of graphics cards that work perfectly with all the new features of Creative Cloud? I want to update my graphics system and want a model that will be obsolete when the next CC updates the roll autour.

    The "General" cloud requirements are quite low... so you have to ask in the forums of specific program for a special features used by individual programs

    For video editing Premiere Pro, go read it in community: Forum Hardware | Adobe Community

  • I bought the student/teacher edition.  I have a Windows 7 and an IMac.  My instructor told my subscription would allow my to install the product on 2 PC.  Is this true?

    I bought the student/teacher edition.  I have a Windows 7 and an IMac.  My instructor told my subscription would allow my to install the product on 2 PC.  Is this true?

    Just to let you know, there is a difference between installation and activation.

    You can install the software on as many computers as you wish, Mac or PC.

    However, you can activate the software to be used on up to two computers at the same time (via help > connect / disconnect)

  • CS6 Production Premium supports AMD graphics cards? Specifically over-pants M6100. If so, all the features work with the M6100, or are there features that work only with nVidia video cards?

    CS6 Production Premium supports AMD graphics cards? Specifically over-pants M6100. If so, all the features work with the M6100, or are there features that work only with nVidia video cards?

    CS6 does support OpenCL and OpenGL?

    Are all features that CS6 supports for NVidia Cuda available for the M6100 OpenCL?

    Bill supposed to first Pro CC (not CS6) response. Windows of Premiere Pro CS6 version does not support OpenCL for accelerating GPU of MPE. Therefore, there is no "opencl_supported_cards.txt" file in the folder of Premiere Pro, and the code to OpenCL is disabled permanently in all versions of Windows from Premiere Pro CS6. So, for your over-pants M6100 Premiere Pro CS6 will be permanently locked to only software MPE mode. (Acceleration GPU of MSES in the Windows of Premiere Pro CS6 version is limited to the CUDA only, which means that only NVIDIA for GPU - no AMD over-pants or GPU Radeon support CUDA at all.)

  • The use of VixMntApi to create files

    I'm interested in how / if I can create files in remote virtual disks using the VixMntApi?  I am able to do with the virtual machine turned off, but when the virtual machine is turned on I get a file by user error when you open the VMDK files.

    On page 50 of the «Virtual DiskAPI programming Guild...» 1.1 ", she says"If you can not open the basic read/write disk, create a child.

    drive to the front and open it as read-write. »

    The first question I have is this referring to disks premises/hosted, disk / managed remotely or both?

    Second, assuming that it can be applied to remote disk management, what is the best way to create the disc of the child?  I can't use the last VixDiskLib_CreateChild because the documentation says that it applies only to the hosted disc.  I don't see the tasks in the VIM that seem relevant.

    I assume here a VCB environment with shared storage.

    TIA,

    Rick

    If you use VixMntapi to remove a snapshot engine, it would work - of course, you should be aware that you are writing, beyond the control of the guest OS, it's like taking the disk and insert it into another machine.

    So, write down some complications:

    • If there is no storage / system in the comments files filter drivers, they will not be aware of these changes - so they can react to such changes (VSS, backup etc. software.). Another example, it is no longer A / V protection for these "off-line" Scripture or at least protection is different from that provided by the guest operating system.

    • If NTFS versions do not match, some versions of Windows will try to upgrade the new volume NTFS. This may or may not be what you want - even can apply to other file systems.

    -Remy

  • The use of eventhandler to create on trusted reconcile

    Hey guys,.

    I try to use an event handler to create the user an event recon trust.

    So, I wrote a post process event handler and personalized to my BulkEventResult method. the structure is as below

    public BulkEventResult run (long processId, long eventId,
    {BulkOrchestration bulkOrchestration)

    HashMap < String, Serializable > [] bulkParams = bulkOrchestration
    . getBulkParameters();

    for (int i = 0; i < bulkParams.length; i ++) {}
    Code update bulkParams [i] using bulkParams.put (field, value);
    }
    return new BulkEventResult();
    }

    When I print mybulkParams, it shows all my updates. But when the task is complete, it will not refresh changes. The user is created but only with the values that were pulled out of the resource, but not the changes that I made to bulkParams [i].

    I saw the other posts and I think I'm doing the same thing mentioned in other posts, however, my changes get through. Am I missing something?


    Thanks in advance for any help

    In the bulkEvent, you can use the following code to get the user being modified as well as the type of event:

    >
    String operation = .trim m:System.NET.SocketAddress.ToString () () () bulkOrchestration.getOperation;
    String [] entityIds = bulkOrchestration.getTarget () .getAllEntityId ();
    >

    Then later, as you have completed your entries, entityIds [ii] will give you the entityId which you can spend like the take.

    When I do updates in the majority, I store all the values that I intend to update as follows:
    >
    Vector of values = new Vector();
    Treatment of...
    values. Add (new Object() {"act_key", orgKey});
    values. Add (new Object() {"Department name", deptName});
    End processing of the individual user, all the values contained in the vector.
    >
    Once I've dealt with everything for the user instance in global settings, I call the following:

    >
    updateUser (bulkOrchestration.getTarget () .getType (), entityIds [ii], values, operating)
    >

    This function calls the following code:

    >
    Private Sub updateUser (String targetType, String targetId, vector of values , String action) {}
    debug ("updateUser targetType [" + targetType + "]" +)
    "targetId []" + targetId + "]" +.
    "values of size []" + values.size () + "]" +.
    "values []" + values + "]" +.
    "action [' + action +" "])"); "

    HashMap mapAttrs = new HashMap ();
    User user = new User (targetId);

    try {}
    for (Object [] entries: values) {}
    String field = String.valueOf(entries[0]);
    Object value = input [1];

    If (value == null) {}
    debug ("field [" + field + "] value ["+"null"+"]" "");
    } ElseIf (value.toString (.trim () .length ()) == 0) {}
    value = "";
    debug ("field [" + field + "] value [" + value + "]" "");
    }

    If (action.equals ("MODIFY")) {}
    user.setAttribute (field, value);
    } else {}
    mapAttrs.put (field, value);
    }
    }

    If (action.equals ("CREATE")) {}
    getEntityManager () .modifyEntity (targetType, targetId, mapAttrs);
    } else {}
    debug ("update running on the user [" + user + "]");
    getUserManager () .modify (user);
    }

    } catch (Exception e) {}
    System.out.println ("error in update user [" + targetId + "]" + e.getMessage ());
    e.printStackTrace ();
    }
    }
    >

    I call the code above in my two bulkEvent and regular event. It allows me to differentiate the use the EntityManager on creation, because I did not need to trigger the updates through the Lookup.USR_PROCESS_TRIGGERS, but for a change to the user, I do.

    -Kevin

  • The use of dbms_passthrough to create a view of the

    Gurus,
    Can I create a view in oracle to access data frm a MysqlDB using dbms_passthrough. I created a procedure to get the data from the remote system to oracle db using dbms_passthrough but I was wondering if this can be done by using a view

    Published by: user10600431 on January 22, 2009 04:39

    Published by: user10600431 on January 22, 2009 05:52

    user10600431 wrote:
    Yes but I have as many functions and views on top of these tables, unless the function can be dynamic to fetch the result according to the charts.

    You can create a function with the SQL statement, or just the name of table MySql as a parameter. However, you will need to create 50 views. Something like:

    CREATE OR REPLACE VIEW view-N-name AS SELECT list-of-attributes FROM TABLE(function_name('select-from-mysql-tableN'))
    /
    

    SY.

  • By using Labview 7.1 created EXE in Windows Mobile 6.0

    Can I use my edition of the profeesion of 7.1 to create EXE files to run on Windows Mobile 6.0?  I created EXE files and then run directly on touch screen XP embedded without special Touchscreen Mobule.  I was wondering if this is possible under Windows Mobile 6.0?

    This does not work for various reasons. First XP Embedded is just XP with more control on which modules to install and what not. Second reason, it also only works on Intel/AMD x 86 processors. So if you create an executable in LabVIEW for Windows, it will run under XP embedded too, provided that you do not access system services that have not been installed on your XP embedded system.

    Laptop (or as it was earlier called Windows CE) is built in the same way as the Windows API but is not the same. Applications are only (with many limits) source compatible between laptop and normal Windows, but absolutely not binary compatible. Also all Mobile PC systems running on a RISC CPU as the ARM architecture. For these processors has compiled executable for the x 86 CPU architecture is simply a waste of bytes no meaning whatsoever.

    As says altenbach that LabVIEW PDA module to create executable files for Mobile PC systems. But beware, portable PC systems are not at all comparable to desktop systems. The performance of your hardware is magnitudes less, Windows CE (laptop) API is much narrower than on the Windows desktop and PDA module also for this reason has its own limitations. Do not expect a sign before be worn flawlessly to your PDA. There is much less control to choose and also the limited screen real estate is another severe limitation on applications of port Office seamlessly to a PDA.

  • I want the cursor to be in the address bar when you create a new window; It works for new tabs and a new private window, but not in safe mode.

    I tried following the advice offered in the different threads bit I found on this but nothing works out. I want the cursor to be in the address bar when I open a new window or when firefox opens without restoring a previous session. I solved the problem for new tabs via subject: config, but it does not work for the new windows. I tried safe mode and the problem persists. In a new private window, the cursor is in the address bar.

    A new window opens the homepage (default: subject: House) and not the new tab page (default: subject: newtab).

    Some of the built-in pages set the focus to the search bar on the web page, just like the Google site only.

    You can use a bookmark in the bookmarks toolbar that opens the subject: blank page.
    If you hold down the SHIFT key when you click this bookmark, then you open a new widow with this page.
    Otherwise, you need to set the home page to about: blank or on the point: about to have easy access to all the pages.

  • I want to host a literature review using the Document Adobe cloud, the cloud service that Adobe offer with the ITAR requirements?

    Some key aspects of the ITAR , making cloud adoption a challenge include:

    • Information and documents related to the USML items can only be shared by "us"people "(unless authorized by the U.S. Department of State).
    • All U.S. suppliers in the USML supply chain must save gets licenses for import/export of the U.S. Department of State.
    • Re-unauthorized transfer or re-export of any article is a major violation of the law - and is tightly controlled.
    • Scope of the regulation includes data that is accessible by individuals empowered us when traveling outside the United States and is then shared with foreign nationals.

    Depending on the scope and definitions in ITAR, data assets and information are considered as exports. That being said, it is generally accepted that ITAR-controlled documents saved in the cloud must be in accordance with the policies and rules of the ITAR. While most of the companies that need to comply with ITAR rules have detailed compliance programs in place on a strict control of documents, security of information, materials and equipment on site (i.e., in their own facilities and data centers), it's a big challenge to maintain the same strict guidelines when the decision is taken to move to cloud infrastructure for critical business needs.

    And regarding the protection of data, authorities said that encryption is not enough-ITAR if applies even to the data encrypted in the cloud if servers are located outside the United States the IOC newspaper recently quoted a State Department official, "there are currently no exemption of license for the use of encryption to store data in the cloud."

    Hi Matthew,

    Please check the details here: http://www.adobe.com/content/dam/Adobe/en/security/pdfs/adobe-ccf-012015.pdf

    Thank you

    Abhishek

  • The use of registers at offset in a while loop that never loop

    Here's a picture of 'syslog_Device function Engine.vi. This isn't really a question specifically about this vi, but rather a technique I see here.

    First thing I noticed, it was a while loop always outputs, never loops. And shift registers. This serves for the VI can retain values between calls, almost like what I consider a local variable which are persistent between function calls in another language? It is an interesting way to accomplish what I have not looked at.

    Please tell me if I'm missing what is happening here.

    It is a driving force.

    It's a code construct that allows you to encapsulate data and features that are available in multiple threads.

    The nugget I linked above explains their operation the theory behind them and follow-up discussions in discussion on how to exploit them.

    Good questin incidentally!

    Ben

Maybe you are looking for

  • iPOD 4

    How to go from 4 to 8G iPOD /ios 6.1.6 to something more? 6.1.6 iOS is the highest software does 4th generation. Can I upgrade the system or do I have to buy a new iPOD? I'm not very fast on these issues and appreciate your help. Thank you very much,

  • Will be released 13 of Firefox for Android?

    Download fate 13 Firefox on Android? The reason I ask is because for some strange reason, the stable version in the Google game store is still at version 10 (quite old now).I want to have the best features of Firefox, so I hope that 13 will be releas

  • Toshiba e-studio 206 does not print USB cable

    Hello! We have Toshiba e studio 206 which is installed with the usb cable.Official drivers for e-studio 206 granted official website (here and later - a Russian) had been installed without error, the device shows any errors as well and can be used as

  • FTDI SPI dll

    I am trying to import a dll function FTDI with a structure of information device and when it is run it causes an access violation. Does anyone know how to debug and resolve this? The dll, the VI and the document is attached. It's the returned structu

  • 600 G1 powers during the night.

    I have a new Pro 600 G1 with the last BIOS installed 2.21.  The user said after the shutdown of the system (out of service) for the day, morning it's back the morning.  This has happened several times since the PC was installed less than 2 weeks ago.