Hi, everyone here

Can I modify and rebuild IESample on CE.NET 4.2 ?

I want to modify the source code of IESample on CE.NET 4.2.

First I copied the source from PUBLIC\IE\OAK to
PLATFORM\MyPlatform\Apps.

Then I modified the dir file of the core of
PLATFORM\MyPlatform\Apps\IEsample like the folowing (#1).

Then I modified the sources file of the core of
PLATFORM\MyPlatform\Apps\IEsample\Core like thte folowing (#2) to make
EXE file.

I got no error when I build it, but when I execute myiesample on the
target,

the program terminate imeediately with no window created.

The strange thing it that the size of myiesample is 32KB, where as
that of the original IEsample.exe is 71KB.

Can you tell me what I missed ?

Can you tell me how can I make it successfully ?

I really need to modify and rebuild IEsample, for my customization,

and I want to do it on the command line, and on the platform directory
for repeated rebuild.

And, is it possible to make it rebuilt using the EVC++ 4.0.

Would you help me ?

Any kind of advice is welcome and appreciated.

Thank you very much, in advance.

- Yours, Ricky -

(#1)

DIRS=favorites ieui pieui core

(#2)

TARGETNAME=myiesample
TARGETTYPE=PROGRAM
EXEENTRY=WinMain
WINCEOEM=1

RDEFINES=$(RDEFINES) -DIESAMPLE_MSHTML

INCLUDES=..\core;..\favorites;..\res;

TARGETLIBS= $(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\ole32.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\oleaut32.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\commctrl.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\uuid.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\winsock.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\crypt32.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\wininet.lib \
$(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\commdlg.lib \
# $(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\iesample_core.lib \
$(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\iesample_fav.lib

SOURCES=iexplore.cpp \
browseobj.cpp \
utils.cpp \
mainwnd.cpp \
animthrd.cpp \

RE: [Q] Can I modify and rebuild IESample on CE.NET 4.2 ? by peteroak

peteroak
Fri Apr 09 13:33:43 CDT 2004

It looks like you aren't linking to any resources for iesample. That would
account for about 40k. You can copy iesample.rc into the core directory
and add it to the SOURCES line, or you can add
$(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\iesample_ie.res (built from the ieui
directory) to your TARGETLIBS line.

-Peter

--------------------
>From: onlyjazz@cselab.snu.ac.kr (Ricky, Lee)
>Newsgroups: microsoft.public.windowsce.platbuilder
>Subject: [Q] Can I modify and rebuild IESample on CE.NET 4.2 ?
>Date: 2 Apr 2004 03:55:10 -0800
>Organization: http://groups.google.com
>Lines: 75
>Message-ID: <35216486.0404020355.5f6d6833@posting.google.com>
>NNTP-Posting-Host: 210.181.70.151
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1080906910 28039 127.0.0.1 (2 Apr 2004
11:55:10 GMT)
>X-Complaints-To: groups-abuse@google.com
>NNTP-Posting-Date: Fri, 2 Apr 2004 11:55:10 +0000 (UTC)
>Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onlin
e.de!news.glorb.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa06.phx.gbl microsoft.public.windowsce.platbuilder:47934
>X-Tomcat-NG: microsoft.public.windowsce.platbuilder
>
>Hi, everyone here
>
>Can I modify and rebuild IESample on CE.NET 4.2 ?
>
>I want to modify the source code of IESample on CE.NET 4.2.
>
>First I copied the source from PUBLIC\IE\OAK to
>PLATFORM\MyPlatform\Apps.
>
>Then I modified the dir file of the core of
>PLATFORM\MyPlatform\Apps\IEsample like the folowing (#1).
>
>Then I modified the sources file of the core of
>PLATFORM\MyPlatform\Apps\IEsample\Core like thte folowing (#2) to make
>EXE file.
>
>I got no error when I build it, but when I execute myiesample on the
>target,
>
>the program terminate imeediately with no window created.
>
>The strange thing it that the size of myiesample is 32KB, where as
>that of the original IEsample.exe is 71KB.
>
>Can you tell me what I missed ?
>
>Can you tell me how can I make it successfully ?
>
>I really need to modify and rebuild IEsample, for my customization,
>
>and I want to do it on the command line, and on the platform directory
>for repeated rebuild.
>
>And, is it possible to make it rebuilt using the EVC++ 4.0.
>
>Would you help me ?
>
>Any kind of advice is welcome and appreciated.
>
>Thank you very much, in advance.
>
>- Yours, Ricky -
>
>(#1)
>
>DIRS=favorites ieui pieui core
>
>(#2)
>
>TARGETNAME=myiesample
>TARGETTYPE=PROGRAM
>EXEENTRY=WinMain
>WINCEOEM=1
>
>RDEFINES=$(RDEFINES) -DIESAMPLE_MSHTML
>
>INCLUDES=..\core;..\favorites;..\res;
>
>TARGETLIBS= $(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\ole32.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\oleaut32.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\commctrl.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\uuid.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\winsock.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\crypt32.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\wininet.lib \
> $(_PROJECTROOT)\cesysgen\sdk\lib\$(_CPUINDPATH)\commdlg.lib \
># $(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\iesample_core.lib \
> $(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\iesample_fav.lib
>
>SOURCES=iexplore.cpp \
> browseobj.cpp \
> utils.cpp \
> mainwnd.cpp \
> animthrd.cpp \
>