all groups > dotnet interop > november 2005 > threads for november 22 - 28, 2005
Filter by week: 1 2 3 4 5
'Access is denied' accessing VB6 dll through RCW
Posted by AussieBob at 11/28/2005 8:07:49 PM
Hi,
I'm having trouble using a RCW for a dll I created, I receive the
"Access is Denied" error message from my ASP.NET application. In my
MCP 70-315 book I read that the directory containing the COM dll needs
to have write permissions for the User. -- I haven't seen this advice
anywhere on t... more >>
Another C# marshaling question
Posted by Laurent at 11/28/2005 6:02:33 PM
Hi again,
I created a thread some days ago, while I was trying to access a C++ DLL
using my C# program. First of all, I want to thanks all the guys who helped
me. But I still have a problem... My C++ DLL has a function which has the
following prototype:
long FF_Function(void... more >>
Problems with NetJoinDomain
Posted by Pyerwoh at 11/26/2005 10:43:13 AM
Greetings,
I'm trying to join a computer to a domain by using NetJoinDomain from
netapi32.dll. I found the signature on pinvoke.net, but am having difficulty
getting it to work. I was hoping someone could check my code to make sure
that I am doing it right -- (this is one of my first forays... more >>
With what program can I see all the functions in a non-.NET assembly or non-COM dll/exe?
Posted by Gabriel Lozano-MorĂ¡n at 11/25/2005 7:51:55 PM
Is there a program to view all the functions in a dll ? For example assume
that I want to see all the available functions in kernel32.dll...
Gabriel Lozano-Morán
... more >>
Marshaling a link list structure
Posted by none at 11/25/2005 5:37:32 PM
I'm dealing with a legacy C DLL and I need some help & guidance with one
of the structures and functions. We have a link list structure defined
as:
typedef struct OurLinkList
{
OurLinkList* pNext
char chValue[1];
} OurLinkList;
To allocate a node in our C code, we ... more >>
tlbimp To XML???
Posted by Richard T. Edwards at 11/25/2005 4:22:08 PM
I'm wanting to create a quick interop version of a COM ocx and am doing so
using tlbimp.exe.
The problem is that now, I want the output to be readable by my progam so
that my program can write the .Net vesion of the events inside my program.
I had hoped I would be able to simply use xsd an... more >>
Where is "managed support"?
Posted by TAPIGuruFred at 11/25/2005 11:51:55 AM
I posted a message on 11/17 and as a Microsoft Certified Partner, when using
this alias, we are supposed to get a guaranteed turnaround. Does anyone else
have problems with Microsoft recognizing and responding to partner posts? I
double checked and my alias is connected to my account, which ... more >>
managed / unmanged - StringToHGlobalAnsi / PtrToStringAnsi
Posted by Bram Hoefnagel at 11/25/2005 7:37:53 AM
Hi, I've got a problem storing a string into unmanaged memory, witch
can't be restored to managed code.
I've build a NT Service manager, witch acces the Service properties
throug advapi32 calls.
I'm pretty sure the string is stored correct into the unmanged code,
because thru the default window... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Mehods not showing in COM (CCW) interface of .NET assembly
Posted by nigel.stephens NO[at]SPAM parasolit.co.uk at 11/24/2005 2:04:50 AM
Hi,
I have created an assembley in vb.net by adding a class based on the
component tempate to my project. I have a public function called send
that has some parameters and returns a long type.
I have built the project and used regasm.exe to generate a type library
that is a COM Callable Wrapp... more >>
MIDL and preservesig and S_FALSE
Posted by tsteinke NO[at]SPAM gmail.com at 11/24/2005 12:18:20 AM
I am in a situaion where I have a set of idl files that I am building a
..NET assembly with.
using midl and tlbimp.
The problem that I have is that some of the interfaces return S_FALSE
which I need to detect in my C# program.
I can't modify the the idls and I don't want to do the ildasm/il... more >>
C# program calling a C++ DLL
Posted by Laurent at 11/24/2005 12:00:00 AM
Hello,
I received a C++ DLL and I must include it in my C# programm. The
problem is that I don't know how to convert the parameters from C++ to C#,
specialy when there are pointers in it. There are 2 fonctions I would like
to convert.
The first one has only one parameter, b... more >>
How can I connect to any Word version that has a spell checker
Posted by **Developer** at 11/23/2005 8:57:43 PM
I did this:
Dim objWord = New Word.Application
and developed a spell check app based on it.
For the above I found I had to add a reference to
Microsoft Word 9.0 Object Library
Now I'm wondering if someone running my app might have a Word that would
work but is not Word 9.0
... more >>
Where can I find ALL the HRESULTS?
Posted by Juan Dent at 11/23/2005 1:56:27 PM
Hi,
Too often I am presented with an HRESULT that I don't recognize. I know
winerror.h has some, but where can I find ALL of them and up to date?
I am now using VS 2005.
--
Thanks in advance,
Juan Dent, M.Sc.... more >>
.NET to COM
Posted by Yama at 11/23/2005 11:11:12 AM
Gentlemen,
I am considering writing a COM object I could use in a C++ 6.0 environment.
Is .NET Framework required to be installed on host machine when using my
..NET COM object? Or is there an automated way of only having to register the
mscorlib.dll? I would appreciate some enlightenment.
... more >>
ICorRuntimeHost.Stop
Posted by Kevin Darby at 11/23/2005 10:12:57 AM
Hi,
I was wondering if anyone had any success in loading and unloading the .net
framework from a process. I can successfully load the framework, load types
into the default domain, and interact with those types. When the time comes
to unload the framework, I call ICorRuntimehost.Stop (h... more >>
Obtain computer's domain name
Posted by Mircea Pleteriu at 11/23/2005 12:00:00 AM
Hi,
I want to obtain the name of the domain associated with the computer in the
way it is displayed by the My Computer's Properties dialog.
I've been using the native NetWkstaGetInfo method but it does not return the
full name of the domain.
Ex.
Properties dialog display: Domain: web... more >>
Excel Performance
Posted by pearsons_11114 at 11/22/2005 5:10:02 PM
I have a VB.NET app. calling to Excel using an interop assembly and am having
huge, unreasonable performance issues. To save a workbook takes 5 to 6 times
longer than under VB6. I've read up on the issues, but it's hard to believe
that _any_ issue related to threading or marshalling could be l... more >>
Can't disable default behavior when doubleclick on Excel Chart
Posted by jpl at 11/22/2005 3:12:03 PM
I am trying to disable the the default behavior (pop-up) when doubleclick on
object within Excel Chart. I created a program to try out
Chart1_BeforeDoubleClick(). When run, This event behaves differently than the
description described in the VSTO document.
I use Cancel = true in the code.... more >>
Interoprabilty between C++ and C#
Posted by ketan dixit at 11/22/2005 12:00:00 AM
Hi I have a set of classes written in eVC++ Now what I need to do now is to
export this classes to Dot NEt C#. So how do I do it?
... more >>
|