Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing C++ strings by reference
#14
Hi again.

Thanks for your help on this topic. I love QM for fast development and I use some dll in C in the main QM program when performance is crucial.
If you don't mind, I would need some further help in this area. I know that is out of the scope of this forum but maybe it will also useful for some QM fellows.

My question is for resizing the safearray after populated. I have checked the MS docs about safearray resize, but there are no examples and with so many pointers I am a little lost.

I have used tricks like tokens and checked in QM, but it is not very elegant. In QM we use 'redim' but how to resize the safearray from C++ before to return to QM? Any examples, please?

Thanks in advance for your help.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)