Hi All,
I'm trying to get started with the MicroStationAPI. I think I've read all that there is to read about the API now!
I'm a little confused, when I create my MFC DLL project in VS2008, there is no DllMain which supposedly should have been created automatically. A few questions about the generated solution;
If anybody could give me a few pointers it would be greatly appreciated.
Ian: I'm trying to get started with the MicroStationAPI. I think I've read all that there is to read about the API now! I think I'm just getting a little confused over the differences between MDL & the MicroStation API.
I'm trying to get started with the MicroStationAPI. I think I've read all that there is to read about the API now! I think I'm just getting a little confused over the differences between MDL & the MicroStation API.
You can use either or both MDL and the MicroStationAPI in your Viz Studio project.
Ian: When I create my MFC DLL project in VS2008, there is no DllMain which supposedly should have been created automatically. Should the rc files be removed from the project, or are they ok to stay there? Can MFC dialogs be used within the DLL? Can VS be used to create the *.mc files when building the application?
When I create my MFC DLL project in VS2008, there is no DllMain which supposedly should have been created automatically.
Ian: I've been looking at LA Solutions links which are very informative & helpful.
I've been looking at LA Solutions links which are very informative & helpful.
Thanks for the compliment!
Regards, Jon Summers LA Solutions
Hi Jon,
Thanks for your quick reply!
I'll be developing in C++, so it's the MicroStationAPI that I'm interested in. Having done no MDL programming previously it just seems a little daunting, which is why I keep getting the MDL & MicroStation info mixed up.
If I don't need to be worried that no DllMain is present, then I wont! Just to check that the created class should be derived from CWinApp?
I've tried using bmake to create your SetTitleView app, but because I only have VS2008 installed, it doesn't build as it tries to find the VS2005 tool set. Is there a way around this?
Once this is done, is it just a case of using the Developer Shell to open VS2008 so that all of the Environment Vars are set?
How about debugging? Do you have to run bmake on the source code each time and check it in MicroStation?
Sorry about all of the questions! Hopefully will be able to give a little back to the community once it's all straight in my head!
Thanks again, Ian