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

[VB.Net] The memory is locked ! Interop + object array

P: n/a
Hi,

I find myself in front of an incomprehensible problem :
I'm using a COM function with two parameters :
objectCOM.SampleFunction([TypeArray] as Int16, [DataArray] as Object)

Before, i define TypeArray(0) = 0 and DataArray(0) = "MyString".

But, once that the function is carried out, I have an error message with
COMException: "The memory is locked".
What happened and how can i resolve this ?

Thx
Feb 6 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.