<?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>How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/products/programming/microstation_programming/f/microstation-programming---forum/208693/how-to-get-information-like-copyright-product-name-product-version-on-a-dll-generated-using-bmake</link><description>Product: Microstation Connect Edition Update 15 and SDK 
 
 I have generated a native MDL Application(containing .ma and DLL) build on c++ using the MicroStation SDK&amp;#39;s bmake tool. When I look at the details tab on the property page of the DLL, the information</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/thread/630291?ContentTypeID=1</link><pubDate>Thu, 21 Jan 2021 09:37:24 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:589f340e-a87d-4006-837b-a7fa9cce6758</guid><dc:creator>Jan Šlegr</dc:creator><description>[quote userid="2269" url="~/products/programming/microstation_programming/f/microstation-programming---forum/208693/how-to-get-information-like-copyright-product-name-product-version-on-a-dll-generated-using-bmake/630137"]It&amp;#39;s nothing to do with a Viz Studio resource file.&amp;nbsp; Perhaps someone from Bentley can confirm?[/quote]
&lt;p&gt;I think it&amp;#39;s clear from mki itself ;-)&lt;/p&gt;
&lt;p&gt;&amp;quot;Mixed assembly&amp;quot; is term used for NET assembly containing also native code (so it&amp;#39;s not pure NET IL) and typically is created using C++/CLI language.&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: How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/thread/630137?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 15:20:10 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:ccb225a2-0ada-43fc-82cc-0c77ebea18c8</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="1084568" url="~/products/programming/microstation_programming/f/microstation-programming---forum/208693/how-to-get-information-like-copyright-product-name-product-version-on-a-dll-generated-using-bmake"]I came across the generateAssemblyInfocpp.mki file from the mki folder[/quote]
&lt;p&gt;That file looks like it&amp;#39;s intended for mixed-mode compilation (C++/CLR).&amp;nbsp; It&amp;#39;s nothing to do with a Viz Studio resource file.&amp;nbsp; Perhaps someone from Bentley can confirm?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/thread/630124?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:41:25 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:8581e3c0-86a1-47e1-8e36-7029eee79b06</guid><dc:creator>Jon Summers</dc:creator><description>[quote userid="1084568" url="~/products/programming/microstation_programming/f/microstation-programming---forum/208693/how-to-get-information-like-copyright-product-name-product-version-on-a-dll-generated-using-bmake"]How to get information like copyright, product name, product version on a DLL? [/quote]
&lt;p&gt;Create a Win32 resource (&lt;code&gt;.rc&lt;/code&gt;) file that contains your version info.&amp;nbsp; The simplest way is to use Viz Studio or copy the data below (&lt;code&gt;Choudhary.rc&lt;/code&gt;)...&lt;/p&gt;
&lt;pre&gt;// Microsoft Visual C++ generated resource script.
//
#include &amp;quot;resource.h&amp;quot; // #defines generated by Viz Studio

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include &amp;quot;afxres.h&amp;quot;

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (United Kingdom) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENG)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_UK
#pragma code_page(1252)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
    &amp;quot;resource.h\0&amp;quot;
END

2 TEXTINCLUDE
BEGIN
    &amp;quot;#include &amp;quot;&amp;quot;afxres.h&amp;quot;&amp;quot;\r\n&amp;quot;
    &amp;quot;\0&amp;quot;
END

3 TEXTINCLUDE
BEGIN
    &amp;quot;\r\n&amp;quot;
    &amp;quot;\0&amp;quot;
END

#endif    // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Version
//

VS_VERSION_INFO VERSIONINFO
 FILEVERSION 21,01,20,0
 PRODUCTVERSION 10,15,0,0
 FILEFLAGSMASK 0x17L
#ifdef _DEBUG
 FILEFLAGS 0x1L
#else
 FILEFLAGS 0x0L
#endif
 FILEOS 0x4L
 FILETYPE 0x2L
 FILESUBTYPE 0x0L
BEGIN
    BLOCK &amp;quot;StringFileInfo&amp;quot;
    BEGIN
        BLOCK &amp;quot;080904b0&amp;quot;
        BEGIN
            VALUE &amp;quot;Comments&amp;quot;, &amp;quot;BoM uses Item Type instances to store business data&amp;quot;
            VALUE &amp;quot;CompanyName&amp;quot;, &amp;quot;Your Company Name&amp;quot;
            VALUE &amp;quot;FileDescription&amp;quot;, &amp;quot;Choudhary&amp;quot;
            VALUE &amp;quot;FileVersion&amp;quot;, &amp;quot;21.01.20.0&amp;quot;
            VALUE &amp;quot;InternalName&amp;quot;, &amp;quot;Choudhary&amp;quot;
            VALUE &amp;quot;LegalCopyright&amp;quot;, &amp;quot;Copyright (c) 2020..2021 Your company&amp;quot;
            VALUE &amp;quot;OriginalFilename&amp;quot;, &amp;quot;Choudhary.dll&amp;quot;
            VALUE &amp;quot;ProductName&amp;quot;, &amp;quot;Choudhary CONNECT Edition&amp;quot;
            VALUE &amp;quot;ProductVersion&amp;quot;, &amp;quot;10.15.0.0&amp;quot;
        END
    END
    BLOCK &amp;quot;VarFileInfo&amp;quot;
    BEGIN
        VALUE &amp;quot;Translation&amp;quot;, 0x809, 1200
    END
END

#endif    // English (United Kingdom) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif    // not APSTUDIO_INVOKED&lt;/pre&gt;
&lt;p&gt;Compile that using Microsoft&amp;#39;s resource compiler.&amp;nbsp; &lt;code&gt;resource.h&lt;/code&gt; is generated by Viz Studio.&amp;nbsp; Here&amp;#39;s the &lt;em&gt;bmake&lt;/em&gt; code...&lt;/p&gt;
&lt;pre&gt;#----------------------------------------------------------------------
#   Compile the Windows resource files for the DLM
#----------------------------------------------------------------------
$(tempObjects)Choudhary.res      	: $(baseDir)Choudhary.rc   $(baseDir)resource.h
&lt;/pre&gt;
&lt;p&gt;The linker merges that resource file with your projects object files.&amp;nbsp; Put it in the object list in your &lt;em&gt;bmake&lt;/em&gt; file...&lt;/p&gt;
&lt;pre&gt;objects	= 	\
	$(tempObjects)Choudhary.obj 				\
    $(tempObjects)Choudhary.res					\
    ...
&lt;/pre&gt;
&lt;p&gt;There&amp;#39;s &lt;a title="LA Solutions: MicroStationAPI Windows Version" href="http://www.la-solutions.co.uk/content/CONNECT/MicroStationAPI/MicroStationAPI-WindowsVersion.htm" rel="noopener noreferrer" target="_blank"&gt;more here&lt;/a&gt;, including a sample project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/thread/630117?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:24:50 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:73994a91-0d40-40eb-af8f-412603dc8c97</guid><dc:creator>Devender Choudhary</dc:creator><description>&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;I couldn&amp;#39;t find much information from Stack Overflow and other forums. Do you have a way of getting these information onto the DLL using bmake tool? or any other .mki file for native c++ dll which would solve the purpose?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get information like copyright, product name, product version on a DLL generated using bmake</title><link>https://communities.bentley.com/thread/630115?ContentTypeID=1</link><pubDate>Wed, 20 Jan 2021 14:13:39 GMT</pubDate><guid isPermaLink="false">6dad98f5-dbc9-4c4d-a9ba-e9da8dc6aa8e:c7b10928-0600-471e-aec3-725b8f79b9bc</guid><dc:creator>Jan Šlegr</dc:creator><description>&lt;p&gt;Hi Devender,&lt;/p&gt;
&lt;p&gt;I think assembly info mki is used for mixed assemblies, created e.g. using C++/CLI, not for native C++ dll.&lt;/p&gt;
&lt;p&gt;I think your question is &amp;quot;general Windows software development&amp;quot; topic. Did you check e.g. Stack Overflow?&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></channel></rss>