Hello Barb,
Thanks for your update. I now share the following information with you:
Based on my experience and research, the TlbExp.exe may desingate a unique
name for each overloaded method. For example, I declare the following
interface in C#:
public interface IMyInterface
{
int Method(string strVal);
int Method(int iVal);
}
If I use OLE View to view the .TLB file generated by TlbExp.exe, the
Method(int) will be changed to Method_2.
interface IMyInterface: IDispatch {
[id(0x60020000)]
HRESULT Method(
[in] BSTR strVal,
[out, retval] long* pRetVal);
[id(0x60020001),
custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, Method)]
HRESULT Method_2(
[in] long iVal,
[out, retval] long* pRetVal);
};
So I recommend you use OLE View to check the new name for the overloaded
methods and the call them from ASP page.
Hope this helps.
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! ¨C
www.microsoft.com/security
This posting is provided ¡°as is¡± with no warranties and confers no rights.