Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Programming Extended Stored Procedure 1

Status
Not open for further replies.

phidji

Programmer
Aug 28, 2001
9
FR
Hello,

I programmed a function and i want to include it in a stored procedure.
Code:
string EncryptString(const char *instr, const char *passPhrase);

I declared my output data as a string
Code:
string szOutputData;
...
szOutputData = EncryptString((const char*)pbData, pass);
srv_paramsetoutput(pSrvProc, 2, szOutputData, sizeof(string), FALSE);

But i have an error with szOutputData.

Do u have any idea or a tutorial to learn how to programm input/output in extended stored procedure?

Thanks.
 
on BOL search for article called :
Creating Extended Stored Procedures
That should have all the info you need AL Almeida
NT/DB Admin
"May all those that come behind us, find us faithfull"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top