Darth_Sulfur Posted July 10, 2005 Share Posted July 10, 2005 Hello everyone! Now... I don't know C++, but I believe that the ways of calling DLL's are similar to those of C#... To the problem now: I used to call the Kernel32.dll's Beep() function with two longs in AutoIt, now I try calling it on C# but it doesn't work... MSDN says that the Beep() function accepts only ints... Do you do any kind of conversion in AutoIt? If so, could you explain? Thanks! Link to comment Share on other sites More sharing options...
Helge Posted July 10, 2005 Share Posted July 10, 2005 Layer have made such a function, which is in the newest betas...Get the last one here.. Link to comment Share on other sites More sharing options...
Darth_Sulfur Posted July 10, 2005 Author Share Posted July 10, 2005 Nevermind, nevermind, problem's something else. Thanks! Link to comment Share on other sites More sharing options...
/dev/null Posted July 11, 2005 Share Posted July 11, 2005 I used to call the Kernel32.dll's Beep() function with two longs in AutoIt, now I try calling it on C# but it doesn't work... MSDN says that the Beep() function accepts only ints... Do you do any kind of conversion in AutoIt? If so, could you explain? Thanks! I don't know the internals of DllCall, but in C++ int and long are both 32 Bit values on 32 Bit systems, whereas long is a 64 Bit value in C#. CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now