I have a function in C# that is passing an array of structures into a DLL written in C++. The struct is a group of ints and when I read out the data in the DLL all the values come out fine. However if I try to write to the elements from C++ the values never show up when I try to read then back in C#.
C#
[StructLayout(LayoutKind.Sequent...
I deploy my application on a computer with no office. it has come out error,
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154
if i install office, it work.
hi, there do u know how to fix...
I have a custom dll (not registered) that I need to access via c#. How do I do this without registering the DLL?
Edit: It is a C++ dll.
...
Hi, what does the following code mean and what does it do ? Is it really required ?
#if !USING_NET11
using System.Runtime.InteropServices.ComTypes;
#endif
In my project file I have implemented the web cam capture using the dshownet wrapper. The above code was there in the Form1.cs file.
Many Thanks
...
Hi,
I was browsing the types in mscorlib using reflector (like you do...) and came across the IExpando interface, in the System.Runtime.InteropServices.Expando namespace.
I did a search in reflector and even checked out MSDN, it seems that no types in mscorlib implement this interface. There are also no code examples on MSDN.
Has anyo...
I am getting following error when using AxAcroPDF
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
The line which throws error is
((System.ComponentModel.ISupportInitialize)(this.axAcroPDF1)).EndInit();
If anyone knows the solution please h...