![]() |
SDK & BSP_GetFileName? Hello, I have two questions about the SDK and the "BSP_GetFileName"-Message: 1) Did anybody had success with this message? I'm not able to get any results (but I managed to get BSP-Version and BSP-MoviePosition using the sdk...) If yes - could you please :lol: post a piece of your code to the forum? 2) Does this message report the "file"-name or the title of the movie, which is being played (and can be set via an entry in a bsi-file)? Many thanx in advance, Seppel PS: I'm trying to visualize all this informations using a nice little graphic-LCD (128x64) and "LCDHype"... |
BSP_GetFileName returns the full path of the movie file being played. Do you use SendMessage with the WM_COPYDATA message as described in bsp.h? Because for me, it works fine.. cu Halle |
Hi Halle, yes - I'm using the SendMessage function as described in bsp.h But I'm unsure where to get the needed application handle!? My test-application is a very simple console-app. Which function do I have to use to get this handle? bye, Seppel |
I dunno which language you are using, but there's a Windows API function Code: HWND GetConsoleWindow(void); |
thanx Halle :D Now it works! But Im still looking for a way to grab the "title". Since I'm using a bsi-file for every movie bsplayer displays the complete title and not only the filename (the name of the corresponding avi-file is often just a shorty). Like I wrote I'm trying to display the current title on a lcd. If's there's no way to get this title I think i have to make an ugly work-around... But: wouldn't a message to get the title be a good extension to the sdk? bye (& thanx again to Halle :D ) Seppel |
Well, I guess you have to go the workaround way.. It would be nice if movie files had something similar to ID3 tags for mp3 files, but ah well.. cu |
All times are GMT +1. The time now is 04:25 AM. |
Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
Ad Management plugin by RedTyger