After searching all over the BeCommunities site I found information that explained how to install the Wizards.
The short description of what I did was: Unzip the Wizards, which yields the following folders: ControlFiles, MDLProjectWizard, MicroStation AddInWizard, MSTNToolWizard I placed the folders in a folder I created: d:\mdlWizards (this was my choosing, not per directions) I then tweaked each of the .vsz files (in the ControlFiles folder) to look something like this: VSWIZARD 7.0 Wizard=VsWizard.VsWizardEngine.8.0 Param="WIZARD_NAME = MDLProjectWizard" Param="ABSOLUTE_PATH = d:\mdlWizards\MDLProjectWizard" Param="FALLBACK_LCID = 1033" I then copied all the files in the ControlFiles folder to C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcprojects (which would be different for people running 32-bit Windows or a different version of Visual Studio, I'm running VS2005) I then launch Visual Studio 2005 and select New, Project. Select Project Type Visual C++ and then pick one of the three Wizards: MicroStationAddInWizard, MDLProjectWizard, MSTNToolWizard. When I select a wizard and click OK it creates the project files. I then attempt to Build and that's when the trouble starts. I've tried each Wizard and each project doesn't build for different reasons. Below is what happened for MSTNToolWizard1 (default name of the project that I kept when using the Wizard). After attempting to fix each issue I tried to Build the project and got new error messages. MSTNToolWizard1 issue: Cannot open the include file mdl.h (and many others) resolution: right-clicked on Project in the Solutions Explorer and selected Properties. On the Properties I went to Configuration Properties > C/C++ > General and added C:\Program Files (x86)\Bentley\MicroStation\mdl\include into the "Additional Include Directories" field. issue: I get the error message #error: Define the Int64 types. resolution: In bentleytype.h where the error appears there is an #else / #endif section that just has the error message. I'm guessing this is because I'm on a 64-bit computer. I would think we could still build since VS is 32-bit. I commented out the #error ... line and then copied the typedef __int64 statements from the top section. This was a total guess so this may be wrong but it got me past the compiling aspect of this error. Any one know what should be here? issue: I get the error message: #error: this gen_dloadlib.h intended only for winNT resolution: I have no idea how to get around this so I just commented out the error for now. Any ideas how to do fix this properly? issue: Cannot open the include file microstationapi.h. resolution: Added C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries 1)\MicroStation\mdl\MicroStationAPI to my Additional Include Directories in the Project Settings issue: Cannot open include file MSTNToolWizard1ToolCmd.h resolution: Not to sure what to do with this one since the file doesn't see the file doesn't exist anywhere. I commented out every where it was included for now. Anyone know what to do with this? issue: CMD_MSTNTOOLWIZARD1_ACTION_PLACE (and others) undeclared identifier resolution: I'm guessing these are suppose to be in the MSTNToolWizard1ToolCmd.h I couldn't find in the last issue. At this point I quit, figuring I need to get the correct answers for the above issues first.
Any thoughts on any of this would be much appreciated.
Thanks,
Mike
Thanks guys for the information. I was teaching yesterday and again today but I'll definitely try this out over the weekend.
I have read thru some of the articles on Jon's site and thru a number of discussions/tutorials on BeCommunities. Getting back into MDL (after many years) is a bit frustrating. The coding side doesn't worry me, it's all the set up to get everything working. Some of tutorials/test I've run have worked out but some have not. My ultimate goal is to work with ProjectWise in MicroStation. The rest of my app is in VBA. I'm trying to understand the whole picture of when to use MDL, MicroStationAPI, Microstation Addins, etc.
I've thought about attending Developer conference but it doesn't look like it's going to cover what I need. Anyway, I press on...
Thanks!
Mike,
I am sure that at the Developer Conference we can answer all of your questions. There are some sessions that will have some open time and there is always the in between time.
Hope to see you there.
mark anderson [Bentley]
Visit me at https://communities.bentley.com/communities/other_communities/bentley_innovation/default.aspx