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

New Message on BDOTNET

-----------------------------------------------------------
From: venkat_kl
Message 6 in Discussion

Hi Ram,   
Certainly I am not good in Managed & Un-Managed stuff as you are expecting 
(somebody). 
  
Basically my intension is to help the community. At the same time, I can not 
devote all my time also.  
  
For that, My approach would be, search for the related material and show them 
the way ( in fact many a times they can only do that like searching) 
  
 I really can not understand why people do not do that also. Whether they know 
how to search or not is the basic doubt. For Us as well as to them very same 
google, & very same internet facility!!, still….) 
<o:p> </o:p> 
With this background also, I and some of my BDOTNET Friends, try to do what 
ever is possible.  
  
In fact Mr. Smith (LovedJohnySmith) takes extra effort and he tries to explain 
along with one or two relevant links. 
<o:p></o:p>  
.It is duty of the other guy to work on that like trial and error and get the 
work done. Only Some times we can give direct help like giving the code for 
general things. 
<o:p> </o:p> 
Anyway, in your case, What I think is,  
<o:p> </o:p> 
In the first link, he has given, the 
  
Default Marshaling for Arrays   
http://msdn2.microsoft.com/en-us/library/z6cfh6e6(en-US,VS.80).aspx 
  
Default Marshaling for Classes 
http://msdn2.microsoft.com/en-us/library/s0968xy8(en-US,VS.80).aspx 
  
Default Marshaling for Value Types 
http://msdn2.microsoft.com/en-us/library/0t2cwe11(en-US,VS.80).aspx 
  
<o:p> & from your side, </o:p> 
<o:p></o:p>  
You are able to pass classes, and with structures, 
You are able to pass basic types,<o:p></o:p> 
You are able to pass basic data types with arrays<o:p></o:p> 
<o:p> </o:p> 
but you are not able to pass class with array of structures<o:p></o:p> 
<o:p> </o:p> 
What my logic is  
<o:p></o:p>  
observe all the conditions for passing basic data types <o:p></o:p> 
Observe all the conditions for passing basic data types with arrays – anyway 
structures are value type which is similar to basic data type.<o:p></o:p> 
<o:p> </o:p> 
Then while passing array of structure also observer the conditions with respect 
to both arrays and structures. <o:p></o:p> 
<o:p> </o:p> 
Then put it in a class and try to pass.<o:p></o:p> 
<o:p> </o:p> 
The overall gist is <o:p></o:p> 
Try passing only class 
Try passing only arrays<o:p></o:p> 
Try passing only structures<o:p></o:p> 
<o:p> </o:p> 
Then try passing only arrays of structures<o:p></o:p> 
<o:p> </o:p> 
They try passing only arrays with classes<o:p></o:p> 
<o:p> </o:p> 
Then finally try passing arrays of structures with a class 
  
bye 
Venkat_KL<o:p></o:p>

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

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