Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: why Crashing windows API using perl??

by cdarke (Prior)
on May 25, 2006 at 11:58 UTC ( [id://551583]=note: print w/replies, xml ) Need Help??


in reply to why Crashing windows API using perl??

It's probably the calling convention. Change your C to:
double __stdcall adnValues(double x, double y)
You can use WINAPI instead of __stdcall (that's 2 underscores) if you #include <windows.h>.
  • Comment on Re: why Crashing windows API using perl??

Replies are listed 'Best First'.
Re^2: why Crashing windows API using perl??
by flw (Novice) on May 26, 2006 at 01:26 UTC
    I also meet this problem days ago, and I solve my problem as same as cdarke said. I agree cdarke's suggestion. WINAPI is better.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://551583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-25 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found