Omgili - forum search, search forums  
  

Discussions about wm_copydata,...

Displaying 1 - 10 out of 122 discussions.  
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.
We're having problems with VirtualPrinterDriver when using it with windows XP. When the virtual printer driver cals our client it looks like the WM_COPYDATA is not sent OR is sent before the aplication is started. The problem occurs only on the first ...
Started by on , 17 posts by 4 people.  
All you have to do is configure it to work with "WM_COPYDATA mode" and not with "Command line.
It looks like WM_COPYDATA is sent before the client.
That there is an error with "can't find target window" .
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.
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 .
On Sat, 8 Nov 2008 17:16:31 -0500, "Jack" <replyto@it Which function is preferrable when sending messages using WM_COPYDATA to my own app from the app's second instance? For example when processing commands with trailing parameters? Your thoughts...
Started by on , 7 posts by 4 people.  
Answer Snippets (Read the full thread at omgili):
However if you look at the documentation for WM.
SendMessage blocks, PostMessage doesn't.
COPYDATA in MSDN Help you will see that 'PostMessage()' should NEVER be used with the WM_COPYDATA message by context.
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • For software developers - Two Pilots (1)
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost