Custom shell - shortcut?

  • Thread starter Thread starter frednorge
  • Start date Start date
F

frednorge

Greetings,

Im about to create a custom shell including Mediaportal. My question is:
Is it possible to run the Mediaportal setup from FBA and then just have a
custom shell to start the Mediaportal - or do i have to create a complete
component of Mediaportal with all files, registry settings etc.?

Thanks for any help.
 
You can have a shell launch an application. This can be a good thing since
you can include a signal to the kernel the shell is launch, which gets
around a long timeout.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
Thanks Sean,

i have done this sucessfully (i went ahead and tried it), but im also
curious about what you mean by "signal to the kernel"

Regards
 
Hopefully the code will be posted correctly. Basically it is the
ShellReadyEvent


if( !SetShellReadyEvent("msgina: ShellReadyEvent") )
SetShellReadyEvent("Global\\msgina: ShellReadyEvent");

bool SetShellReadyEvent(const char *eventName)
{
HANDLE hEvent = OpenEvent(EVENT_MODIFY_STATE, FALSE, eventName);

if( !hEvent )
return false;

SetEvent(hEvent);
CloseHandle(hEvent);
return true;
}


--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Book Author - XP Embedded Advanced, XP Embedded Supplemental Toolkit
 
Dear Sean,

That was a bit over my head :). I have googled "ShellReadyEvent", but could
you be so kind to point me in the right direction? Where exactly do i
find/put this code?

Im using minlogon in my runtime.
 
Back
Top