General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › Creating AxInterop.XMetaLControlLib
-
MichaelLohr January 17, 2018 at 10:41 am
Creating AxInterop.XMetaLControlLib
January 17, 2018 at 10:41 amParticipants 0Replies 1Last Activity 5 years, 2 months agoHi Derek,
I'm new to the XMAX development and try to update our existing application from “XMAX 10” to “XMAX 12”.
We have a C# client application where the XMAX control is used inside.
In VisualStudio we have currently the following two references:
* Interop.XMetaLControlLib
* AxInterop.XMetaLControlLibI can renew the first reference by making an reference to the “XMetaL XMAX 12.0 Type Library” in the “COM”-category,
but I do not know who to update the second one.Could you give me a hint who to renew this?
Best regards,
MichaelXMetaLOldTimer January 18, 2018 at 10:35 pm
Reply to: Creating AxInterop.XMetaLControlLib
January 18, 2018 at 10:35 pmHi Michael,
When you add a project reference to the XMAX dll, Visual Studio should auto-generate these two dlls. You can search the project directory to see if the Ax…dll is there. If the Ax….dll is not generated, you can use aximp.exe to generate it. Generally, it is recommended to delete these two project references prior to reimporting the reference to a newer version of the XMAX dll (or any other COM dll).
Beyond the information provided above, we recommend searching Visual Studio forums for more help. Here are few links I found while researching your question:
[url=https://docs.microsoft.com/en-us/dotnet/framework/tools/aximp-exe-windows-forms-activex-control-importer]https://docs.microsoft.com/en-us/dotnet/framework/tools/aximp-exe-windows-forms-activex-control-importer[/url]
[url=https://docs.microsoft.com/en-us/dotnet/framework/interop/how-to-create-com-wrappers]https://docs.microsoft.com/en-us/dotnet/framework/interop/how-to-create-com-wrappers[/url]
[url=https://www.google.com/search?q=how+to+create+interop+dll+using+visual+studio]https://www.google.com/search?q=how+to+create+interop+dll+using+visual+studio[/url]Regards,
Addam -
AuthorPosts
- You must be logged in to reply to this topic.