Questions tagged [wm-copydata]
63 questions
1
vote
2 answers
Delphi - Message pump in thread not receiving WM_COPYDATA messages
I'm trying (in D7) to set up a thread with a message pump, which eventually I want to transplant into a DLL.
Here's the relevant/non-trivial parts of my code:
const
WM_Action1 = WM_User + 1;
scThreadClassName = 'MyThreadClass';
type
…

MartynA
- 30,454
- 4
- 32
- 73
1
vote
3 answers
Problem in Communication between two dialog boxes through WM_COPYDATA?
Friends its really giving me a great head ache about the problem I am facing for the couple of days...Its simple...I want to communicate between two/more dialog boxes for example if there is a variable CString test..I want this test variable to be…

kiddo
- 1,596
- 7
- 31
- 60
1
vote
1 answer
Send double array with SendMessage WM_COPYDATA
I had problems to send a double array from one application to another (both c#).
I try format the CopyData Struct like this:
[StructLayout(LayoutKind.Sequential)]
public struct CopyDataStruct
{
public IntPtr dwData;
…

Jeferson Preti
- 57
- 2
- 12
1
vote
1 answer
Python Win32Gui automation - Send WM_COPYDATA to get data from BSPlayer
I am desperately trying to automate BSPlayer from my script.
I was successful in sending simple command ids to the BSPlayer window(volume up/down, play/pause, etc.), however I am not able to get the file name back.
Here is the BSPlayer API.
I was…

Radu
- 2,076
- 2
- 20
- 40
1
vote
2 answers
Passing strings to another window using `WM_COPYDATA`
am sending data using this code in vb6
cds.dwData = CLng(RegisterWindowMessage("MyWMCopyData"))
cds.cbData = Len(Message) * 2 ' characters are 2-bytes each
cds.lpData = StrPtr(Message) ' access the string's character buffer directly
' Send the…

Smith
- 5,765
- 17
- 102
- 161
0
votes
1 answer
Is it safe to call PeekMessage/GetMessage from a DirectShow filter FillBuffer() call?
I have a DirectShow filter written in Delphi 6 using the DSPACK component library. It is a push source video filter that receives its source frames from an external cooperating process that I also wrote.
When the worker thread that calls my…

Robert Oschler
- 14,153
- 18
- 94
- 227
0
votes
1 answer
WM_COPYDATA from VB.Net to Delphi 10.4
I'm trying to move an application from Lazarus to Delphi 10.4. The problem I am having is with WM_COPYDATA.
On the VB.Net application:
Dim sarr As Byte() = System.Text.Encoding.[Default].GetBytes(msg)
Dim len As Integer =…

Steve London
- 1
- 1
0
votes
1 answer
ADF Pipeline to Split an a JSON File with array of objects into seperate items in cosmos db
I am creating a pipeline for the first time. The requirement is to fetch a JSON file with an array of objects. Split the array and save each object as a separate item in the cosmos DB.
In pipeline I am using CopyData Activity. And providing the…

Sahaduna
- 33
- 4
0
votes
0 answers
WM_COPYDATA struct content goes missing when restarting PC
I need some help regarding this bug as I can't figure out what's the cause of my WM_COPYDATA struct data going missing. Every time the computer is restarted, I'll be able to receive the message but with empty data. In order to fix it, I'll end all…

Sin Han Jinn
- 574
- 3
- 18
0
votes
1 answer
How do you find the row a value entered from inputbox is in, and then use it to define .select data range?
I am having trouble getting the following block of code to perform. I keep getting the 400 error and am very new to this. Any suggestions based on the code below would be highly appreciated. I have a feeling I may be using the incorrect form of…

ItryandItry
- 15
- 3
0
votes
1 answer
Synapse CopyData Tool Changing datetime to int96
So I'm pulling items from a database via a query to put that data into a datalake. All that works great, the preview comes out wonderfully on the source tab. On the Mapping tab however, Whenever I hit "Import Data" or even input the "StartDate"…

Dan Williams
- 55
- 1
- 2
- 7
0
votes
2 answers
Inter-application communication between JAVA and C# using window messaging
I need to communicate with C# application using Window messaging from Java application. From my application I register for messages used for communicating. I am able to successfully get the window handle of the C# application and register messages.…

Developer
- 27
- 1
- 10
0
votes
1 answer
C# WndProc method not receiving expected Msg type
I've been trying to communicate with another software using its documented COPYDATA API. User Xanotos has been incredibly helpful in this question I asked which has the sending method sorted and working fine. I am having issues that the receiving…

AeroMike
- 15
- 7
0
votes
1 answer
C# to C++ CopyData API
I am developing an automation interface program and I looking to enhance capability with a machine software which uses a COPYDATA API aimed at C++. The goal is to control and report status of the machine through my own software.
The method uses…

AeroMike
- 15
- 7
0
votes
1 answer
How to send records containing strings between applications
So, I have a class that uses WM_COPYDATA to allow applications to communicate.
type
TMyRec = record
Name: string[255]; // I want just string
Age: integer;
Birthday: TDateTime;
end;
function TAppCommunication.SendRecord(const…

Edijs Kolesnikovičs
- 1,627
- 3
- 18
- 34