GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Certification  >  Microsoft  >  070-176
Go To First  |  Previous Question  |  Next Question 
 070-176  |  Question 331 of 359    Print  
You want to pass a BSTR to a DLL procedure that expects an LPSTR as an argument. How
must you pass the BSTR?
*(A) by value
(B) by reference
(C) by pointer

  
Total Answers and Comments: 0 Last Update: N/A   
  
 Sponsored Links

 

No answers are posted for this question yet.
Be the first to answer it!


 Related Questions

You use Visual Basic to develop a reusable component. To make classes in your project easier to use, you intend to add descriptive text and context-sensitive help for each of the properties, methods, and events in the classes. Which procedure must you follow to add descriptive Help information for each class? A. Open the code Window for the class module. In the procedure Attributes dialog box, enter a description and a HelpcontextID for each procedure. B. Open the code Window for the class module.
Answer: A.  

You are using Visual Basic to create an ActiveX control that you want to distribute to other developers. You want to add an About box to your control to show your e-mail address. How can you implement this About box so that it is available in the Properties Window?A. Add a new property page to your control project. Name this page in the Connect Property Pages dialog box. B. Add a new form to your control project. Create a public procedure to show the form, and set its procedure ID to About Box.
Answer: B.  

You are helping to convert an application from Visual Basic forms to Active Documents so that it can be used in web browsers on the corporate intranet. You are revising code in docCustomer, an active document created from the frmCustomer form. The current code is as follows: Private Sub cmdInventory_Click() FrmInventory.Show End Sub The frminventory form has been converted to become the docinventory active document. Which procedure should you use to best preserve the functionality of
Answer: C.  

You create a Visual Basic application that uses conditional compilation to enable and disable elements of functionality. Which two mechanisms can you use to set conditional compilation constants? (Choose two) A. The dim statement. B. The const statement. C. The #const directive. D. The project properties dialog box. E. The project reference dialog box.
Answer: C, D.  

You are using Visual Basic to debug a program that uses multiple procedures to process information. The program executes a Debug-Assert statement and places Visual Basic in break mode in a low-level utility procedure. You are not sure which procedure called this utility procedure. You want to find out the name of the calling procedure without losing the local context information. How can you do this? A. On the view menu, select Call Stack. B. On the debug menu, select Step out. C.
Answer: A.  

You are debugging a local procedure. Visual Basic is in break mode. There are five local integer variables declared in the procedure. You want to assign new values to these five variables before you continue running code. How can you do this? (Choose two) A. Use the Immediate Window to execute assignment statements for each variable. B. Highlight each value in the watch window and type in each new value. C. Type the new value directly into the source code. D. Highlight each value
Answer: A, D.  

Your Visual Basic application contains the following Sub procedure: Private Sub Increase Number (ByVal iNumber as Integer) Dim iCounter As Integer For iCounter = 1 To 5 iNumber= iNumber + 1 Next iCounter End Sub This subroutine is part of the code for a form named Form1. You define a watch expression on the variable iNumber so that you can examine its value. You want to see the value of iNumber only when Increase Number is executing. What should you do? A. Set the module context
Answer: A.  

You are debugging a Visual Basic program that uses a module named basString. The module contains many functions. You suspect that there are logic errors in both the FindNextSeparator procedure and the FindNextToken procedure in this module. Each of these procedures uses a local variable named intChars. FindNextToken includes a call to FindNextSeparator. FindNextToken is called form a procedure named Process String in a basMain that is in the program. You want to use the Watch window
Answer: C.  

You are using Visual Basic to debug a procedure. You want to change the value of a variable in break mode while stepping through the procedure. How can you do this?A. Open the Locals window, click the value in the value column, and type in a new value. B. Open the Locals window, and type an expression in the expression column to evaluate the desired value. C. Open the watch window, click the value column, and type in a new value. D. Open the watch window, and type an expression in
Answer: A.  

You develop a Visual Basic application that contains a class module named Notify. You want tour application to asynchronously communicate with a COM component named CCVerify. This component supplies credit card verification services to many applications. Each of the client applications will have its own implementation of the Notify class. Each client contains a reference to the CCVerify component, which exposes a Notify interface for this class. To enable this communication, a reference
Answer: A.  


 Sponsored Links

 
Related Articles

jQuery Reference

jQuery Reference Guide by Jonathan Chaffer and Karl Swedberg A Comprehensive Exploration of the Popular JavaScript Library jQuery Reference Guide packtpub com jquery reference guide Open Source book Anatomy of a jQuery Script He s got a brand new start Now he s a happy guy Categ
 

C++ Void Pointer and Null Pointer

C Void Pointer and Null Pointer In this C tutorial you will learn about two interesting types of pointers; void pointers and Null Pointer These pointers will be discussed in conjunction with syntax usage and example mosgoogle center Pointer to Void General Syntax void pointer variable; Void is use
 

SOA Definitions and Certification

SOA Definitions and Certification Service Oriented Architecture is a design that enables Business and computational resources to be linked together on demand as a means of achieving the results desired for service consumers which may be end users or other services Service Oriented Architecture has
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

Tips for Oracle Certification

Getting an Oracle certification is reliable credential recognized by industries that can accelerate professional development and their productivity. So this article provides some tips for getting this oracle certification.  First one must plan well to allocate their time for prepari
 

Oracle Certification and its Importance

Oracle certifications are valid credential recognized by industry that can help one to succeed in their IT career. Oracle is the largest enterprise software company and to get the oracle certification from this company is really a great credit to career.  The Oracle Certification Progr
 

Insight on SAP Certification

The demand for SAP remains strong which makes experience as the paramount in finding work as an SAP consultant or programmer and along with this certification can provide concrete evidence of SAP expertise. The other main reason for certification playing an important role is because the certified
 

VoiceXML Certification Opportunities

At first, the certification program will place an emphasis on the platforms of VoiceXML. The tools and applications would be tested, and to pass the certification program, the system must be in compliance. The process of certification for VoiceXML products will be processed by the members of the Fo
 

Why You Need IT Certification

IT Certification is a term that is often overlooked.  There are also many individuals who are unsure of why they would need to have this knowledge. If you are working in a variety of situations, having IT Certification will help you in several ways.  By understanding why you would
 

What Is IT Certification

Knowing what IT Certification is will allow you to make the right decisions in whether you should focus on it or not.  Having IT Certification can help you in several areas.  This not only includes understanding what the basics of what information technology is, but also understand
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape