(Short intro) I was a bit puzzled when I found that some applications
cannot be built with cegcc because they're created with MFC. So I am
playing with a poor man's version of MFC. Maybe I should put this in
tools/mfc once it starts to be a bit decent.

One of my test cases is the ping program mentioned on our list of
applications that can (or cannot) be built with cegcc.
See http://cegcc.sourceforge.net/software-that-works.html .

Now for the real question.

It uses a couple of functions called
        IcmpCreateFile
        IcmpSendEcho
        IcmpCloseHandle

I can find those in a DLL which we support (see
src/cegcc/importlibs/defs/icmplib.def). So I can compile and link the
sources, but when I try to run the application on my PDA, it refuses
because it doesn't find icmplib.dll .

When I download the compiled version of that same ping application, it
does appear to run on my PDA. The DLLs it uses are listed below :

dannypc: {8} arm-wince-cegcc-objdump -x ping10beta_arm.exe | fgrep DLL
 vma:            Hint    Time      Forward  DLL       First
        DLL Name: WINSOCK.dll
        DLL Name: mfcce300.dll
        DLL Name: COREDLL.dll


According to our def files, these functions are also in the
iphlpapi.dll, which my PDA does have, but that doesn't show up in the
list above either.

Can anyone see where this application gets the Icmp* functions ?

        Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to