-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: spark
Message 5 in Discussion


hmmm... i am not very sure also 
 
 
typedef 
struct {
    unsigned int  
stream;           /* Stream 
Number                        
*/
    unsigned int  
function;         /* Function 
Number                      
*/
    unsigned int  
wbit;             /* 
W-bit 
Setting                        
*/
    ETSLENGTH     
length;           /* Message 
or Buffer 
Length             
*/
    unsigned char * buffer; /* Pointer to Message Text 
Buffer       */

    
ETSLENGTH     
error;            /* 
Error 
Code                           
*/
    
int           
next;             /* 
Next Data Item 
Type                  
*/
    unsigned char * txtp;   /* Message Text 
Pointer                 
*/
    ETSLENGTH     
txtc;             /* 
Message Text 
Count                   
*/
    unsigned char * wtxtp;  /* Working 
txtp                         
*/
    ETSLENGTH     
wtxtc;            /* 
Working 
txtc                         
*/
} ETSMSG;

 
typically this would require to be 
specified as a __value type so that it behaves like it was a managed structure. 

see mvc++ is a very strange and 
powerful beast and is a real pleasure to work with - it manages the old c 
runtime in parallel with the managed runtime and seems to move in and out of 
these. 
 
however aamir is right - it seems 
that all she/he actually wanted to expose was the class that is __gc - ed. So 
while the component might be a mixed mode one, it seems to expose fully managed 
interfaces to everything you need. 
 
simply create a c# project in 
studio and add this dll as a reference - i am expecting that vs.nets 
intellisense should show you some of the types in the auto 
complete.
 
rosh

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to