|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > ActiveX on Borland C++ Builder |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|