Wireless Communication Library Support Forum

Legacy => Wireless Communication Library => Topic started by: TcomGregg on December 10, 2008, 10:05:30 PM

Title: Error 80040154
Post by: TcomGregg on December 10, 2008, 10:05:30 PM
Hi Mike
I just got a new development system (64bit Quad Core Intel running Vista). I cannot get either your demo program or the two VB2008.net programs I wrote on my old XP Pentium 4 development system to run. I get the error ;

An error occurred creating the form. See Exception.InnerException for details.  The error is: Retrieving the COM class factory for component with CLSID {A877C308-D43E-4F99-9083-22E857912A77} failed due to the following error: 80040154.

The line of code it stops at is ;

Me.laLicense.Name = "laLicense"

and in the Immediate Window it says;

Step into: Stepping over non-user code 'Blue_Tiger.My.MyApplication.OnCreateMainForm'
Step into: Stepping over non-user code 'Blue_Tiger.My.MyProject.MyForms.Main.get'
Step into: Stepping over non-user code 'Blue_Tiger.Main.Main'
Step into: Stepping over non-user code 'Blue_Tiger.Main.Main'
Step into: Stepping over non-user code 'Blue_Tiger.Main.InitializeComponent'
Step into: Stepping over non-user code 'Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly'
A first chance exception of type 'System.Runtime.InteropServices.COMException' occurred in wclnet.dll

Gregg  ???
Title: Re: Error 80040154
Post by: Mike Petrichenko on December 11, 2008, 01:23:22 AM
Did you copy wclx.dll and register it on you system with using regsvr ?
Title: Re: Error 80040154
Post by: TcomGregg on December 11, 2008, 02:16:05 PM
I used the Project Add Reference and Choose Items on the Toolbox. Just like I did on the old development system.
Where do I need to copy the .dll's to? and regser?

Title: Re: Error 80040154
Post by: Mike Petrichenko on December 11, 2008, 07:09:13 PM
Have you installed the components or just copied the files? If copied - then you need copy wclx.dll as well (located in the components installation folder and in redist folder). then call regsvr32 -r wclx.dll