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

pass by ref in VB .net

P: n/a
I have a managed c++ dll with function
void getPkts(int *totalPkts);
in which totalPkts will be returned as an out parameter(means it pass
by ref).
BTW, getPkts is member function of class client.
Now, from VB .Net, I do
Private client1 As Client = New Client
Dim pktCnt As Integer = 0

The following error message is displayed when I build this VB project
"getPkts has a return type that is not supported or parameter types
that are not supported.

Any idea?

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.