Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use 3.0 interceptors in vb4.0.

Status
Not open for further replies.

selcan

Programmer
Oct 12, 2000
1
0
0
US
I am trying to convert interceptor code written for vb3.0 to work in vb4.0. We have to use migration_c.hh header file which contains wrappers for the old interceptors.

Is anyone out there trying to work with vb4.0??
In previous versions we would implement the interface ClientInterceptorFactory. in 4.0 it seems taht we have to obtain a reference to the ClientInterceptorFactory instead. I am getting compilation errors such as:
Cannot create an object of an abstract class.
(class SampleServerInterceptorFactory contains or inherits at least one
pure virtual function e.g.
"interceptor_migration::ServerInterceptorDelegate
*interceptor_migration::ServerInterceptorFactory::create(const
IOP::TaggedProfile &)".)
SampleServerInterceptorFactory SampleServerInterceptorFactory::_instance;


If any one could help me out, i'd appreciate it.
Thanks,
Selcan [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top