Can ISAPI dll for IIS be written in managed C++ or does it have to be written in native C++ ?
Related
I made a Universal Windows dll (to use the Bluetooth LE features in Win10) which is used by a game engine (Unreal), but when I load this dll at runtime it tries to load some required dlls: vcruntime140_app, vccorlib140_app, and msvcp140_app. I'm assuming these are the UWP based VC++ redistributables. I have VC++ Redist. installed but when I run my application it says it's looking for these dlls, and not finding them automatically.
If I copy these dlls from the SXS folder, it all works but obviously I don't want to ship my application with my copy of these dlls; so my question is why isn't it looking in the Windows associated folders for these files. Does a UWP DLL need a manifest specifying its use of the VC++ redistributable? From what I understand the _App suffix is for UWP application use.
I was trying to use a COM DLL written VC++ in VB 6 with the help of this Article - http://www.codeproject.com/Articles/8745/A-Beginner-tutorial-for-writing-simple-COM-ATL-DLL
I have created the COM Dll as well as VB forms and the project works fine.
Now I am trying to use the same COM dll in a Win32 Windows forms application written in VS2008.
I have created a similar form to that of vb, I have added the reference of COM Dll to the project.
I would like to know how to use the same Get and Put functions in VC++.
Any pointers towards related tutorials or any info on how to do it would be helpful. Thanks in advance
I'm writing a Suite Installer in InstallShield 2012 Spring Premiere and am including an Extension Condition DLL in the project. I have a .NET version of the library that is included with my application and I'd like to add on the Extension Condition APIs to it so that I don't have to write a C++ version of the exact same code.
Has anyone done this before? Is there a sample project I can look at? KB Article reference?
Many thanks!
may be you can make your .Net Dll COM Visible. Look at this article.
http://jumbloid.blogspot.ca/2009/12/making-net-dll-com-visible.html
I'm trying to patch a .NET DLL file using the Quick Patch project of InstallShield. The DLL needs to be registered for COM Interoperation.
When I patch the file, the dll seems to be replaced correctly in the GAC, but when I try to access it from my application I get an error indicating that the application cannot connect to the DLL.
I think that it is not being registered properly for COM interop, but I'm not sure about it.
Any idea of what should I do to make it work?
Thanks,
You probably have to run regasm(it's in .NET framework directory) with correct params to register for com interop. Also the DLL file is usually built with certain COM visible options selected. Been a long time since I dealt with that nightmare though, so can't remember all the details.
http://msdn.microsoft.com/en-us/library/tzat5yw6(v=vs.80).aspx
Uptil now, we've been using C# to install GAC DLL's to the GAC without any issues
System.EnterpriseServices.Internal.Publish p =
new System.EnterpriseServices.Internal.Publish();
p.GacInstall(filePath);
However, we tried using the same code to install a .NET 4.0 GAC DLL. It does not give any error and says that the GAC is installed.
However, when I look in C:\WINDOWS\Microsoft.NET\assembly folder I do not see the GAC being installed. Also, when I look up the event viewer on the Server it shows me a warning
"Source: COM+ SOAP Services Installation in the global assembly failed: <GACDLL_PATH>
Is there any way I can install a .NET 4.0 GAC DLL into the GAC programtically using C#?
I was able to resolve this issue
I rebuilt my C# project with the target framework 4.0.
Previously I was trying to install .NET 4 GAC DLL with a c# project that was built with the target framework 3.5...
After the project was rebuilt with .NET 4.0 framework I was able to install .NET 4 gac dll. Also, this is backward compatible i.e. you can install GAC DLL's created with previous versions of the .NET framework.