|
From: Ashutosh Bhawasinka on 30 Apr 2008 11:46 Hi, I have a C# .Net application which needs to use some feature which can be only developed in Visual C++ (its extended MAPI). The C# exe will be supplied to users without a setup. What kind of exe/dll should I develop in Visual C++ so that I can meet these requirements 1) No administrator rights are required 2) C# application can use the feature in the VC dll/exe if the dll is present in the same folder and should run even if its not there. 3) If required the VC exe/dll can be embedded inside the C# exe as a resource and when required the file can created by extracting the resource by application itself. As per my understanding, dynamic link library is the only solution. If there is any other option please let me know. Regards, Ashutosh Bhawasinka
From: Alex Blekhman on 30 Apr 2008 12:24 "Ashutosh Bhawasinka" wrote: > As per my understanding, dynamic link library is the only > solution. If there is any other option please let me know. Basically, you're right. Making DLL that exports plain C functions will be the easiest way to achieve your goal. However, there is another option: registration-free COM components. Such component satisfies all your requirements while being fully functional COM component. See here for more info: "Registration-Free COM Interop" http://msdn.microsoft.com/en-us/library/fh1h056h.aspx "Registration Free COM/.Net interop" http://blogs.msdn.com/junfeng/archive/2006/05/17/595140.aspx HTH Alex
From: Norbert Unterberg on 30 Apr 2008 14:20 Ashutosh Bhawasinka schrieb: > Hi, > I have a C# .Net application which needs to use some feature which can > be only developed in Visual C++ (its extended MAPI). > > The C# exe will be supplied to users without a setup. > > What kind of exe/dll should I develop in Visual C++ so that I can meet > these requirements A quick google run reveals http://www.mapi33.adexsolutions.com/ Maybe that would be a way to go? Norbert
From: Ashutosh Bhawasinka on 30 Apr 2008 14:35 Hi, Thanks for your post. It looks great but I can't use it. If I use it I THINK I can't just supply a single exe file for my application. Still, I will try to use it and see how it works. :) Regards, Ashutosh Norbert Unterberg wrote: > > > Ashutosh Bhawasinka schrieb: >> Hi, >> I have a C# .Net application which needs to use some feature which can >> be only developed in Visual C++ (its extended MAPI). >> >> The C# exe will be supplied to users without a setup. >> >> What kind of exe/dll should I develop in Visual C++ so that I can meet >> these requirements > > A quick google run reveals > http://www.mapi33.adexsolutions.com/ > Maybe that would be a way to go? > > Norbert
From: Ashutosh Bhawasinka on 30 Apr 2008 14:35 Thanks!!
|
Pages: 1 Prev: Does VC++ Enforce Pure Abstract? Next: Capture stdout to buffer |