all groups > dotnet interop > september 2006 > threads for september 29 - 30, 2006
Filter by week: 1 2 3 4 5
Calling .NET code from ASP
Posted by Mwob at 9/30/2006 9:31:56 AM
Hi,
If I call .NET code from ASP by registering the .NET assemblies with
COM, how can I tell in my assembly if it is being called from interop?
Does anyone know that process actaully executes the .net code - if
asp.net code calls my assembly then obviously the process is
aspnet_wp...
Thank... more >>
C#, Problem trouble shooting PInvoke error.
Posted by karan.shashi NO[at]SPAM gmail.com at 9/29/2006 2:39:22 PM
I keep getting an error while trying to pass a specific struct to a
PInvoked method.
The error code returned when calling Marshal.GetLastWin32Error() is
0x06F8.
I'm trying to consume the setupapi function
SetupDiGetDeviceInstallParams.
The problematic struct is SP_DEVINSTALL_PARAMS.
I fou... more >>
IE Toolbar Visual Style
Posted by David at 9/29/2006 12:28:02 PM
I am currently writing a toolbar for IE in C#, based on the KBBar MSDN sample
http://support.microsoft.com/default.aspx?scid=kb;EN-US;821793
Its all working OK, but does anyone know how to get the toolbar to adopt the
same 3d appearance as the main IE toolbars? The border of the toolbar does ... more >>
VB.NET DLL for use by Classic ASP - calculating HMACSHA1
Posted by Michael Jahnz at 9/29/2006 12:24:39 PM
I need help getting some VB.NET code (via a DLL) to work with classic ASP to
perform HMACSHA1 processing.
I've created VB.NET (ApplicationType is Class Library) code using Visual
Studio 2005, that can calculate a HMAC hash, Base64Encode the result, and
return the value... The VB.NET code is... more >>
Detecting new threads from C#
Posted by Keith Patrick at 9/29/2006 9:45:21 AM
I have a .Net app where I want to monitor other processes & act in response
to the creation, suspension, and ending of threads. Does anyone know if
this is possible without manually sampling the process' thread list (in
other words, actually be notified of these events rather than periodicall... more >>
How do I make C++ enum visible in C#?
Posted by Gregory at 9/29/2006 8:39:02 AM
I have a C++ DLL and Windows Forms C# application. How can I declare an
enumeration in C++ DLL that would be visible to C# client?
I am using Visual Studio 2005.
Thank you in advance.
Gregory Khrapunovich
... more >>
How to Implement IEnumString
Posted by TheInquirer at 9/29/2006 8:14:44 AM
Hi,
there's this type in .NET 2.0 IEnumString.
I'd like to write an implementation of it in my dll which is going to
be used by c++ code through COM.
how can I set the value of pceltFetched properly if this parameter is
not out or ref within the function?
int Next (
int celt,
[OutAttribu... more >>
RCW reference leak with COM events
Posted by Chris at 9/29/2006 5:03:36 AM
Hi,
I have a problem with an RCW reference leak when all of the following
conditions are met:
1. A .NET class implements an interface that is defined by a COM
typelibrary. For the sake of demonstration this COM interface is called
IMyPlugIn. The .NET class is implemented in C# 2.0.
2. Th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
C# interop with classic asp
Posted by elwood.net NO[at]SPAM gmail.com at 9/29/2006 2:08:07 AM
Hi everyone,
I have a .NET assembly that I'm using from classic ASP pages.
One of the methods of my .NET assembly is returning a string array and
I'm not able to retreive this array from the ASP page. I'm having a
type mismatch error if I try to intercept the array.
public string[] T... more >>
|