Hello, thanks for all the information stored away here. It is a great help.
Now, my question, I am having a horrible time trying to get VC++ 6.0, CString, 488.2, and GPIB to all work together.
This works just fine:
Send(GPIB0,7,"*IDN?",5L,NLend);
But I want to be able to use dynamic strings, and the string I have is in the form of a CString.
Send(GPIB0,7,(LPCTSTR)msg,msg.GetLength(),NLend);
I have tried various modifications of the above code with no avail.
I get various error messages, all at compile time, but similar to this:
'Send' : cannot convert parameter 3 from 'class CString' to 'void *'
So if anybody can help me convert this CString into a usable format for Send, or Ibwrt for that matter, I would be very grea
tful.
Thanks in advance,
Paul