<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Oct 2019 14:21:25 Z</lastBuildDate><pubDate>14 Oct 2019 11:52:54 Z</pubDate><description>J'utilise sans problème WM_COPYDATA pour communiquer entre un process 64-bit et un process 32-bit lorsque les 2 sont codés en code natif (C++ pour le 64-bit et PowerBASIC pour le 32-bit).&#13;
J'essaie de faire la même chose avec Windev (WD17) en mode 64-bit sans succès, alors que je çà marche avec en 32-bit.&#13;
&#13;
Ma question est donc quelqu'un a-t-il déjà utilisé avec succès WM_COPYDATA avec WinDev en 64-bit et un process 32-bit, si oui comment ?&#13;
&#13;
J'utilise la structure suivante dans le code Windev en 64-bit :&#13;
COPYDATASTRUCT is structure&#13;
	dwData is int //Type C : DWORD&#13;
	cbData is int //Type C : DWORD&#13;
	lpData is system int //Type C : PVOID&#13;
	//alignment is int&#13;
END&#13;
&#13;
BBPDATA is structure&#13;
	gdimageID is int&#13;
	plugin is string ASCIIZ on MAX_PATH&#13;
	nLevel is unsigned int&#13;
	medialength is unsigned int&#13;
	mediapos is unsigned int&#13;
END&#13;
&#13;
lpData est le pointeur vers la structure BBDATA, dont je n'arrive pas à passer correctement l'adresse du membre&#13;
plugin is string ASCIIZ on MAX_PATH&#13;
&#13;
Dois-je essayer avec un buffer au lieu d'une chaine ASCIIZ ?&#13;
&#13;
--&#13;
Patrice Terrier&#13;
www.zapsolution.com</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication/read.awp</link><title>WM_COPYTA (inter process communication)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>Patrice TERRIER</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233662/read.awp</comments><pubDate>14 Oct 2019 14:21:25 Z</pubDate><description>JBO&#13;
&#13;
Merci pour la réponse.&#13;
&#13;
En C++ 64-bit, sizeof(COPYDATASTRUCT) = 24 (alignement sur 8-bit), et la moité en 32-bit.&#13;
Dans…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233662/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233662/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication/read.awp">WM_COPYTA (inter process communication)</source><title>Re: WM_COPYTA (inter process communication)</title></item><item><author>=JBO=</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233660/read.awp</comments><pubDate>14 Oct 2019 13:07:45 Z</pubDate><description>Bonjour Patrice,&#13;
&#13;
Bravo pour ton travail que je suis de loin, mais avec curiosité et intérêt. :-)&#13;
&#13;
Je te confirme que le typ…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233660/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication-233660/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/233658-wmcopyta-inter-process-communication/read.awp">WM_COPYTA (inter process communication)</source><title>Re: WM_COPYTA (inter process communication)</title></item></channel></rss>
