[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.setup

Warning Msg and .reg not being created and placed in setup package

JerryWEC

7/19/2007 2:52:00 PM

Hi all!

I'm getting this warning message when rebuilding my solution (projects and
setup project). This .tlb file is created automatically from my
CLA_WMWrapper.dll to be exposed to COM.
WARNING: Unable to create registration information for file named
'CLA_WMWrapper.tlb'

All I can find regarding this message is that it's a problem with duplicate
ProgIDs or ClassIDs. I don't see this but here is a lot in the .tlb file.

If there is anyone that my know how to indentify the problem please review
the contents of the .tlb file and let me know.

Thanks in Advance!!! Jerry

TLB contents:

// Generated .IDL file (by the OLE/COM Object Viewer)
//

// typelib filename: CLA_WMWrapper.tlb

[

uuid(4DF759E2-A326-4856-B48F-97B89D84A035),

version(1.0),

custom(90883F05-3D28-11D2-8F17-00A0C9A6186D, CLA_WMWrapper, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null)

]

library CLA_WMWrapper

{

// TLib : // TLib : mscorlib.dll : {BED7F4EA-1A96-11D2-8F08-00A0C9A6186D}

importlib("mscorlib.tlb");

// TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}

importlib("STDOLE2.TLB");

// Forward declare all types defined in this typelib

dispinterface IWMWrapperEvents;

interface IWMWrapper;

interface _WrapperErrorOccurredHandler;

interface _MessageOccurredHandler;

interface _WeldFailureHandler;

interface _NoDataWaitExpiredHandler;

interface _CommLinkFailureHandler;

interface _GoodWMSHandler;

interface _WeldSketchDoesNotMatchHandler;

interface _WeldSketchNotInCRMSHandler;

[

uuid(01E4406D-5230-4883-998B-CCDFDD34811D),

version(1.0),

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, CLA_WMWrapper.IWMWrapperEvents)

]

dispinterface IWMWrapperEvents {

properties:

methods:

[id(0x00000065)]

void WrapperErrorOccurred([in] BSTR msg);

[id(0x00000066)]

void MessageOccurred([in] BSTR msg);

[id(0x00000067)]

void WeldFailure(

[in] BSTR ProductID,

[in] BSTR Text,

[in] VARIANT_BOOL ReweldRod,

[in] VARIANT_BOOL ExtractRod);

[id(0x00000068)]

void NoDataWaitExpired(

[in] BSTR ProductID,

[in] BSTR Text,

[in] BSTR WaitAttempt,

[in] VARIANT_BOOL ResendWMS,

[in] VARIANT_BOOL ExtractRod);

[id(0x00000069)]

void CommLinkFailure(

[in] BSTR ProductID,

[in] BSTR Text,

[in] VARIANT_BOOL ExtractRod);

[id(0x0000006a)]

void GoodWMS([in] BSTR ProductID);

[id(0x0000006b)]

void WeldSketchDoesNotMatch(

[in] BSTR ProductID,

[in] BSTR Text);

[id(0x0000006c)]

void WeldSketchNotInCRMS(

[in] BSTR ProductID,

[in] BSTR Text);

};

[

odl,

uuid(752E7180-366E-4285-9585-D11DD23EFD61),

version(1.0),

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, CLA_WMWrapper.IWMWrapper)

]

interface IWMWrapper : IUnknown {

[propget]

HRESULT _stdcall ApplicationName([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall ApplicationName([in] BSTR pRetVal);

[propget]

HRESULT _stdcall CommDeviceName([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall CommDeviceName([in] BSTR pRetVal);

[propget]

HRESULT _stdcall MaxLogFileSize([out, retval] long* pRetVal);

[propput]

HRESULT _stdcall MaxLogFileSize([in] long pRetVal);

[propget]

HRESULT _stdcall ListenerPort([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall ListenerPort([in] BSTR pRetVal);

[propget]

HRESULT _stdcall ListenerMachineName([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall ListenerMachineName([in] BSTR pRetVal);

[propget]

HRESULT _stdcall InactivitySleepTime([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall InactivitySleepTime([in] BSTR pRetVal);

[propget]

HRESULT _stdcall TransactionPrefix([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall TransactionPrefix([in] BSTR pRetVal);

[propget]

HRESULT _stdcall TransactionSuffix([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall TransactionSuffix([in] BSTR pRetVal);

[propget]

HRESULT _stdcall LogFilePath([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall LogFilePath([in] BSTR pRetVal);

[propget]

HRESULT _stdcall CommConnected(

[in] BSTR deviceName,

[out, retval] VARIANT_BOOL* pRetVal);

[propget]

HRESULT _stdcall AppID([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall AppID([in] BSTR pRetVal);

[propget]

HRESULT _stdcall DBName([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall DBName([in] BSTR pRetVal);

[propget]

HRESULT _stdcall LoginURL([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall LoginURL([in] BSTR pRetVal);

[propget]

HRESULT _stdcall SystemMode([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall SystemMode([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall CurrentSystemMode([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall CurrentSystemMode([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall WeldType([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall WeldType([in] BSTR pRetVal);

[propget]

HRESULT _stdcall IsReweld([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall IsReweld([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall EquipmentName([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall EquipmentName([in] BSTR pRetVal);

[propget]

HRESULT _stdcall OperatorID([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall OperatorID([in] BSTR pRetVal);

[propget]

HRESULT _stdcall CurrentWeldSketchID([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall CurrentWeldSketchID([in] BSTR pRetVal);

[propget]

HRESULT _stdcall WaitPeriod([out, retval] long* pRetVal);

[propput]

HRESULT _stdcall WaitPeriod([in] long pRetVal);

[propget]

HRESULT _stdcall WaitsAllowed([out, retval] long* pRetVal);

[propput]

HRESULT _stdcall WaitsAllowed([in] long pRetVal);

[propget]

HRESULT _stdcall CurrentProductID([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall CurrentProductID([in] BSTR pRetVal);

[propget]

HRESULT _stdcall BadWeldFailureText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall BadWeldFailureText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall ReweldWeldFailureText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall ReweldWeldFailureText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall WaitExpiredText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall WaitExpiredText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall CommLinkFailureText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall CommLinkFailureText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall WeldSketchDoesNotMatchText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall WeldSketchDoesNotMatchText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall WeldSketchNotInCRMSText([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall WeldSketchNotInCRMSText([in] BSTR pRetVal);

[propget]

HRESULT _stdcall PassFailReturnMessage([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall PassFailReturnMessage([in] BSTR pRetVal);

[propget]

HRESULT _stdcall PassFailResult([out, retval] BSTR* pRetVal);

[propput]

HRESULT _stdcall PassFailResult([in] BSTR pRetVal);

[propget]

HRESULT _stdcall ResultGood([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall ResultGood([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall ResultReceived([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall ResultReceived([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall RodInProcess([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall RodInProcess([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall WeldSummaryReceived([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall WeldSummaryReceived([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall TimeoutCondition([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall TimeoutCondition([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall WeldComplete([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall WeldComplete([in] VARIANT_BOOL pRetVal);

[propget]

HRESULT _stdcall DataSentToDB([out, retval] VARIANT_BOOL* pRetVal);

[propput]

HRESULT _stdcall DataSentToDB([in] VARIANT_BOOL pRetVal);

HRESULT _stdcall CreateCOMMDevice();

HRESULT _stdcall DisplayCommStatusForm();

HRESULT _stdcall SendData([in] BSTR inMsg);

HRESULT _stdcall StartWMProcess([in] BSTR ProductID);

HRESULT _stdcall WeldOperationComplete();

HRESULT _stdcall TurnOnWaitTimer();

HRESULT _stdcall DisplayWeldSummaryViewer();

HRESULT _stdcall HideWeldSummaryViewer();

HRESULT _stdcall NoWeldDataReceived([in] BSTR ProductID);

HRESULT _stdcall EndWMProcess();

HRESULT _stdcall Dispose();

};

[

uuid(A1118032-6EBF-4E1F-B9A4-425F80AC86F5),

version(1.0),

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9, CLA_WMWrapper.WMWrapper)

]

coclass WMWrapper {

interface _Object;

[default] interface IWMWrapper;

interface IDisposable;

[default, source] dispinterface IWMWrapperEvents;

};

[

uuid(FFA76346-31D7-3AB5-A536-91D4AA98CEE5),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WrapperErrorOccurredHandler)

]

coclass WrapperErrorOccurredHandler {

[default] interface _WrapperErrorOccurredHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(4D4A02BA-D5F2-3EAA-9583-743DBF4E8324),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+MessageOccurredHandler)

]

coclass MessageOccurredHandler {

[default] interface _MessageOccurredHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(E56179D6-0DC0-38DF-890D-D5B9E358A4F6),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldFailureHandler)

]

coclass WeldFailureHandler {

[default] interface _WeldFailureHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(34CD324B-A724-3759-8805-BE09923AC92D),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+NoDataWaitExpiredHandler)

]

coclass NoDataWaitExpiredHandler {

[default] interface _NoDataWaitExpiredHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(63889065-7517-312B-BC2A-4E207E86305E),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+CommLinkFailureHandler)

]

coclass CommLinkFailureHandler {

[default] interface _CommLinkFailureHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(B41E6FE1-452C-3AA5-8C9C-4FA588513270),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+GoodWMSHandler)

]

coclass GoodWMSHandler {

[default] interface _GoodWMSHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(4346EA7A-EFD6-310F-99FF-642057C87797),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldSketchDoesNotMatchHandler)

]

coclass WeldSketchDoesNotMatchHandler {

[default] interface _WeldSketchDoesNotMatchHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

uuid(D182404F-F500-3B50-B23B-AFA9A2E01B86),

version(1.0),

noncreatable,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldSketchNotInCRMSHandler)

]

coclass WeldSketchNotInCRMSHandler {

[default] interface _WeldSketchNotInCRMSHandler;

interface _Delegate;

interface _Object;

interface ICloneable;

interface ISerializable;

};

[

odl,

uuid(CB3FBAE3-15C6-3A3B-BAD6-A3807512BA53),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WrapperErrorOccurredHandler)

]

interface _WrapperErrorOccurredHandler : IDispatch {

};

[

odl,

uuid(3E4A5AD2-0CA5-3B54-A72E-D6525210F814),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+MessageOccurredHandler)

]

interface _MessageOccurredHandler : IDispatch {

};

[

odl,

uuid(6A4A2D9E-6AE6-3322-8F6B-8ED71A1BE1EB),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldFailureHandler)

]

interface _WeldFailureHandler : IDispatch {

};

[

odl,

uuid(57BAA11B-7641-3B9F-B702-677F7333070B),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+NoDataWaitExpiredHandler)

]

interface _NoDataWaitExpiredHandler : IDispatch {

};

[

odl,

uuid(5A92BDDE-7227-3DBD-AF3B-2F4BDC531CB0),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+CommLinkFailureHandler)

]

interface _CommLinkFailureHandler : IDispatch {

};

[

odl,

uuid(C1D0CEDE-3CF2-3C71-A9B4-75AFE59F6D22),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+GoodWMSHandler)

]

interface _GoodWMSHandler : IDispatch {

};

[

odl,

uuid(7B4501C6-0192-318E-B92E-E55D990CD832),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldSketchDoesNotMatchHandler)

]

interface _WeldSketchDoesNotMatchHandler : IDispatch {

};

[

odl,

uuid(708D4A60-92BD-3DCB-9B9B-8BCE8F3B5D7D),

hidden,

dual,

oleautomation,

custom(0F21F359-AB84-41E8-9A78-36D110E6D2F9,
CLA_WMWrapper.WMWrapper+WeldSketchNotInCRMSHandler)

]

interface _WeldSketchNotInCRMSHandler : IDispatch {

};

};


1 Answer

JerryWEC

7/20/2007 3:59:00 PM

0

Hi Phil and or others in the COM InterOP land:

The following message occurs during rebuilding of my solution with a setup
project.
*** WARNING: Unable to create registration information for file named
'CLA_WMWrapper.tlb' ***

I can get VS to generate the CLA_WMWrapper.tlb file or I can manually
generate it using TlbExp.exe. Both ways work on creating the COM interface
..tlb file, However, both methods still product the above warning while
rebuilding the package.

If the package can't create the .reg file to register the COM interface then
I have to manually create the .tlb file and register the COM interface using
the RegAsm.exe tool. This does work on my test machine.

Does anyone know how to troubleshoot this warning message?

Thanks in Advance!!! Jerry