Problem with DDMODAPI_SET_RECFILENAME

Module API help / support section for programmers.

Moderators:X05, Dreamer, FredB

wazzzup
Just popping in
Posts:4
Joined:Sat Nov 15, 2014 2:37 am
Problem with DDMODAPI_SET_RECFILENAME

Postby wazzzup » Fri Nov 28, 2014 9:31 am

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?
-rp-
Just can't stay away
Posts:25
Joined:Sun Jan 01, 2012 1:06 pm

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby -rp- » Thu Sep 24, 2015 10:39 am

can anyone help?

this is still not working...
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby rel » Thu Sep 24, 2015 8:59 pm

That API function has been broken for a long time, maybe one of the next versions will fix soon.
DVB Dream - because I have to dream about having time to code it
-rp-
Just can't stay away
Posts:25
Joined:Sun Jan 01, 2012 1:06 pm

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby -rp- » Fri Sep 25, 2015 4:57 am

Thanks for the quick response.

hopefully soon... :wink:
-rp-
Just can't stay away
Posts:25
Joined:Sun Jan 01, 2012 1:06 pm

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby -rp- » Tue Sep 29, 2015 10:56 pm

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?
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby rel » Thu Oct 01, 2015 1:59 am

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.
DVB Dream - because I have to dream about having time to code it
-rp-
Just can't stay away
Posts:25
Joined:Sun Jan 01, 2012 1:06 pm

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby -rp- » Thu Oct 01, 2015 2:50 am

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.
User avatar
rel
relocation
Posts:2051
Joined:Fri Jun 16, 2006 9:50 am

Re: Problem with DDMODAPI_SET_RECFILENAME

Postby rel » Thu Oct 01, 2015 4:31 am

need to find time for that, I will try
DVB Dream - because I have to dream about having time to code it

Return to “Module / Plugin Programming”

Who is online

Users browsing this forum: No registered users and 1 guest