Click here to Skip to main content
15,916,188 members
Home / Discussions / COM
   

COM

 
QuestionHow to export a class in c++ dll. Pin
srinu.m20-Jan-06 3:35
srinu.m20-Jan-06 3:35 
AnswerRe: How to export a class in c++ dll. Pin
Stephen Hewitt20-Jan-06 14:53
Stephen Hewitt20-Jan-06 14:53 
AnswerRe: How to export a class in c++ dll. Pin
Stephen Hewitt20-Jan-06 16:33
Stephen Hewitt20-Jan-06 16:33 
GeneralRe: How to export a class in c++ dll. Pin
srinu.m22-Jan-06 15:51
srinu.m22-Jan-06 15:51 
Questionanyboby can give the link for download Ebook of inside com Pin
baldha rakesh19-Jan-06 17:39
baldha rakesh19-Jan-06 17:39 
QuestionI need some info on active documents Pin
UsmanMKhan19-Jan-06 2:30
UsmanMKhan19-Jan-06 2:30 
QuestionAccessing file system in client with .net winform control used as Activex in page Pin
Daniel Santillanes18-Jan-06 13:28
professionalDaniel Santillanes18-Jan-06 13:28 
QuestionSigning Assemblies with strong names Pin
oceanexplorer18-Jan-06 11:46
oceanexplorer18-Jan-06 11:46 
I am currently following a book on how to sign assemblies with strong names in order to register a serviced component in the into the COM+ catalog and some errors are occuring.

My AssemblyInfo.cs file currently looks like this: (of importance is the AssemblyKeyFile attriubte)

using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.EnterpriseServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("StepByStep7_1")]
[assembly: AssemblyDescription("Retrieve and update data from the Northwind database")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("StepByStep7_1")]
[assembly: AssemblyCopyright("Copyright © 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: ApplicationActivation(ActivationOption.Library)]
[assembly: ApplicationName("NorthwindCS")]
[assembly: AssemblyKeyFile(@"..\..\..\70320.snk")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]

// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("2d37557e-b619-4092-80e4-4a30e2978021")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

When I build the application I get the following error:

Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'


Can anyone help explain why this error is coming up? The build itself actually does succeed, however it is giving me hassle when I come to register the serviced component in the COM+ catalog. I am presuming that it is because of the error in the build?

I would be very grateful to anyone who can help in order that I may move on in the book as I have just got a second wind to return to my studies and want to make the most of it while it lasts!!!

Thanks

Paul
QuestionSet properties in the all ActiveX instances Pin
Andrey200617-Jan-06 23:03
Andrey200617-Jan-06 23:03 
QuestionHow to Debug the dependency dll from the vb Pin
srinu.m17-Jan-06 18:05
srinu.m17-Jan-06 18:05 
QuestionHow to get http response header from IE WebBrowser Control ? Pin
realroot16-Jan-06 18:23
realroot16-Jan-06 18:23 
AnswerRe: How to get http response header from IE WebBrowser Control ? Pin
Stephen Hewitt17-Jan-06 17:46
Stephen Hewitt17-Jan-06 17:46 
GeneralRe: How to get http response header from IE WebBrowser Control ? Pin
realroot17-Jan-06 20:39
realroot17-Jan-06 20:39 
QuestionMatlab ActiveX Variant Datatype Pin
Tolpan16-Jan-06 3:22
Tolpan16-Jan-06 3:22 
QuestionPlease help : Speech API COM Component .Net Pin
naresh_pandey1316-Jan-06 1:23
naresh_pandey1316-Jan-06 1:23 
QuestionI want to learn COM ? Pin
vikas amin16-Jan-06 0:55
vikas amin16-Jan-06 0:55 
AnswerRe: I want to learn COM ? Pin
Gizzo16-Jan-06 4:54
Gizzo16-Jan-06 4:54 
GeneralRe: I want to learn COM ? Pin
vikas amin17-Jan-06 0:51
vikas amin17-Jan-06 0:51 
QuestionMFC DLL with automation in VC++ .NET 2003 Pin
Mila02510-Jan-06 19:53
Mila02510-Jan-06 19:53 
QuestionATL-Objects can't have multiple instances Pin
hvse10-Jan-06 0:02
hvse10-Jan-06 0:02 
AnswerRe: ATL-Objects can't have multiple instances Pin
Stephen Hewitt10-Jan-06 12:03
Stephen Hewitt10-Jan-06 12:03 
QuestionDrag and Drop Pin
Anil_vvs9-Jan-06 23:36
Anil_vvs9-Jan-06 23:36 
QuestionCOM Interdependency Pin
msumit8-Jan-06 16:46
msumit8-Jan-06 16:46 
AnswerRe: COM Interdependency Pin
Stephen Hewitt10-Jan-06 12:05
Stephen Hewitt10-Jan-06 12:05 
GeneralRe: COM Interdependency Pin
msumit12-Jan-06 7:46
msumit12-Jan-06 7:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.