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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|