C++ Include Paths
[quote user="chockalingam"]error C2653: 'ISessionMgr' : is not a class or namespace name[/quote]
The C++ compiler is telling you that it can't find the declaration of something. Declarations are written in header files. In other words, the compiler can't see the header file that contains the declaration of ISessionMgr.
ISessionMgr is part of the MicroStationAPI. For the compiler to see the files delivered with that API, the relevant folder(s) must be visible to the compiler. Inside the bmake file (mgrtest.mke) you will find the following lines:
dirToSearch = $(MSMDE)/mdl/MicroStationAPI
%include cincapnd.mki
Do not change those lines. They add the path $(MSMDE)/mdl/MicroStationAPI to the list of folders to be searched by the C++ compiler. If you set up the Windows environment correctly, by building the application in a command shell set up by mstndevvars.bat, then macro MSMDE will expand to the correct location.
What steps to you take to build that application? Are you using mstndevvars.bat?