C#/C++/CLI Run Efficiency test Native C + + call Native C + + DLL

Source: Internet
Author: User

This paper is divided into two aspects

One. Native C + + calls Native C + + DLL and tests run time

Two. Implement the operation code completely by C # and test the running time

Detailed process:

One:

As for how to get EfficiencyNativeCPPDLL.dll and EfficiencyNativeCPPDLL.lib and build projects Efficiencynativecppdll

This article describes a local C + + class library called in VS2010 for efficiency testing

1. Common WIN32 Console Application Consolecppinvokedll

2. Select Next click to complete the

3 Calls to EfficiencyNativeCPPDLL.lib

On the resource file in Project Consolecppinvokedll \ Right-click to add an existing item to select EfficiencyNativeCPPDLL.lib

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.