Search:

Type: Posts; User: mr_nice!

Search: Search took 0.01 seconds.

  1. I have no choice, but to follow on these lines,...

    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??
    ...
  2. I suppose what I am trying to ask is there a way...

    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.
  3. Just tried the following code and I can pass the...

    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...
  4. Sorry I must sound so thick :confused: , if i...

    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,...
  5. Cheers Salem for replying I appreciate it!! Are...

    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?
  6. Passing an Array of Strings from VB to a C DLL

    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...
  7. Replies
    1
    Views
    20,632

    appending to an array

    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...
  8. Thread: Swap a bit

    by mr_nice!
    Replies
    7
    Views
    9,163

    thanks a lot that helps a lot as I am using a...

    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!!!!
  9. Thread: Swap a bit

    by mr_nice!
    Replies
    7
    Views
    9,163

    Swap a bit

    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...
Results 1 to 9 of 9