what's wrong in this code ?
Posted: Fri Mar 14, 2008 4:09 pm
please help me
Code: Select all
procedure Tfmain.SwitchtochClick(Sender: TObject);
var
chinfo: TChannelInfo;
e: PEPGInfo;
chid: integer;
begin
e := TV.Selected.Data;
chid := FindChId(e^.wSat, e^.wNetID, e^.wSID);
chinfo.dwSize := sizeof(TChannelInfo);
chinfo.wNID := e.wNetID;
chinfo.wSID := e.wSID;
chinfo.wSatPos := e.wSat;
chinfo.dwChId := chid;
if chid >= 0 then
begin
SendMessage(hwndDD, WM_MODULE_MSG, DDMODAPI_SET_CHANNEL_BY_CHID, Integer(@chinfo));
end;
end;
🌟 Recommended Tools & Services
• Formify.one - Free Online Form Creator (Better than Google Forms). - Create Professional Forms That Match Your Business, Form Builder That Actually Helps You Collect More Responses
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software
• CrispShare - Screenshot Editor That Makes Your Work Look Professional (Without Design Skills). - Make Your Screenshots Stand Out in Crowded Social Feeds
• DVB Dream - Best TV Reception/Record software for your computer DVB add on. - Stop Missing Your Favorite Shows - Record TV Directly to Your PC. Turn Your Computer Into a Professional TV Recorder. Unlock Its Full Potential With Professional TV Software