Omgili - forum search, search forums  
  

Discussions about wm_copydata,...

Displaying 1 - 10 out of 119 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I am working on a Windows-only Qt application, and I need to receive data from a Microsoft OneNote plugin. The plugin is written in C#, and can send WM_COPYDATA messages. How do I receive these messages in a C++ Qt app? I need to: Be able to specify the...
Started by on , 5 posts by 4 people.  
In this WndProc, you could just handle your specific WM_COPYDATA and pass all QWidget with a class that will capture the WM_COPYDATA messages: class EventReceiverWindow : public("ProjectName-3F2504....
With QWidget::winId() ).
I am trying to get a C# WPF application to communicate with another application written in C using WM_COPYDATA. The C app is trying to send a struct as follows: typedef struct { int x; int y; char str[40]; double d; char c; } DATASTRUCT; In my C# app ...
Started by on , 3 posts by 3 people.  
It looks like.
; }; And another struct must be defined to receive the WM_COPYDATA info.
I have a native C++ application that, for the time being simply needs to send its command line string and current mouse cursor coordinates to a WPF application. The message is sent and received just fine, but I cannot convert the IntPtr instance in C#...
Started by on , 3 posts by 3 people.  
!"); cp.cbData = sizeof(record); cp.lpData = &record; cp.dwData = 12; SendMessage(hFind, WM_COPYDATA, NULL, (LPARAM)&cp); } /* C# code */ public static readonly int WM_COPYDATA = 0x4A; [StructLayout, IntPtr lParam, ref bool....
Ask your Facebook Friends
On Fri, 16 Jan 2009 00:34:18 -0000, "Mike Collins" <its@TheBottomOfThePost Hi all, I'm trying to achieve some Inter-Thread Communication between threads in a service intended to work on XP and Vista. I need to send more data than just a numeric...
Started by on , 3 posts by 3 people.  
Answer Snippets (Read the full thread at omgili):
You could simply pass a pointer as one the memory will be leaked .
WM_COPYDATA cannot be used with PostThreadMessage().
WM_COPYDATA...
Collins" <its@TheBottomOfThePostnews:%23opgrD3dJHA.3948@TK2MSFTNGP04.phx.gbl...
I have a Java program and I want to send a command from my Win32 application. Normally I'd use WM_COPYDATA but what options do I have with Java?
Started by on , 6 posts by 6 people.  
Java and win32 bith implment a lot of the same technologies so having the two applications communicating is not impossible, one just needs ... .
Or, alternatively, use JNI.
You have to create a network server and listen to a (local) socket .
No, you can't.
Hi, i'm trying to let 2 application communicate with each other using windows message. however, i've been getting AccessViolationException (attempted to read or write protected memory) during allocating memory and marshaling of data. Can someone explain...
Started by on , 4 posts by 3 people.  
The OS gives these special handling the WM_COPYDATA....
Pointers in Windows (and other modern, use the WM_COPYDATA message and the Windows OS COPYDATASTRUCT .
See this thread.
You need to send a WM_COPYDATA message.
I need a few of my related applications to communicate to each other (exchange data and initiate actions). Requirements are without packages and no sockets. So I guess that leaves named pipes, WM_CopyData (like Skype does it) and command parameters. What...
Started by on , 8 posts by 8 people.  
But can be handy to have the option, even if you don't .
This might not be an issue immediately...
And you can control access with security attributes -- which isn't an option with WM_CopyData.
There...
In a terminal server session, some standard IPC technologies might not work like in a single user environment, because the required resources are not virtualized . For example, TCP/IP ports are not virtualized, so applications in different sessions which...
Started by on , 3 posts by 3 people.  
All IPCs can be used in a TS environment - you just have to be clever in the... .
You might also consider COM or OLE.
Named pipes will not, since they are per-system and not per-session .
DDE will too, since it is based on messages.
Messages will work fine.
I am new to inter process communication and need some help. I want to be able to send a string from a C++ program to a C# program. My problem is that the resultant string is gibberish. Here is my code: Sending program (C++): void transmitState(char* myStr...
Started by on , 4 posts by 4 people.  
Use MultiByteToWideChar() on C....
This won't work.
You in fact reinterpret_cast from char* to WCHAR*.
Char* in C++ is ANSI character string (usually one byte per character), char* in C# is Unicode character string (like WCHAR* - two bytes per character) .
On Tue, 15 Jul 2008 15:55:32 -0700, "Nick Schultz" <nick.schultz@flir.com I need to create a cwnd derived class in a cappthread... how do I go about doing that? the cwnd is just being used to process WM_COPYDATA messages. Thanks, Nick
Started by on , 14 posts by 4 people.  
Answer Snippets (Read the full thread at omgili):
So all I want is to spawn my CAppThread with a couple parameters, and have it create my CWnd class which will respond... .
On Tue, 15 Jul 2008 15:59:48 -0700, "Nick Schultz" <nick.schultz@flir.com sorry, CAppThread is my CWinThread - derived class .
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost