Page 1 of 1
Problem with DDMODAPI_SET_RECFILENAME
Posted: Fri Nov 28, 2014 9:31 am
by wazzzup
Hi, I'm building a plugin that will start a recording.
I need to set the record file name. My code looks like this
Code: Select all
char *name = "hello.mpg";
LRESULT res = SendMessage (AppWnd, WM_MODULE_MSG, DDMODAPI_SET_RECFILENAME, (LPARAM) name);
The return value is 0, but nothing happens with the file name.
But starting a recording is working fine with this code.
Code: Select all
SendMessage (AppWnd, WM_MODULE_MSG, DDMODAPI_START_RECORD, 0);
What am I missing?
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Thu Sep 24, 2015 10:39 am
by -rp-
can anyone help?
this is still not working...
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Thu Sep 24, 2015 8:59 pm
by rel
That API function has been broken for a long time, maybe one of the next versions will fix soon.
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Fri Sep 25, 2015 4:57 am
by -rp-
Thanks for the quick response.
hopefully soon...
![Wink :wink:](./images/smilies/icon_wink.gif)
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Tue Sep 29, 2015 10:56 pm
by -rp-
PS.:
is it possible that DDMODAPI_ADD_LOG is broken as well?
Also, is there a way to display something on the status bar and/or in the system tray balloon tip?
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Thu Oct 01, 2015 1:59 am
by rel
That function has been removed , need to update header filers. You can try Windows API to find status bar and change text etc. since you know the main window handle , you just need to search under that for status bar. There is no way in DD API.
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Thu Oct 01, 2015 2:50 am
by -rp-
I'll try that, thanks...
while you are at it, could you update the API list and add the type of parameter each function needs?
Thanks again.
Re: Problem with DDMODAPI_SET_RECFILENAME
Posted: Thu Oct 01, 2015 4:31 am
by rel
need to find time for that, I will try