how to create an interface array??? and performance??? 
Author Message
 how to create an interface array??? and performance???

hi, all
    the com method:
    comobjx.double_array ( IDouble** pIDoubles )
    how to create the  variable pIDoubles???
    am i right? the follwoing:
    IDoublePtr pdsarray[200];
    for ( int i = 0; i < 200; i ++ )
    {
       psd[i].CreateInstance ("XXXX.IDouble");
       psd[i].DValue(0.1);
    }
    comobjx.double_array ( &pdsarray[0] );

 thanks a lot!!!



Thu, 23 Sep 2004 10:57:07 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. array of interface pointer , how to create???

2. Performance Counters: Network Interface

3. Registry interface to performance data?

4. multidimensional arrays and performance

5. Array passing performance...

6. performance evaluation for linked list structure & arrays

7. Array performance/efficiency

8. How to improve the performance(speed) while creating thumbnails

9. Why is CE Performance creating threads so slow?

10. ListView performance - I will pay you to increase performance of this:

11. array of structs as output parameters to ATL dll interfaces

12. Passing byte array from C# to C++ COM interface

 

 
Powered by phpBB® Forum Software