For Programmers: Free Programming Magazines  


Home > Archive > Smartphone Developer Forum > February 2005 > How to copy .\Windows\coredll.dll from Smartphone to PC?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to copy .\Windows\coredll.dll from Smartphone to PC?
CEO

2005-01-30, 3:58 pm

Hi all,

I try to copy .\Windows\coredll.dll from my SPV E200 Smartphone to my PC,
but it said "can not find the file" or "Access Denied".

Anyone can tell me how can I do?

Many thanks.
Jim
Peter Foot [MVP]

2005-01-30, 3:58 pm

You can't since the file is in ROM on the device. But why would you want to
do this anyway, since the file is compiled for the ARM processor you won't
be able to use it on the desktop. If you explain what you want to do with
the file we can probably offer some alternative solutions...

Peter

--
Peter Foot
Windows Embedded MVP
www.inthehand.com | www.opennetcf.org

"CEO" <ceo_uk@msn.com> wrote in message
news:41B9CD37-2068-42AE-ABA7-CF71CD51F011@microsoft.com...
> Hi all,
>
> I try to copy .\Windows\coredll.dll from my SPV E200 Smartphone to my PC,
> but it said "can not find the file" or "Access Denied".
>
> Anyone can tell me how can I do?
>
> Many thanks.
> Jim



Douglas Harber

2005-01-30, 8:58 pm

While this may not be terribly useful for coredll.dll, it would be really
nice to peer into some of the system dll's to see what they're doing. For
me, BTAGSVC.DLL comes to mind as an file I'd like to look inside and see
what, if anything, it's doing anything to route audio to a bluetooth device,
e.g. a headset.

I imagine there are ways to download the ROM from the phone and extract
files from it. In fact, I have seen a number of references to this kind of
stuff but I haven't figured out how to make any of it work.

Doug Harber

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
news:ugPoBmtBFHA.904@TK2MSFTNGP12.phx.gbl...
> You can't since the file is in ROM on the device. But why would you want
> to do this anyway, since the file is compiled for the ARM processor you
> won't be able to use it on the desktop. If you explain what you want to do
> with the file we can probably offer some alternative solutions...
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "CEO" <ceo_uk@msn.com> wrote in message
> news:41B9CD37-2068-42AE-ABA7-CF71CD51F011@microsoft.com...
>
>



CEO

2005-01-31, 4:00 am

Hi Peter, thank you very much for your reply.

I'm programming a DLL, but it needs to call a function which should be
inside "Coredll.dll". I just want to make sure which function my DLL called.
But when I use "Dependency" to check my DLL imported function, I found the
column of "Function" always shows "N/A". So I think maybe it's caused by
there is not exist the file "Coredll.dll" in my PC. So I'd like to copy it
from my smartphone and do some research job. But when I try to copy the file
from smartphone to pc, it says:"Access Denied".

Thank you very much for your help!

regards,
Jim


"Peter Foot [MVP]" wrote:

> You can't since the file is in ROM on the device. But why would you want to
> do this anyway, since the file is compiled for the ARM processor you won't
> be able to use it on the desktop. If you explain what you want to do with
> the file we can probably offer some alternative solutions...
>
> Peter
>
> --
> Peter Foot
> Windows Embedded MVP
> www.inthehand.com | www.opennetcf.org
>
> "CEO" <ceo_uk@msn.com> wrote in message
> news:41B9CD37-2068-42AE-ABA7-CF71CD51F011@microsoft.com...
>
>
>

Scott Yost [MSFT]

2005-01-31, 9:00 pm

The executables in ROM are fixed up and unpacked so they can be executed in
place, so it's unlikely they will be useful for the type of analysis you
want to do.

--
Scott Yost
Software Development Engineer/Test
Microsoft Corp.

This posting is provided "AS IS" with no warranties, and confers no rights.

"Douglas Harber" <remove-douglas_harber@hotmail.com> wrote in message
news:%23Z$zWcxBFHA.3596@TK2MSFTNGP12.phx.gbl...
> While this may not be terribly useful for coredll.dll, it would be really
> nice to peer into some of the system dll's to see what they're doing. For
> me, BTAGSVC.DLL comes to mind as an file I'd like to look inside and see
> what, if anything, it's doing anything to route audio to a bluetooth
> device, e.g. a headset.
>
> I imagine there are ways to download the ROM from the phone and extract
> files from it. In fact, I have seen a number of references to this kind of
> stuff but I haven't figured out how to make any of it work.
>
> Doug Harber
>
> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote in message
> news:ugPoBmtBFHA.904@TK2MSFTNGP12.phx.gbl...
>
>



Douglas Harber

2005-02-01, 4:04 am

Yes, I've already given up on the thought of doing anything useful with a
SmartPhone except making phone calls and taking blurry low-contrast pictures
(which I realize has nothing to do with SmartPhone, per se, but is still one
of the literally dozens of deficiencies with my so-called SmartPhone.)

Please forgive the sarcastic tone but trying to work with this phone has
been a trial, to put it mildly. (Kind of like calling hell a tad
uncomfortable.)

Doug Harber

P.S. I didn't expect there was any useful way to do what I mentioned, just
observed that it would have been nice (not to mention the dreaded U-word,
useful) to be able to.

"Scott Yost [MSFT]" <scyost@online.microsoft.com> wrote in message
news:OpRHP6%23BFHA.1452@TK2MSFTNGP11.phx.gbl...
> The executables in ROM are fixed up and unpacked so they can be executed
> in place, so it's unlikely they will be useful for the type of analysis
> you want to do.
>
> --
> Scott Yost
> Software Development Engineer/Test
> Microsoft Corp.



riki

2005-02-01, 8:59 pm

CEO wrote:
> Hi Peter, thank you very much for your reply.
>
> I'm programming a DLL, but it needs to call a function which should be
> inside "Coredll.dll". I just want to make sure which function my DLL called.
> But when I use "Dependency" to check my DLL imported function, I found the
> column of "Function" always shows "N/A". So I think maybe it's caused by
> there is not exist the file "Coredll.dll" in my PC. So I'd like to copy it
> from my smartphone and do some research job. But when I try to copy the file
> from smartphone to pc, it says:"Access Denied".


You can get read access to it using CreateFile(). Personlly I have a
program which dumps all exports in a DLL, so I use that for researching
DLL's.
At least I think you can get read access, hmmm, anyways that worked when
I was looking into another DLL. I find Activesync doesn't try that hard
to get access to files (perhaps it's trying to get write access when it
does a copy).

riki

main(){printf("%d != %d, why?", sizeof('"')["'"],(sizeof('"'))["]\"\0["]);}
By Night:
ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
AbstractStart for Smartphone :
http://homepages.inspire.net.nz/~gambit/AbstractStart/
By Day: http://www.EmbeddedFusion.com
CEO

2005-02-09, 4:00 pm

Thanks for your reply. I call like this in the .NET CF: new
FileStream("\\Windows\\Coredll.dll",FileMode.Open), but it always
says:"UnauthronizedException". Could you give me a demo code? Many thanks.
;-)

"riki" wrote:

> CEO wrote:
>
> You can get read access to it using CreateFile(). Personlly I have a
> program which dumps all exports in a DLL, so I use that for researching
> DLL's.
> At least I think you can get read access, hmmm, anyways that worked when
> I was looking into another DLL. I find Activesync doesn't try that hard
> to get access to files (perhaps it's trying to get write access when it
> does a copy).
>
> riki
>
> main(){printf("%d != %d, why?", sizeof('"')["'"],(sizeof('"'))["]\"\0["]);}
> By Night:
> ThemeChanger for Smartphone : http://homepages.inspire.net.nz/~gambit/
> AbstractStart for Smartphone :
> http://homepages.inspire.net.nz/~gambit/AbstractStart/
> By Day: http://www.EmbeddedFusion.com
>

CEO

2005-02-16, 9:02 am

Any advice is welcome!

"CEO" wrote:
[color=darkred]
> Thanks for your reply. I call like this in the .NET CF: new
> FileStream("\\Windows\\Coredll.dll",FileMode.Open), but it always
> says:"UnauthronizedException". Could you give me a demo code? Many thanks.
> ;-)
>
> "riki" wrote:
>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com