I have no choice, but to follow on these lines, is it not possible at all? All I require is to modify a safe array within C and then pass it back to the VB application, is it in any way possible??
...
Type: Posts; User: mr_nice!
I have no choice, but to follow on these lines, is it not possible at all? All I require is to modify a safe array within C and then pass it back to the VB application, is it in any way possible??
...
I suppose what I am trying to ask is there a way I can modify the safe array as with example code below, it crashes VB.
Just tried the following code and I can pass the array of strings to the C DLL from VB, thanks everyone help is truly appreciated.
VB
Private Declare Sub ReadOutArrayOfStrings _
Lib...
Sorry I must sound so thick :confused: , if i can't use the "reinterpret_cast"
so do i use
SafeArrayAccessData(*StringArray, **StrPtr);instead of
SafeArrayAccessData(*StringArray,...
Cheers Salem for replying I appreciate it!! Are their any major differences between the C++ code shown and the code I would write in C?
Hi everyone, I tried to avoid posting this as I realise you lot are going to destroy my already fragile confidence, but you lot are my last hope. I realise DLL's are a dirty word and I know there are...
I am going to sound really thick, so sorry!!
I have an array and I have filled it with elements (as in E in the example below) I would like then to add that array to another array and just add an...
thanks a lot that helps a lot as I am using a microcontroller timing is essential and therefore the lookup table is the route for me!!
Thanks everyone for all your help!!!!
I have done really bad!!! I have managed to plug a microcontroller in to another chip and done it so the Most Significant Bit plugs into the Least Significant Bit.
the example is I output...