Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: why Crashing windows API using perl??

by cdarke (Prior)
on May 25, 2006 at 11:58 UTC ( #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
Node Status?
node history
Node Type: note [id://551583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2020-02-18 16:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (76 votes). Check out past polls.

    Notices?