all groups > dotnet interop > june 2007 > threads for june 1 - 7, 2007
Filter by week: 1 2 3 4 5
VB.NET / DLL structure passing
Posted by sam at 6/7/2007 7:45:15 PM
I have a third-party DLL (unmanaged) for which I am trying to call a
function. The function requires a structure (as an argument) which
utilized several variables I am unable to translate.
The original C header structures contain (amongst other things that I
have already translated):
t... more >>
how to interop .net components
Posted by katta.naveenkumar NO[at]SPAM gmail.com at 6/7/2007 1:51:37 AM
Hi friends
I am using 3rd party tool ASPPDFLib to creating pdf template
' create instance of the PDF manager
Dim objPDF As IPdfManager
objPDF = New PdfManager
at the runtime i am geting below error
COM object with CLSID {88578679-272B-40C0-B1FD-C3409381A450} is either
... more >>
Help converting C++ interface declare to c#
Posted by Jeff M at 6/6/2007 1:48:00 PM
I would greatly appreciate anyone that can help me with the proper way to
declare this interface?
Here is the C++ declaration:
interface IASIO : public IUnknown
{
virtual ASIOBool init(void *sysHandle) = 0;
virtual void getDriverName(char *name) = 0;
virtual long getDriverVersion() =... more >>
Com Interop and Type.GetType
Posted by Mwob at 6/5/2007 6:14:56 AM
Hi,
I am using the Microsoft Caching Block with the database as a backend
store, and all works fine under .NET. I am trying to get the same code
to work when my assembly is called via COM Interop from a VB6 client.
When this happens, the caching block falls over because a call to
Type.GetType... more >>
Attach to all running Excel processes
Posted by Jörgen Ahrens at 6/4/2007 4:55:35 PM
Hi
I would like to attach to all running excel applications.
I tried
System.Runtime.InteropServices.Marshal.GetActiveObject()
you get an excel application but you can not specify which one, so this
doesn't work...
I tried
System.Runtime.InteropServices.Marshal.BindToMoniker()
But all ... more >>
how to raise user events in VS 2005 (COM) sub-Winform, handle in V
Posted by triunity at 6/4/2007 2:44:04 PM
I am trying to raise a user-defined Event in a VB.NET 2005 COM Class
(sub)form and have my calling VB6 form handle it.
Code samples follow. In the VS 2005 code two events are coded identically -
when they are RAISEd in reaction to a Framework Event they WORK, but when
they are RAISEd in res... more >>
COM Interop: One interface fails query interface while another works.
Posted by Jan Obrestad at 6/4/2007 12:00:00 AM
While developing a .NET module that uses COM to communicate with the
main application, I have seen this strange error.
I have a class that I expose to COM (BookAndPlanFormSupport) this class
implements two interfaces that are also exposed to COM
(IDotNetSupportBase and IDotNetMdiSupport).
... more >>
Console vs MessageBox
Posted by Allen Maki at 6/3/2007 12:24:35 AM
/*
Console::WriteLine() I am trying to use message box instead of
Console::WriteLine() to upgrade my code from just using the console to using
GUI.
In the bottom 2 lines, #1 works, but I have hard time to make # 2 works. Can
anybody give a hand here to make the information to be shown on th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Getting handle to user' s token
Posted by Roshan at 6/1/2007 10:10:20 PM
Hi,
In my program I need the handle to the current user's token to perform
some operations in native code. I am trying to get the handle using
WindowsIdentity.GetCurrent().Token and pass it to my native dll.
Does this method return a handle to the user's token? Or is there some
other way to... more >>
COM-InterOp Error Message: RPC_E_SERVER_DIED
Posted by JerryWEC at 6/1/2007 4:21:12 PM
Hi all! I'm getting this message again. I have the <system.windows.forms
jitDebugging="true" /> in my config file and it seems like this is not
happening while attached to the VB6 client application and debugging.
However, while not attached to the VB6 client I am getting this message when
r... more >>
|