Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > dotnet interop > november 2006 > threads for november 15 - 21, 2006

Filter by week: 1 2 3 4 5

proper way to call a COM DLL
Posted by Darren Mar-Elia at 11/21/2006 6:03:25 PM
All- I have a .Net 2.0 WinForms app. It references a COM DLL provided by MS. The app works just fine on my dev machine but when I create a setup for it, and run the setup on another system, I get an exception when invoking the functionality that calls the DLL. The exception indicates that the...more >>


NetRemoteTOD DllImport
Posted by Steven Edison at 11/21/2006 3:20:28 PM
In C++, what am I doing wrong here? not sure how to get the "ref" for BufferPtr in C++, there are thousands of examples out there for C# and VB.NET, but so few for managed C++. [StructLayout(LayoutKind::Explicit, Size=48)] ref class TIME_OF_DAY_INFO { public: [FieldOffset(0)] unsign...more >>

I have problem whis Windows Media Services 9 Series.
Posted by vera esaulova at 11/21/2006 12:00:00 AM
I have problem whis Windows Media Services 9 Series. I have videostream, which will consist of two streams(512k/bit and 256k/bit).I need to allocate a stream 256k/bit. In SDK is written: Supporting Multiple Bit Rate Files Several versions of the same audio or video content can be stored in ...more >>

question about opening SQL results in Excel from ASP.NET via XML
Posted by Mad Scientist Jr at 11/17/2006 3:44:44 PM
>From an asp.net web page I want the user to open the results of a SQL query in Excel, as automatically as possible (ie not having to loop through columns, rows, in code). For this, dataset.writexml works great (got the code from http://forums.devx.com/archive/index.php/t-57273.html ) The ...more >>

how mutch memory aspnet_wp.exe must use
Posted by ruca at 11/16/2006 11:31:43 AM
Hi gurus, Can anyone tell me please when I really must setup the value of memory that aspnet_wp or w3wp must use in IIS server machine? What I mean is that we have clients that have diferent specificatiosn in their server machines that have IIS to runnning WebApplications. This can chang...more >>

Callbacks in C++, with managed delegates...
Posted by TT (Tom Tempelaere) at 11/16/2006 6:56:02 AM
Hi all, I have a problem with the project I am working on. Someone is coding a driver in plain (unmanaged) C++, and it is required to subscribe a callback for certain notifications. This driver is supposed to be used from a managed environment though, so what I want to do is subscribe a man...more >>

REGDB_E_CLASSNOTREG error when accessing frames collection of IHTMLDocument2 on Windows XP via interop
Posted by PhilC at 11/16/2006 12:28:03 AM
Hi, I've written some code to attempt to get the selected text from an HTML document loaded in a running instance of IE. I need to be able to access the frames collection of the IHTMLDocument2 interface so that I can get text from the documents contained in the frames. Here's what I've got:...more >>

COMException (0x80040154): Class not registered
Posted by Mihai P at 11/15/2006 11:17:47 PM
Hello, My application fail to start on another computer. The exception is thrown trying to call "InitializeComponent()" as you can see below: System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ...more >>



Issue PInvoking GetTokenInformation using TokenElevation
Posted by Orlando at 11/15/2006 10:02:02 PM
Hi, I need to reproduce the code here using C#/pinvoke: http://blogs.msdn.com/cjacks/archive/2006/10/09/How-to-Determine-if-a-User-is-a-Member-of-the-Administrators-Group-with-UAC-Enabled-on-Windows-Vista.aspx Unfortunately, my attempts aren't panning out - the returned values are off fromw ...more >>

how to include the interop in my project
Posted by chintu at 11/15/2006 7:58:15 PM
in my windows application my re is to include in an project ...more >>

byte size packing in compact framework
Posted by Andrew at 11/15/2006 6:14:02 PM
If there is a better NG for compact framework interop then please let me know. I am having a few issues marshalling structs to unmanaged memory whilst trying to acheive the correct layout. Its a shame that the Pack parameter is not supported in the compact framework. I have a simple struct...more >>

ServicedComponent : IObjectControl::Deactivate()
Posted by Arif Khan at 11/15/2006 2:33:02 PM
I am getting folllowing error in one of the service components. I have not override base class's (ServicedComponent ) Deactivate function. Also it's library component called by asp.net worker process and I have not changed the default object pool settings. Please advise. Event Type: Error ...more >>

casting between interop imported COM interfaces
Posted by Kyle at 11/15/2006 9:35:36 AM
I am new to using .Net interop to access legacy COM server. I keep getting a cast exception when I try to cast between imported interfaces. Here is and example of what I am trying to do and how I thought it was suppose to be done (ie I thought interop import dll would handle casting between int...more >>

Does Marshal.GetTypedObjectForIUnknown add reference count to the COM object?
Posted by dotNeter at 11/15/2006 3:53:43 AM
Obj = Marshal::GetTypedObjectForIUnknown(pIUnknown, pTargetType); // pTargetType is certain interface type Did GetTypedObjectForIUnknown use QueryInterface to query the desired interface? My intent is using GetTypedObjectForIUnknown to test 2 interfaces can inter-casting. If succeed, wi...more >>


DevelopmentNow Blog