Hi All,
Q 1. Does GacInstall(string assemblyname) & RegisterAssembly(string assemblyname) been implemented/does the source code exist for the same. ?
ie., project having below binaries for subjecting to registration(Win32 dll's, COM dll's, .NET Dll's/assemblies with COM Interfaces, pure .NET dll's/assemblies.
Q 2. my Application is of Unmanaged C++, I need to embed the above calls does I need to perform any compiler switch settings(because invoking managed calls as above).
ie., how to invoke mixed mode call, from Unmanaged code to managed code though I have enabled the project settings to /CLR Safe
and
..
#using <mscorlib.dll>
#include "Abc.h"
.......
#using namespace System;
#using namespace System.Enterpriseservices.internal.publish;
{
Publish p = new Publish();
p.GacInstall(string assemblypath);
}
int Somefunc(void)
{
.....
return 0;
}
Details: VS 2010 IDE , Windows 7 O/S.
Regards,
VishaK_90
--------------------------------------------------------------------------------