| | Rating Thread /
Thread Starter | Last Post  | Replies | Views |
|  | Can anyone shed some light on how to use p/invoke with a triple pointer?
Code:
int createfile (int argc, char ***argv){..}
Many thanks,
JDQ
AT
|
08-21-2004 07:54 PM
AT | 0 | 16 |
|  | I am using a COM server, in which one of the methods returns a jagged array.
Specifically, a variant array of variant arrays. The initial array...
KidO
|
08-21-2004 01:05 PM
KidO | 0 | 15 |
|  | I have a COM client (Word XP) which talks to a .NET component (wrapped in a
CCW) on the same machine. The latter uses a remote object to access a...
sprungli
|
08-20-2004 01:02 PM
sprungli | 0 | 19 |
|  | I am seeing, to say the least, some very strange behavior when a C# module is
making two very closely coupled interop calls, one through P-Invoke,...
Leon Gorbaty [Bentley]
|
08-20-2004 08:34 AM
Leon Gorbaty [Bentley] | 1 | 17 |
|  | Hi,
I have implemented the ASP.Net Ihttphandler interface. Handler references
the mixed dll (both managed/unmanaged code) that contains core C++...
Abhishek Goliya
|
08-20-2004 04:40 AM
Abhishek Goliya | 0 | 22 |
|  | Hi Juan,
I think you may try to take a look at the MSDN for the three methods.
e.g.
StringToBSTR is useful for custom marshaling or when mixing...
Jacky Kwok
|
08-19-2004 10:51 PM
AT | 1 | 16 |
|  | hi matthias,
are you sure? we definitely *call* methods and properties
of COM-objects w/out any interop library:
object comObj; // some type-less...
Rory Plaire
|
08-19-2004 07:52 PM
Rory Plaire | 6 | 21 |
|  | For some reason my users don't appreciate seeing 0.1E-08 instead of 0.00 ...
can't understand why. :-)
I'm using the Office XP PIA's
VS Net...
BBFrost
|
08-19-2004 06:07 PM
BBFrost | 2 | 12 |
|  | Thanks a lot Brian. You saved me a lot of time. - Alek
---
Posted using Wimdows.net NntpNews Component -
Post Made from...
DotNetJunkies User
|
08-19-2004 09:35 AM
DotNetJunkies User | 1 | 11 |
|  | Dear All,
I just wanted to know how can I create IP edit box by implementing the base
classes which exist in Windows.
Yours truly,
Alireza
Alireza Haghshenass
|
08-19-2004 01:47 AM
Alireza Haghshenass | 0 | 12 |
|  | Nevermind. Figured it out. The answer? The interface you are implementing
should be in its own assembly. The assembly using the interface and the...
Harold Blankenship
|
08-18-2004 05:17 PM
Harold Blankenship | 0 | 13 |
|  | Hy,
I've created a very simple .NET-class which shall be my COM-server. Via Com
Callable Wrappers (CCW) I want to use the functions of my server,...
Ekim
|
08-18-2004 05:03 PM
Ekim | 0 | 16 |
|  | The .Net program I am writing needs to use JMS-style topics. Is there a way
to make a MS Message Queue work like a JMS Topic. Or is there a way...
Jonathan Allen
|
08-18-2004 02:25 PM
Jonathan Allen | 4 | 14 |
|  | Hi,
I have implemented the ASP.Net Ihttphandler interface. Handler references
the mixed dll (both managed/unmanaged code) that contains core C++...
AG
|
08-18-2004 09:58 AM
AG | 0 | 12 |
|  | I am trying to invoke a COM component (written in VB6) which accepts
parameter of ParamArray data type.
What would be the proper syntax in C# for...
Bruno Miousse
|
08-18-2004 08:43 AM
Bruno Miousse | 2 | 11 |
|  | Hello!
I call, using C#, a webservice (UTF-8 encoded) that return a list of
products. I get the requested objets. So far so good. But, in...
AT
|
08-18-2004 03:38 AM
AT | 0 | 9 |
|  | Hi Evenrybody,
I just wanted to know whether there is a way to get system events(, for
example when a process starts or when a process ends , I want...
Alireza Haghshenass
|
08-18-2004 02:17 AM
Bart Jacobs | 1 | 10 |
|  | I forgot to post the function prototype of TestCrash, although it's in
attached project.
void TestCrash(IntPtr& varReturnIntPtr)
dax
<dax (AT)... |
08-18-2004 02:11 AM
Bart Jacobs | 1 | 10 |
|  | Hi gurus,
Does anyone can point me to a document about the differences between COM and
..NET?
thanks in advance
Boris.
Boris Condarco
|
08-18-2004 12:16 AM
Bart Jacobs | 1 | 18 |
|  | I have written a Windows service in C# which can start other EXE files in a
new process, e.g.
protected override void OnStart(string args) {
Process...
Guido Kraus
|
08-17-2004 11:44 PM
AT | 2 | 21 |
|  | I've been developing projects - namely user controls - for the Pocket PC
using Microsoft's .NET Compact Framework. Someone recently asked me if...
Derrick
|
08-17-2004 07:28 PM
Kris | 1 | 15 |
|  | Hi NG,
does anybody know how to expose an WindowsForms Control written in C# as an
ActiveX-Control ?
I created a C#-Control, gave it the
""...
Andreas Stürmlinger
|
08-17-2004 07:19 PM
Kris | 1 | 11 |
|  | I am seeing, to say the least, some very strange behavior when a C# module
is making two very closely coupled interop calls, one through P-Invoke,...
Leon Gorbaty [Bentley]
|
08-17-2004 05:27 PM
Leon Gorbaty [Bentley] | 0 | 13 |
|  | Another way is to use the System.Data.SqlTypes structs. An undocumented
feature of these is that they are declared "sequential", which means...
AT
|
08-17-2004 02:19 AM
AnonymousHelper | 1 | 14 |
|  | I think that instead of trying to marshal this data structure using P/Invoke,
you might want to write a Managed Extensions for C++ function that...
AnonymousHelper
|
08-17-2004 02:03 AM
AnonymousHelper | 0 | 21 |
|  | I have a base class B, an inherited class A written in C#. As recommended
way of interop, I create interface for both B and A. I create type...
Christina Huang
|
08-17-2004 01:47 AM
AnonymousHelper | 1 | 10 |
|  | Hi All,
I hope someone can give me an idea as to why it is that, when I add a
reference to a particular COM library, several methods (a few but not... |
08-16-2004 04:08 PM | 0 | 10 |
|  | Hi,
has anyone got AccessibleObjectFromWindow (oleacc.dll) working in C#?
I'm trying to read the value of another process' RichTextBox.
Thanks for...
AT
|
08-16-2004 03:30 PM
AT | 0 | 18 |
|  | Hi Mattias,
Thank you for your reply.
Yes.
One possible multiple-client server implementation would be to:
* Use a C multiple-client named pipe...
AT
|
08-16-2004 03:10 PM
AT | 1 | 13 |
|  | I am using VB.NET 2003. I am trying to find a child window with a
particular .Text value. I am finding this fine but I get an error when I
try to...
David Londeck
|
08-16-2004 09:18 AM
David Londeck | 0 | 16 |
|  | Hi
I have a C# ASP .Net Web application that links into a OLE Server
application.
I would like to add the facility to have plug-ins to allow for...
AT
|
08-16-2004 06:45 AM
AT | 0 | 14 |
|  | I am developing vb.net app that works with MSAccess COM Object library, i
generated RCW from VS.NET (Interop.Access.dll) on system with Access...
Konrad Rotuski
|
08-16-2004 04:34 AM
Konrad Rotuski | 1 | 10 |
|  | Hi all
Thist of all, sorry for X-posting, but the question involves both wininet
and C# interop ;-)
I wrote a simple FTP client in C# using...
Federico Sasso
|
08-16-2004 03:55 AM
Federico Sasso | 2 | 23 |
|  | Hi all,
I have some code that's accessing unmanaged code. Basically,
it passes some arrays to the unmanaged code and then gets back
a single array....
Joerg M. Colberg
|
08-16-2004 03:55 AM
Dan Kelley | 5 | 12 |
|  | Hello all,
in a rather complex mixed (unmanaged C/C++, managed C++, C#) application, it
happens regulary, that a P/Invoke call to...
Ulrich Proeller
|
08-16-2004 02:49 AM
Ulrich Proeller | 0 | 11 |
|  | Hi Juan,
Do you mean the C# code and the VB6 dll code will both call an unmanaged
dll?
Have you tried to change the code based on my simple sample...
Robert Jordan
|
08-16-2004 01:51 AM
AT | 3 | 14 |
|  | Calling UIActivate (from inside the HtmlEditor.dll control) hangs my P4s
running Win2K. If I look at the thread using WinDbg/SOS it tells me that...
Michael.McD
|
08-15-2004 05:13 PM
Michael.McD | 0 | 13 |
|  | Hi,
I have run into a problem PInvoking native DLL functions where an
argument (or return type) is a struct of four bytes or less.
The issue seems...
Mike
|
08-14-2004 06:50 AM
Mike | 0 | 14 |
|  | I have an VB ActiveX DLL with a function the receives a string parameter.
I want to call this function from C#.
I made a reference to the DLL in my...
Binder
|
08-13-2004 06:04 PM
Binder | 0 | 14 |
|  | Hello everyone
I want to set the system time via a web user. I have configured the web
application to use impersonation and it impersonates an...
Aravind @Office
|
08-13-2004 04:39 PM
Aravind @Office | 0 | 8 |
|  | Mattias,
Sure thing. Here is the relavent parts. PT_Tools is the COM interface
defined inside a VB6 ActiveX...
Jonathan Van Eenwyk
|
08-13-2004 02:53 PM
Jonathan Van Eenwyk | 2 | 11 |
|  | Bill,
If you make following assumptions:
1. Private key is securely possessed by single party - intended assembly
signer;
2. Verifier of signature...
Bill Belliveau
|
08-13-2004 01:45 PM
Bill Belliveau | 9 | 24 |
|  | I want to search a RichTextBox using a Regular Expression.
I've tried it using the tom interface but can't make it work.
That is, it works for whole...
Just Me
|
08-13-2004 01:38 PM
Just Me | 0 | 15 |
|  | Hi All
I have referenced a COM dll in my .NET assembly. The DLL has functions that
interact with the database. When I execute functions that...
Rajashekar
|
08-13-2004 12:30 PM
Rajashekar | 0 | 16 |
|  | I am try to GetProjection Info in XP
Below are my definitions,
but Method call keeps returning RAS error 632(Invalid structure size)
can anyone...
Frustrated Pinvoker
|
08-13-2004 09:30 AM
BMermuys | 1 | 19 |
|  | Hi!
I'm working on an internet application which uses COM and NET
components. ASP uses a COM component and that component calls to a NET
Assmebly....
AT
|
08-13-2004 08:45 AM
AT | 0 | 16 |
|  | Hi
I've got a COM component that exposes one interface....IMyInterface.
When I wrap the COM componet in C# using interop, and view it in the...
Jon
|
08-13-2004 07:07 AM
Jon | 0 | 17 |
|  | I've seen lots of examples on how to import functions dealing with simple
user-defined structs. Can someone point me to a sample that shows how...
Eskieboy
|
08-13-2004 06:44 AM
barb | 1 | 22 |
|  | But you can do at least something, to use your C++ class in C#. Here's sample
code:
// C++
struct MyInterface
{
virtual void sayHi() = 0;
virtual...
Alexandra
|
08-13-2004 05:45 AM
Alexandra | 1 | 14 |
|  | ..NET 1.1 SP1 resolves this - we cannot repro at all anymore with it.
This KB article talks about the exact context our calls were, but in...
jwf
|
08-12-2004 04:01 PM
jwf | 1 | 22 |