PlaySndRes()

Post Reply
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

PlaySndRes()

Post by reinaldocrespo »

Hi.

Trying to play sound in a resource. PlaySndRes() is documented on the .ng file. But at compile time I get the error below.

Error: Unresolved external '_HB_FUN_SNDPLAYRES' referenced from F:\MP\X12\MAIN.OBJ


Any ideas?

Reinaldo.
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Post by reinaldocrespo »

Enrico;

You got it!

Thank you.


Reinaldo.
User avatar
reinaldocrespo
Posts: 918
Joined: Thu Nov 17, 2005 5:49 pm
Location: Fort Lauderdale, FL

Post by reinaldocrespo »

Enrico;

I don't get an error now, but no sound is produced. Here is how i'm using it:

Code: Select all

		MenuItem "837 Claims" RESOURCE "837_16" ;
			Action ( SndPlayResource( "tic" ) ,X12_837() ) ;
Any additional ideas?

Reinaldo.
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Post by Enrico Maria Giordano »

I don't know, sorry. Check that a valid wave resource type called "tic" is correctly inserted inside your resource file.

EMG
Post Reply