hi.
I wanna write an application-plugin pair .
the plugin should call some application's functions , and retun some values to the host applicatopn.
Please help me .
consider we have 10 rooms(Boxes) and a Camera(Sphere).
and if the camera is inside a room ,other rooms are not visible.
the host application has a function IsCamInsideRoom which determines if a sphere is inside a room or not.
for each room consider a plugin ( dll) .
the application calls 10 dlls to check them against the camera.but how should a dll (room or box) access IsCamInsideRoom in the host applcation?
If the function is IsCamInsideRoom() is of dll . you can include the library or directly include the dll in the host application . and call the IsCamInsideRoom() function directly . i dont understand the problem in it .