Tracking Global keystrokes and messages with C#
Thu, 28 Aug 2008 02:45:02 -0700
Hi,
I need to create an app in .NET (C#) which monitors and interacts with
another app. (non .NET) To simulate mouse events and respond to it's messages.
It's kind of like a bot. Just in a windows XP machine.
I know it can be done using C++ (using global hooks)
But, can it be done only in C# (using P/Inv ...
|
Managed data access layer for Unmanaged code
Wed, 27 Aug 2008 08:24:01 -0700
Hi,
I have a unique situation here. We have an application which has been
created using Visual C++ 6.0. I am trying to create a new managed (C#) data
access layer for this app so that I can fetch and update various data into
the database. The hurdle is that for ceratin methods there could be a huge
amount ...
|
System.Chart[] when convert to string
Wed, 27 Aug 2008 07:45:02 -0700 (PDT)
Hi,
I am using a DLL file to get a function. This has one parameter which
is a pointer. To access the function I do the following:
---------------------------------------------------------------------------------------------------
[DllImport("statax.dll")]
public static extern unsafe int fnReadMeas(char* ...
|
Create datatable from unmanaged c++
Tue, 26 Aug 2008 13:13:00 -0700
Is there any way to create a datatable from unmanaged c++. If so, is it
possible to keep reference to each rows to update the records in the
unmanaged code. Any books or samples recomended for this issues? ...
|
help to extract structure storage object
Tue, 26 Aug 2008 09:22:09 -0700
hello,
i m punit gajera, jr. programmer
i m working on structure compound office objects.
i want to extract compound objects just like i have 123.xls in it 2 zip file and 1 .doc file is thr
i want to extract all the files with in 123.xls..
same functionality in all office documents..
can u help me?? ...
|
How to use both COM & .NET client with a com visible .NET class?
Mon, 25 Aug 2008 15:52:19 +0200
Hello,
I have to develop a component in .NET that could be used by both COM clients
et .NET clients.
This component is based on the OPC DA 2.0 specification and uses COM
interfaces to expose features to OPC COM & .NET clients.
Everything works fine when the client is COM-based and uses my .NET
component.
...
|
SHBindToObject
Sun, 24 Aug 2008 06:05:46 -0700
Having applied SP1 to VS2008 I have discovered a couple of things that, on
the face of it, appear quite marvellous. They are SHBindToObject and
SHBindToFolderIDListParent, there may even be more.
They require Vista though and I am running XP Pro x64 so I am facing an
upgrade dilemma.
From the help it d ...
|
|
|
Public constant fields for COM/VB6
Sun, 24 Aug 2008 03:15:08 -0700 (PDT)
I have a public ComVisible field in my C# class library:
public const string S = "S";
If I set the ClassInterfaceType to AutoDual, this field does not
appear in the VB6 intellisense. What do I have to do to make this
happen? Do I have to convert the field to a property? Or can I put
some attributes on the ...
|
Method overloading for COM/VB6
Sun, 24 Aug 2008 03:11:10 -0700 (PDT)
In my C# class library, I have these ComVisible method overloads:
public void Method(string S)
public void Method(string S, string T)
If I set the ClassInterfaceType to AutoDual, these appear in VB6
intellisense like this:
Method_1(string S)
Method_2(string S, string T)
However, I would like t ...
|
Parameter "ReturnLength" always "0" when NtQuerySystemInformation is called,...
Sat, 23 Aug 2008 23:23:59 +0200
Hi,
the topic says all. I use this code from C# to call the
NtQuerySystemInformation.
When i call NtQuerySystemInformation the first time with zero buffer length
to
get the buffer size needed for the information i get a
STATUS_INFO_LENGTH_MISMATCH
which is -1073741820 in number, this is ok, but why does the ...
|