To do what you want to do, you will probably have to
use packed variables. I'll have to dig around to see
if I can find some example. You need to pass these
variables in a format that the C code you're calling
can work with. Basically you need to create a struct
containing the 2 different variable, X and Y, take a
pointer to that struct and pass that in an lParam.
You'll have to look that the MSDN site for the
specific message that you are sending to see what type
of struct it requires, but it should be feasible.
What type of message are you sending?
I'm not sure why your using shifting, but if they are
simply X/Y screen coordinates then you should be able
to use the numbers naturally before packing them.
When I get home tonight, I'll see if I can put
together an example.
From: Raghava B.S <rag84dec@...> - 2007-09-26 09:05
I need to send x and y values in the lparam of
x and y should be 32 bits each....but if i left shift
the y value and
it it is not working.....please help...Is it possible
to call using
below code didnt work....
print LOGFILE "\n***
my $he= sprintf("%x",$work);
my $he1= sprintf("%x",$work1);
my $he2= sprintf("%x",$test);
Want ideas for reducing your carbon footprint? Visit Yahoo! For Good http://uk.promotions.yahoo.com/forgood/environment.html