我想请问一下各位高手,能用v8iss3+vs2012来开发MDL吗?目前在使用vs2012编译一个插件,但是各种奇怪的错误.....比较想知道我这种开发配置到底能不能用...
Hi,
I used Google Translator, so I hope I understand your question correctly ;-)
If by "MDL" you mean native C/C++ code using MDL API, you have to use Visual Studio 2005 to compile and link your applicaiton Visual Studio 2008 can be used as the closest alternative, but a threat of bugs (because different versions of compilers) exist. Also it's highly recommend to use bmake to build the application, not Visual Studio project building system.
With regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Thank you for your help, my English is very poor, so it is also in the use of translation software, this is the situation I encountered, please help me.
I really want to make friends with you.
Thank You,
Ji Yang
the problem is already mentioned in the last captured screen: It seems you call MicroStation Developer Shell (link to bat file) with wrong parameters. The Shell accepts (in V8i) two parameters: Where MicroStation is installed and where MicroStation SDK is installed. If you start the shell from desktop or Windows menu, you have to check what parameters (paths) are defined in the link.
You should be aware if you don't use link (shortcut) to bat file, but you will start direct bat file directly without parameters, the shell will be not initialized properly.
I recommend to study "Learning MDL Step by Step" blog writen by Yongan.Fu both in English and Chinese version.
你好!如果是中国开发用户,可将问题发到“中国优先社区”的“技术支持”下的“二次开发”板块
http://communities.bentley.com/communities/other_communities/chinafirst/f/343510#pi20290=1
关于MDL开发入门,请看如下链接:
http://communities.bentley.com/communities/other_communities/chinafirst/w/chinawiki/17713.21