Link to home
Start Free TrialLog in
Avatar of sathishkumar
sathishkumar

asked on

linking Obj file of one workspace

Hi,

I have a class A defined in an exe. I have another class B defined in dll which is being used by the exe. I need to inherit class B from A using the obj file of A. I don't want to use the source code of A as well as the header files of A.

How do I this?

Sathish.
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You need the header from A to be able to inherit from it..
Avatar of OnegaZhang
OnegaZhang

You can link an obj file ( just like linking to a library), but you still need the header file