By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,417 Members | 1,088 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,417 IT Pros & Developers. It's quick & easy.

Overloading for ByRef and ByVal

P: n/a
I'm having problems overloading SendMessage

In some cases the only difference in the parameters is ByRef or ByVal

Since that does not appear to change the signature I've been using
SendMessageRef1 and SendMessageRef2 and SendMessageRef3
to indicate which parameters are ByRef.

Is there a better way of doing that?

Thanks in advance for any help

I tried to add ByRef to the call but that doesn't work.

I read about Marshal but didn't find how to solve this there (I may have
missed it).
Nov 20 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.