balaji_thaai
September 11th, 2000, 05:54 PM
Hi,
I need a detail v.v.urgently to make a design decision. It's purely about MTS. I need a practical suggesion more than
a book reading. If you know give me the idea ,oterwise let me know our friends (atl) list who is working in MTS consistently.
Question is:
I'm developing a component for mts, that to work with both c++&vb client. Can i use my own data types(c++ struct)
as a parameter type to exchage information.... instead of having tomany parameters for 1 funtion.
(e.g)
GetEmpDetails([in]int id,[out]BSTR* empName,[out]int* empAge,[out]BSTR* empDept); // normal notation.
But i want to write a funtion like this:
typedef Struct public Employee
{
BSTR* name;
int age;
BSTR* empDept;
} myEmployee;
//
GetEmpDetails([in] int id, [out]Employee* emp);
//
Will this funtion work correctly if i deploy under MTS package? THAT'S MY QUESTION?
I need a detail v.v.urgently to make a design decision. It's purely about MTS. I need a practical suggesion more than
a book reading. If you know give me the idea ,oterwise let me know our friends (atl) list who is working in MTS consistently.
Question is:
I'm developing a component for mts, that to work with both c++&vb client. Can i use my own data types(c++ struct)
as a parameter type to exchage information.... instead of having tomany parameters for 1 funtion.
(e.g)
GetEmpDetails([in]int id,[out]BSTR* empName,[out]int* empAge,[out]BSTR* empDept); // normal notation.
But i want to write a funtion like this:
typedef Struct public Employee
{
BSTR* name;
int age;
BSTR* empDept;
} myEmployee;
//
GetEmpDetails([in] int id, [out]Employee* emp);
//
Will this funtion work correctly if i deploy under MTS package? THAT'S MY QUESTION?