karol1208 wrote:
I use method ExecuteSQL (CDatabase class) to execute the query like
this:
"DECLARE @p3 int EXEC myfunction 'mytable', 1, @p3 output
select @p3".
The query is executed currently - the data base is updated. But I
don't know how to get the return value @p3 in my program.
This is really not a comp.lang.c++ question. Try one of the MS news
groups. comp.lang.c++ addresses C++ as specified by the standard and
MFC classes are vendor specific (very much so).
Having said that, I would help you more if I knew but I don't and I
doubt many of the posters on this NG would know the answer off hand.