View Single Post
  #1 (permalink)  
Old July 17th, 2003, 08:52 PM
skaa skaa is offline
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default ActiveX on Borland C++ Builder

I try to create ActiveX this way:
Main Menu->File->New+->ActiveX->ActiveX Library.
Save, build.
Main Menu->File->New+->ActiveX->Active Server Object.
Enter CoClass Name.
Add the New Method, its parameters are:
Name Value, Type long *, Modifier [in, out]
After this, the Builder is creating the new method in code, I make it so:
STDMETHODIMP TCCActiveXLibEImpl::Method1(long* Value)
{
*Value=65; return S_OK;
}
Save, build.
Run Web Deploy options and enter all the same paths on my Web-server.
Run Web Deploy.
Main Menu->Run->Register ActiveX Server
I try to rum ASP with:
dim t
CBuilderASPObj.Method1(t)
, but t is not changing.
What did I wrong?
Thank you.


!
Reply With Quote