Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

how to transfer data between thread

$
0
0

I wrote a program using windows API to show some curves and text.

The calculation is a thread started by main window.

Curve and text's informations contains some data like position, color, strings....

I want to use windows message to send data to figure window. But message API function has two parameters: wParam, lParam, which refer to two integer pointer. I found it seems that fortran cannot transfer the adress of other type or struct to a integer, while an integer adress cannot be recieded by pointer of other types.

Is that right?

So, what should i do?


Viewing all articles
Browse latest Browse all 5691

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>