POLINK: error: Unresolved external symbol 'system'.

Started by jasch212, April 16, 2010, 10:25:58 AM

Previous topic - Next topic

jasch212

with the creation flag CREATE_NEW_CONSOLE
it also does'nt work.

TimoVJL

#16
Is that sndplay.exe in \Windows folder ?
Can you run it ?

From Control Panel Volume & Sounds:
Is from Volume tab
Enable sound for:
 Events (warning, beep and system events) checked ?

Tested with MIO C320b with Windows CE Core 5.0
May the source be with you

jasch212

hi,
I  thought  as  much,
I can open sndplay.exe in the \Windows folder.

But i here nothing when I create it from the program, thats the Problem.
CreateProcess(L"\\windows\\sndply.exe",
            L"\\windows\\notify.wav", ...

that doesn't work.

thanks
Thomas

jasch212

ok I solved the Problem :)


I changed the registry
from: sndplay.exe %1
to: \Windows\sndplay.exe %1

I do not exactly why, but now it works!


thanks all for your answers
Thomas