|
-
Aug 15th, 2001, 11:35 AM
#1
Thread Starter
Fanatic Member
exporting matrix from C to VB
How can I export a function which returns a matrix, from C to VB.
In C, the prototype of the function is
int **ProductMatrix(int **m1 ,int **m2,int r1,int c1,int c2)
while calling it in C, I am using
p = ProductMatrix(matrix1,matrix2,row1,col1,col2);
obviously here matrix1 actually refers to 0,0 element of the matrix1.
where p is defined as int **p
But how do I call it in VB?
-
Aug 15th, 2001, 01:53 PM
#2
"ByRef Matrix1(0, 0)" should do the trick. You may want to change int** to int* if it doesnt work.
Z.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|