Views: 762
Attachments: 0
Related Articles: 0
Feedback: 0
Helpful: 0
Not Helpful: 0
File Attachments
No attachments were found.

programmazione suono Datalogic Skorpio

  • Author: Marco
  • Create Time: 30/10/2010 16:58:50
  • Last Update Time: 30/10/2010 16:58:50

-----------

A C# example would be something like below:

 

[DllImport("coredll.dll", EntryPoint = "PlaySoundW", SetLastError = true)]
public extern static bool PlaySound(string lpszName, IntPtr hModule, UInt32 n);
...

 

public myFunction()
{
    PlaySound(@"MyMusic.wav", IntPtr.Zero, 0);

 

Post Feedback
This article is:
Name: *
Email: *
Comment:
Verification Code: *
*Required Field
Related Articles
No Related Articles were found.
Feedback
No Feedback was found.