You need to call an unmanaged function from your managed cod

题目
单选题
You need to call an unmanaged function from your managed code by using platform invoke services. What should you do?()
A

Create a class to hold DLL functions and then create prototype methods by using managed code.

B

Register your assembly by using COM and then reference your managed code from COM

C

Export a type library for your managed code.

D

Import a type library as an assembly and then create instances of COM object.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You have an Exchange Server 2010 organization.You need to prevent internal users from sending messages that contains the phrase °Company Confidentia?± to external use.What should you create?()

  • A、a Transport rule
  • B、a managed folder mailbox policy
  • C、a message classification
  • D、a Send connector

正确答案:A

第2题:

请选择合适的选项,补充下列英文句子: Thank you for your() to my store, you can find the products you need from my store.

  • A、visitted
  • B、visited
  • C、visits
  • D、visiting

正确答案:D

第3题:

Part A

51. Directions:

You are preparing to ask for some help from your teacher, write a letter that:

1) detail what you want him or she does for you,

2) express your thanks to your teacher,

You should write about i00 words on ANSWER SHEET II. Do not sign your own name at the end of the letter. You do not need to write the address.


正确答案:
 [参考范文]
Dear Ms Wang,
    I make bold to write this letter to ask you to do me a favor. I have tried to translate several short Chinese stories into English for a part-time job. As it is the first time for me to do a translation work, I think there must be many errors and awkward expressions of Chinese English for my lack of experiences. I sincerely hope that you would read over my manuscripts and correct my mistakes and socialisms. Also could you please give me some other suggestions on my translation work.
    Thank you for your help with great respect!
Your faithful student,
×××

第4题:

You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()

  • A、Ensure that the Web control inherits from the WebControl class.
  • B、Ensure that the Web control inherits from the Control class.
  • C、Ensure that the Web control inherits from the CompositeControl class.
  • D、Ensure that the Web control inherits from the UserControl class.

正确答案:D

第5题:

 You work with a SQL Server 2005 database that provides banking information for customers. You want customers to see banking reports that combine data that is retrieved from the database with real-time investment information that comes from a Web service provided by a third party. The investment information must be current when the reports are executed. You need to create the appropriate objects that support the reports.  What should you do?()

  • A、 Publish the data in the database as an XML Web service by using the FOR XML AUTO clause. 
  • B、 Create a table to store the banking information for each customer. Create a trigger that fires when data is inserted into the table that joins with the data coming from the Web service. 
  • C、 Create a Transact-SQL stored procedure that uses a temporary table to store the banking information for each customer. Update the table with the values from the Web service. 
  • D、 Have a developer in your company create an assembly that calls the remote Web service. Create aCLR function by using the assembly. Call the CLR function and combine the results with banking information in the database.

正确答案:D

第6题:

You have an Exchange Server 2010 server.You need to prevent users from accessing public folders by using Outlook Web App (OWA).Your solution must not prevent users from accessing public folders by using Office Outlook. Which two actions should you perform?()

  • A、Create a managed folder mailbox policy.
  • B、Modify the properties of the OWA virtual directory.
  • C、Modify the default Outlook Web App Mailbox policy.
  • D、Modify the properties of the public folder database.

正确答案:B,C

第7题:

You are the network consultant from passguide.com. In which situation you will advice your customer to implement data centers?()

  • A、Protecting the business from information outages
  • B、Optimizing the efficiency with which IT operates
  • C、An increased need for specialized IT silos
  • D、IT systems grow fast

正确答案:A,B,D

第8题:

You share your portable computer with a co-worker. You use separate user accounts to log on. A wireless netework is available to you and your co-worker. You need to prevent your co-worker from modifying your wireless network profile.What should you do?()

A.A

B.B

C.C

D.D


参考答案:D

第9题:

You are creating a Windows application for graphical image processing by using the .NET Framework 3.5. You create an image processing function and a delegate.You plan to invoke the image processing function by using the delegate.You need to ensure that the calling thread meets the following requirements:  (1)It is not blocked when the delegate is running   (2)It is notified when the delegate is complete What should you do?()

  • A、Call the Invoke method of the delegate.
  • B、Call the BeginInvoke and EndInvoke methods of the delegate in the calling thread.
  • C、Call the BeginInvoke method by specifying a callback method to be executed when the delegate is complete.Call the EndInvoke method in the callback method.
  • D、Call the BeginInvoke method by specifying a callback method to be executed when the delegate is complete.Call the EndInvoke method of the delegate in the calling thread.

正确答案:C

第10题:

You need to call an unmanaged function from your managed code by using platform invoke services. What should you do?()

  • A、Create a class to hold DLL functions and then create prototype methods by using managed code.
  • B、Register your assembly by using COM and then reference your managed code from COM
  • C、Export a type library for your managed code.
  • D、Import a type library as an assembly and then create instances of COM object.

正确答案:A

更多相关问题