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 > august 2006 > threads for august 15 - 21, 2006

Filter by week: 1 2 3 4 5

Regasm
Posted by James at 8/21/2006 3:34:52 PM
I notice that anytime I run Regasm to register a managed library for COM-interop that it registers it with a threadingmodel of "Both". I have a particular library that can display forms, and therefore, I believe, must run in an STA. Is there control over this? I do note that the registratio...more >>


Can not find Microsoft.office.introp VERSION=12
Posted by Pat at 8/21/2006 6:56:03 AM
I try to test the new version of VSTO (for office 2007), but I didn't have the PIA for the office 2007 version. Did anybody knows where I can find them? Thanks ...more >>

Error when calling .net dll com in ASP page by setting SoapDocumentMethodAttribute
Posted by paul at 8/18/2006 1:57:06 PM
I found a very interesting issue that may draw you pro's attention: I built a COM class using VS 2005 with Framework 2.0,and the code is as below: //----------------------Code Begin---------------------------------- using System; using System.Runtime.InteropServices; namespace Test99 { ...more >>

value from C# to c++/MFC
Posted by vishnu.baroda NO[at]SPAM gmail.com at 8/18/2006 5:44:34 AM
Hi, I have application in c#, which store data buffer of 256, I have other application running on same computer which is in c++/MFC. I wanted data buffer of C# in c++/MFC software, this buffer changes frequently, what is best approch ?? how ?? Thanks in advance ...more >>

Native code unloads before Managed code
Posted by jornfa at 8/18/2006 1:11:01 AM
I have a project where I use the MFC support for interop: <afxwinforms.h>, CWinFormsControl<Ctrl> etc. This works fine exept for some problems when the application closes down. Now and then I get an ASSERT in wincore.cpp l .2870 (WalkPreTranslateTree). Further I can see in the output window th...more >>

C macro traslation in C# wrapper
Posted by Giorgio Tino at 8/17/2006 11:08:14 AM
Hello everyone, I'm writing a C# wrapper for a C library, and I needed some 'design' help. What's the best way to translate to C# something like: #define RECEIVED_ON_PORT_0 ( a ) (((a) & 0x00008000) == 0) #define RECEIVED_ON_PORT_1 ( a ) (((a) & 0x00008000) != 0) The...more >>

Error -2146233037 (0x80131533) when calling CCW for C# assembly
Posted by davidcjmack NO[at]SPAM googlemail.com at 8/17/2006 7:05:38 AM
Hi there! I have a C# assembly which I have checked in the Visual Studio solution to 'Register for COM Interop', registering the types in the registry and generates a TLB file - which I am then importing into a C++ program. My problem seems to be with Arrays - all of the methods in the C#...more >>

Interface pointers replaced with concrete classes when importing a type library
Posted by catharticmomentusenet NO[at]SPAM yahoo.co.uk at 8/16/2006 8:13:04 AM
Hi, I am currently trying to build some re-usable libraries. At the moment my code is split into two COM DLLs, one of which only contains interface definitions, whilst the other contains default implementations of these interfaces. Importing the interfaces library into .NET seems to work co...more >>



MODI - Cannot delete file after document closed
Posted by tbirdsall NO[at]SPAM gmail.com at 8/16/2006 7:08:05 AM
I am using Microsoft Office Document Imaging (MODI) with great success. However, when execute the following code, I get the error "The process cannot access the file 'myFile.tif'" (File name has been shortened). Here is the code I am using: -- BEGIN CODE -- public class OCRUtil : IDisposabl...more >>


DevelopmentNow Blog