Want to do this in VB - involves C pointers...
-
The Following bit of code:
' int nalg = 10
' int* score = new int[nalg];
'
' for (int n = 0 ; n < nalg ; n++) score[n] = 10*(n+1);
'
'
' // call the function
'
' int fusion_score;
'
' Fusion_Method(&nalg, score, &fusion_score);How would I write this in VB. Fusion_Method is a function in a C Dll that I am "
loadLibrary
"ing into the VB calling code. Thanks! Appreciate your help, ns -
The Following bit of code:
' int nalg = 10
' int* score = new int[nalg];
'
' for (int n = 0 ; n < nalg ; n++) score[n] = 10*(n+1);
'
'
' // call the function
'
' int fusion_score;
'
' Fusion_Method(&nalg, score, &fusion_score);How would I write this in VB. Fusion_Method is a function in a C Dll that I am "
loadLibrary
"ing into the VB calling code. Thanks! Appreciate your help, ns