dalitg
September 11th, 2002, 10:31 AM
Hi,
I need advise on what would be best way to interface with an ATL dll object from web based application [asp page].
1. How do I know which is better regarding performance/computer resources, ect.?
a. build only 1 interface function with huge list of input parameters, so there would be only 1 call to this atl dll object from asp page.
OR
b. make as much as interface dll functions, to match it's content functionality. That way, there would be more then 1 call to the ATL dll object.
Examples:
in asp page:
For 1.a. obj.OneFunction(parameterA,parameterB,parameterC, parameterD, parameterE, parameterF.......,.., );
For 1.b.
obj.funcA(parameterA);
obj.funcB(parameterB);
obj.funcB(parameterC);
obj.funcB(parameterD);
.
.
.
Thx.
Dalit
I need advise on what would be best way to interface with an ATL dll object from web based application [asp page].
1. How do I know which is better regarding performance/computer resources, ect.?
a. build only 1 interface function with huge list of input parameters, so there would be only 1 call to this atl dll object from asp page.
OR
b. make as much as interface dll functions, to match it's content functionality. That way, there would be more then 1 call to the ATL dll object.
Examples:
in asp page:
For 1.a. obj.OneFunction(parameterA,parameterB,parameterC, parameterD, parameterE, parameterF.......,.., );
For 1.b.
obj.funcA(parameterA);
obj.funcB(parameterB);
obj.funcB(parameterC);
obj.funcB(parameterD);
.
.
.
Thx.
Dalit