02-27-2007, 03:15 PM
You need a resource editor program that can create res files and add ANI resources. For example Resource Hacker (free).
In resource editor, open new file. Add ani file as resource of type ANI (it is string, not RT_ANI etc) and name eg 1 (it is numeric id). Save with res extension.
In Make Exe dialog, specify that res file.
In dialog procedure, use that id instead of file name, and also use module handle as wparam.
I tested it. Works well in exe. If you then try to run the dialog in QM, it will not show the ani, as well as will fail to load any other resources. It is a bug and will be fixed in QM 2.2.0.3.
In resource editor, open new file. Add ani file as resource of type ANI (it is string, not RT_ANI etc) and name eg 1 (it is numeric id). Save with res extension.
In Make Exe dialog, specify that res file.
In dialog procedure, use that id instead of file name, and also use module handle as wparam.
,;SendMessage han ACM_OPEN 0 "C:\WINDOWS\clock.avi"
,SendMessage han ACM_OPEN GetExeResHandle 1
I tested it. Works well in exe. If you then try to run the dialog in QM, it will not show the ani, as well as will fail to load any other resources. It is a bug and will be fixed in QM 2.2.0.3.