<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://communities.bentley.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration</link><description>Dear Team, 
 We are migrating old MicroStation V8 tools(.ma) to CONNECT EDITION 14. 
 Our old v8 tools contains .rsc resources only but for migration we need .r files it seems. 
 can i migrate my old v8 tool with .rsc file or i need .r file as mandatory</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/603298?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 08:50:57 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:05c441d3-0ad5-435a-8566-0194990e1c46</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="247916" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/603286"] I was using this utility to generate resource file (.r) of icon resources (.rsc)[/quote]
&lt;p&gt;With CONNECT, we can use Windows icons in our apps.&amp;nbsp; For legacy purposes, you may need to retain icon resource definitions, but I haven&amp;#39;t used them in new apps for many years now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/603286?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 08:17:31 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:9b7d4c4e-76b7-4a98-bbe3-badc657c9b31</guid><dc:creator>Sedat Alis</dc:creator><description>&lt;p&gt;Dear Daniel,&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration"]Our old v8 tools contains .rsc resources only but for migration we need .r files it seems.[/quote]
&lt;p&gt;Inside MicroStation v8.1 developer tools, there were key-ins as follows. You may try it to generate .r file&amp;nbsp;from .rsc files. I was using this utility to generate resource file (.r) of icon resources (.rsc). As described by Jan and Jon, normal generation process of .rsc file is from .r source file.&lt;/p&gt;
&lt;p&gt;MicroStation v8.1 Developer Tools;&lt;/p&gt;
&lt;p&gt;MDL L ICONEDIT - Edit icons.&lt;br /&gt;&lt;strong&gt;MDL L SOURCER - Convert resource files to source code.&lt;/strong&gt;&lt;br /&gt;MDL L BUILDER - Build Dialog Boxes.&lt;br /&gt;MDL L CMDTEDIT - Command table editor&lt;br /&gt;MDL L STRGEDIT - String List editor&lt;br /&gt;MDL L RDE - Resource Editor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602322?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:19:08 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:cd73724a-952f-42d3-9143-ed753b9b052d</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602303"]Do we really need dialog box source code .r file for migration?[/quote]
&lt;p&gt;Jan has already answered that topic.&lt;/p&gt;
&lt;p&gt;However, keep in mind that you&amp;#39;re porting from a 32-bit world to 64-bit CONNECT.&amp;nbsp; Will 32-bit binaries work in a 64-bit world?&amp;nbsp; If you have source code, and use &lt;code&gt;rcomp.exe&lt;/code&gt;, delivered with the CONNECT SDK, to create a binary &lt;code&gt;*.rsc&lt;/code&gt; file then that must be CONNECT compatible.&lt;/p&gt;
&lt;p&gt;It is quite likely that the data structures used in an ancient 32-bit app are incompatible with data structures of the same name in 64-bit development.&amp;nbsp; Attempting to use 32-bit resource files for a 64-bit app would be foolish.&amp;nbsp; So, yes, you need the source code for your dialog box.&amp;nbsp; How else will you maintain or extend the app?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602313?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 09:02:46 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:e20f4c10-e870-40f2-8368-81256a1e27ef</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602305"]Complete project must contain dialog source .r file&amp;nbsp;for migration ?[/quote]
&lt;p&gt;As I wrote above: You need &lt;span style="text-decoration:underline;"&gt;complete project&lt;/span&gt; with all source codes. Rsc files are not source codes, they are compiled from .r (plus other like .h) files using resource compiler.&lt;/p&gt;
&lt;p&gt;Summary: You have to have project, containing source files (text files like .mc, .h, .r...) only and to be able to compile the application using V8 SDK development shell.&lt;/p&gt;
&lt;p&gt;I agree with &lt;a href="/members/ae3f7cfd_2d00_fee4_2d00_45a7_2d00_b9a2_2d00_44a6c51212fb"&gt;Sedat Alis&lt;/a&gt;: Everything is possible, including to use rsc files without source codes, but it&amp;#39;s (A) not the way supported officially and (B) requires special knowledge. To use standard way is always recommended.&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602305"]Complete project must contain dialog source .r file&amp;nbsp;for migration ?[/quote]
&lt;p&gt;But not only! As visible from your screen capture, your project is pseudocode (compiled from .mc files), that is obsolete I guess for last 10 years (from XM Edition?) and not supported in CONNECT Edition. So the migration is not about missing .r files only, but also to migrate the code from pseudocode to native code (Visual Studio 2017 Professional) based on CE API.&lt;/p&gt;
&lt;p&gt;When your application is &amp;quot;just one tool&amp;quot;, it&amp;#39;s a question whether it&amp;#39;s not simpler to implement it from scratch, e.g. in C#, which is more limited comparing to C++ API, but provides faster and simpler implementation.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602305?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 08:51:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:263c3e67-28a7-4005-bff8-36453220acb5</guid><dc:creator>Daniel Bollavarapu</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;Yes it is creating missing dialog source code .r file from binary .rsc file.&lt;/p&gt;
&lt;p&gt;Complete project must contain dialog source .r file&amp;nbsp;for migration ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602303?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 08:42:50 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:5b7f884d-3f0c-49e8-aad0-6231635d8907</guid><dc:creator>Daniel Bollavarapu</dc:creator><description>&lt;p&gt;Hi Jon,&lt;/p&gt;
&lt;p&gt;Thanks for explaining about the file types and their use.&lt;/p&gt;
&lt;p&gt;And my question is do we really need dialog box source code .r file for migration ?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602298?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 08:20:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:2644a875-54f8-4cf4-ae73-78ffc721f109</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration"]We are migrating old MicroStation V8 tools(.ma) to CONNECT EDITION 14.[/quote][quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602262"] we are using &amp;#39;mdl load sourcer&amp;#39; tool in V7 to generate .r file from .rsc file.[/quote]
&lt;p&gt;That reads as if you&amp;#39;re reverse-engineering an app to extract its user interface and implementation.&lt;/p&gt;
&lt;p&gt;You seem confused about the purpose of source (&lt;code&gt;*.r&lt;/code&gt;, &lt;code&gt;*.mc&lt;/code&gt;, &lt;code&gt;*.h&lt;/code&gt;, &lt;code&gt;*.fdf&lt;/code&gt;) files and compiled (&lt;code&gt;*.rsc&lt;/code&gt;, &lt;code&gt;*.mo&lt;/code&gt;, &lt;code&gt;*.mp&lt;/code&gt;, &lt;code&gt;*.ma&lt;/code&gt;) files.&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;Header Files&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;Header files (&lt;code&gt;*.h&lt;/code&gt;, &lt;code&gt;*.fdf&lt;/code&gt;) are source code files. Usually shared by implementation &lt;code&gt;*.mc&lt;/code&gt; and resource source (&lt;code&gt;*.r&lt;/code&gt;) files.&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;Resource Definition Files&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;Dialogs, Command Tables and Message lists are defined in one or more reource source (&lt;code&gt;*.r&lt;/code&gt;) files. Resource source code is compiled to binary (&lt;code&gt;*.rsc&lt;/code&gt;) using the Bentley tool &lt;code&gt;rcomp.exe&lt;/code&gt;. Multiple resource files can be merged using the Bentley tool &lt;code&gt;rlib.exe&lt;/code&gt;.&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;Implementation Definition Files&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;MDL is written in source (&lt;code&gt;*.mc&lt;/code&gt;) files. Source code is compiled to an intermediate binary (, &lt;code&gt;*.mo&lt;/code&gt;) file by the Bentley tool &lt;code&gt;mcomp.exe&lt;/code&gt;.&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;Build&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;Finally, all resource binaries and intermediate code files are merged into a &lt;code&gt;*.ma&lt;/code&gt; by the Bentley librarian.&lt;/p&gt;
&lt;h4&gt;&lt;span style="color:seagreen;"&gt;BMake&lt;/span&gt;&lt;/h4&gt;
&lt;p&gt;The above steps are best written in a &lt;em&gt;Bentley Make&lt;/em&gt; (&lt;code&gt;bmake.mke&lt;/code&gt;) file.&amp;nbsp; Your screenshot doesn&amp;#39;t show a &lt;em&gt;bmake&lt;/em&gt; file but it does show a Windows batch file: I hope you&amp;#39;re not controlling the build of your app using a batch file!&amp;nbsp; Prefer a &lt;a title="opensource.com: What is a Makefile and how does it work?" href="https://opensource.com/article/18/8/what-how-makefile" rel="noopener noreferrer" target="_blank"&gt;make file&lt;/a&gt; (&lt;em&gt;bmake&lt;/em&gt;) to manual build methods.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602292?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 08:03:33 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:79b535c4-281b-446a-9b82-1380315d3d46</guid><dc:creator>Sedat Alis</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;First of all everthing is possible but you need some time to learn how to do it. :)&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration"]We are migrating old MicroStation V8 tools(.ma) to CONNECT EDITION 14.[/quote]
&lt;p&gt;I suggest you to start from &lt;a href="/products/programming/microstation_programming/w/wiki/41855/workflows#MigrateV8MDLCode" rel="noopener noreferrer" target="_blank"&gt;Developers Migrating to MicroStation CONNECT &amp;gt; Workflows&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602271?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 06:45:36 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:a743945d-c9eb-42ec-8e45-2a5ec6526eed</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602262"]so we are using &amp;#39;mdl load sourcer&amp;#39; tool in V7 to generate .r file from .rsc file.[/quote]
&lt;p&gt;Yes, it was the only way how to create r from rsc. Can it be used to create missing .r from dialog rsc definitions too?&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/microstation_programming/f/microstation-programming---forum/201342/mdl-v8-tool-to-connect-edition-migration/602262"]So without .r file (dialog box code) can i migrate my tool to CONNECT EDITION ?[/quote]
&lt;p&gt;You need a complete project that can be compiled from scratch (nor rsc files in a middle) to migrate it to CONNECT Edition.&lt;/p&gt;
&lt;p&gt;Frankly, I am a bit surprised you have not needed the source files in the past. It&amp;#39;s possible to use rsc files only, but they are black boxes, and such project cannot be treated as a standard project in my opinion.&lt;/p&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 tool to CONNECT EDITION Migration</title><link>https://communities.bentley.com/thread/602262?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 06:05:44 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:47b6dcbc-4743-4f28-8780-6c2e9bd9602e</guid><dc:creator>Daniel Bollavarapu</dc:creator><description>&lt;p&gt;Dear Jan,&lt;/p&gt;
&lt;p&gt;we have developed one custom tool to reshape the element using MDL&amp;#39;s.&lt;/p&gt;
&lt;p&gt;Our tool contains below files.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/343173/pastedimage1596606907028v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Using &amp;#39;mdl load builder&amp;#39;&amp;nbsp;dialog box was designed.&lt;/p&gt;
&lt;p&gt;All the&amp;nbsp;Dialog Box design code will be in .rsc file.&lt;/p&gt;
&lt;p&gt;We cannot view or edit .rsc file we need &amp;lt;toolname&amp;gt;Dlg.r file for editing, so we are using &amp;#39;mdl load sourcer&amp;#39; tool in V7 to generate .r file from .rsc file.&lt;/p&gt;
&lt;p&gt;So without .r file (dialog box code) can i migrate my tool to CONNECT EDITION ?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MDL V8 to Connect Migration</title><link>https://communities.bentley.com/thread/602256?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2020 05:30:03 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:88f80596-d44d-498d-9db9-193e82ef2f9b</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Daniel,&lt;/p&gt;
&lt;p&gt;please be aware you posted your question to general Developers and Programming forum, but probably more specialized forums like &lt;a href="/products/programming/microstation_programming/f/microstation-programming---forum" rel="noopener noreferrer" target="_blank"&gt;MicroStation Programming forum&lt;/a&gt; or &lt;a href="/products/programming/f/developers-and-programming-forum/201342/mdl-v8-to-connect-migration/(Administration%20forum%20is%20yet%20another%20alternative)" rel="noopener noreferrer" target="_blank"&gt;MicroStation forum&lt;/a&gt; would be better (&lt;a href="/products/administration/f/product-administration-forum" rel="noopener noreferrer" target="_blank"&gt;Product Administration forum&lt;/a&gt; is yet another alternative). To move existing post, use More &amp;gt; Move tool available under your original post.&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/f/developers-and-programming-forum/201342/mdl-v8-to-connect-migration"]We are migration old microstation V8 tools to connect edition 14.[/quote]
&lt;p&gt;Can you please provide more details what exactly do you migrate? It&amp;#39;s not very clear, because of several different formulations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;MDL V8 to Connect Migration&lt;/em&gt; ... is it application&lt;/li&gt;
&lt;li&gt;&lt;em&gt;migration old microtation V8 tools&lt;/em&gt; ... tool is not necessary application, it can be simple customization (panel, icon...)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Based on what should be migrated, the right forum can be selected.&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/f/developers-and-programming-forum/201342/mdl-v8-to-connect-migration"]Our old v8 tools contains .rsc resources only[/quote]
&lt;p&gt;The information &amp;quot;contains .rsc only&amp;quot; is in conflict with information about MDL.&lt;/p&gt;
[quote userid="1062595" url="~/products/programming/f/developers-and-programming-forum/201342/mdl-v8-to-connect-migration"]can i migrate my old v8 tool with .rsc file or i need .r file as mandatory ?[/quote]
&lt;p&gt;Without knowing details requested above the question cannot be answered:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When it&amp;#39;s about to migrate custom tools (no application code), it&amp;#39;s described conversion of rsc to dgnlib (see e.g. &lt;a href="/products/microstation/w/microstation__wiki/4187/migrating-customizations-to-ms-xm" rel="noopener noreferrer" target="_blank"&gt;this wiki&lt;/a&gt;). No .r is necessary in this case.&lt;/li&gt;
&lt;li&gt;When it&amp;#39;s about recompiling an application, source codes (including all .r files) are required. Because of high level compatibility, I can imagine some tweaking to use .rsc files directly, but it&amp;#39;s only my personal hacking idea, nothing official.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; Jan&lt;/p&gt;
&lt;p&gt;P.S. I recommend to be more careful about proper naming and capitalization (not microstation but MicroStation, not Connect but CONNECT Edition or CE...), because text looks better, more professionally and also can be read easier (because we all are used to the names ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>