Hello,

I'm migrating from CE 4.2 to 6.0. One of the DirectX component I need
is mp3dmod, and it is tied to the sysgen variable
SYSGEN_DSHOW_MP3DMOD.

In CE6.0, I didn't find any way to select this component for my system
through the Platform Builder UI, so on the build, mp3dmod was not part
of the group DIRECTX_MODULES, it looks like it's not included by
default.

However I found a directx.bat in C:\WINCE600\PUBLIC\CEBASE\OAK\MISC\
and fiddling a bit with this, and through the command line interface,
I managed to get my mp3dmod component with its reg settings added to
my image, to provide the expected functional result.

But I'd like to have a neat (and official) way to achieve my goal. How
do I setup the DirectX modules I want? Or put it this way, where in
the build chain is this directx.bat called?

Thanks in advance,
Alx.

Re: Properly adding mp3dmod to a CE 6.0 image by Dean

Dean
Thu Mar 27 06:04:14 PDT 2008

directx.bat (and all the other batch files in this directory) are called
when your build environment is set up. They are driven by the SYSGEN_xxx
variables. The SYSGEN_DSHOW_MP3DMOD env variable you referred to has no
other purpose than to control the behavior of this batch file.

Your problem is that there doesn't appear to be a way to cause this env
variable to be set through the IDE. If you set the variable manually you'll
get the same behavior. You can use the platform or project batch file for
this purpose.

--
Dean Ramsier - eMVP
BSQUARE Corporation


<portnawake@gmail.com> wrote in message
news:6f5df35b-83ea-4a7f-b860-6326b65937ea@s37g2000prg.googlegroups.com...
> Hello,
>
> I'm migrating from CE 4.2 to 6.0. One of the DirectX component I need
> is mp3dmod, and it is tied to the sysgen variable
> SYSGEN_DSHOW_MP3DMOD.
>
> In CE6.0, I didn't find any way to select this component for my system
> through the Platform Builder UI, so on the build, mp3dmod was not part
> of the group DIRECTX_MODULES, it looks like it's not included by
> default.
>
> However I found a directx.bat in C:\WINCE600\PUBLIC\CEBASE\OAK\MISC\
> and fiddling a bit with this, and through the command line interface,
> I managed to get my mp3dmod component with its reg settings added to
> my image, to provide the expected functional result.
>
> But I'd like to have a neat (and official) way to achieve my goal. How
> do I setup the DirectX modules I want? Or put it this way, where in
> the build chain is this directx.bat called?
>
> Thanks in advance,
> Alx.
>
>
>
>