Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / WinCE Programming / July 2008

Tip: Looking for answers? Try searching our database.

Post Adding Libs to SDK

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
User_Anony - 25 Jul 2008 23:02 GMT
Hello,

In CE 6.0, is there a way to add a library to the SDK after an SDK has been
created (i.e post SYSGEN pahse?)
Basically, I have a lib that was created on CE 5.0 dsign and would like to
include it under the new platform. But my BSP supplier, does not natively
include this lib, although the H/W supports it completely.
So, my question is how can I build my app that worked on CE 5 to use this
lib and work in CE 6 without tearing up the app - my first though was to
include this in the SDK I'm creating for the new platform which is CE 6.0 -
am I right?
So, can I modify some files such that I can add this lib to the newly
created SDK?
For ex: Say my newly created SDK is called SDKce6-1
I have the SDK in the following path:
C:\WINCE600\OSDesigns\OSDesign_Jul08_08\SDKs\SDK1\obj\SDKce6-1
Under which there is:
\Include\ARM
\Lib\ARM

Can I add my lib under this dir? and the header file exported by the lib,
under the include dir? will it work? is it sufficient?
How about modifying Properties.XML? and MSManifest files to include my LIB?

Would I need to modify CONFIG.BIB/PLATFORM.BIB as well - I dont think so..?

of course, I don't have to do it the SDK way, if there is any other path...

Thanks.
Bruce Eitman [eMVP] - 25 Jul 2008 23:08 GMT
http://geekswithblogs.net/BruceEitman/archive/2008/05/08/windows-ce-platform-bui
lder--automatically-putting-files-in-the.aspx


The SDK is not created during SYSGEN, it is created when you click someplace
(not looking right now) and create the SDK.  So anytime between SYSGEN and
building the SDK, you can do whatever you want to do.

Signature

Bruce Eitman (eMVP)
Senior Engineer
Bruce.Eitman AT EuroTech DOT com
My BLOG http://geekswithblogs.net/bruceeitman

EuroTech Inc.
www.EuroTech.com

> Hello,
>
[quoted text clipped - 30 lines]
>
> Thanks.
User_Anony - 26 Jul 2008 13:11 GMT
Hello Bruce,

Thank you. It seems its what I need.
Could you pls tell me where I can find the SOURCEs file to modify as you
mention in the link?

TARGETNAME=MyDll
TARGETTYPE=DYNLINK
DEFFILE=$(TARGETNAME).def

TARGETLIBS= \
   $(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib

SOURCES=MyDll.c

Thanks,
--------------------------------------------------------------------------------

> http://geekswithblogs.net/BruceEitman/archive/2008/05/08/windows-ce-platform-bui
lder--automatically-putting-files-in-the.aspx

>
[quoted text clipped - 36 lines]
> >
> > Thanks.
User_Anony - 26 Jul 2008 13:22 GMT
Bruce,
Never mind. I found the SOURCES (was looking in the wrong drive!)
But I hv another question:

If I have a lib called mylib.lib and a header file (exporting funcs) called
mylib.h,
how do I add these to my SOURCES. The example you cite is for a DLL, and I
couldn't follow the same for adding a  lib. Could you pls show me?

Thanks,

> http://geekswithblogs.net/BruceEitman/archive/2008/05/08/windows-ce-platform-bui
lder--automatically-putting-files-in-the.aspx

>
[quoted text clipped - 36 lines]
> >
> > Thanks.
User_Anony - 26 Jul 2008 13:32 GMT
Hey! Back again,
Sorry about my pounding...the newgroup for answers...getting stuck in this
little thing!
Actually, I don't have a SOURCES and DIR file for the library that I am
trying to add to SDK. It was generated by someone else (previous CE 5.0
development), and all I have is just the .H and .LIB now

I mis read and though you were tell me to add these to the SOURCES file
found under under /PLATFORM/PLATFORM_NAMEXXX dir.
Will that work? If not, please tell ...Thanks,

> http://geekswithblogs.net/BruceEitman/archive/2008/05/08/windows-ce-platform-bui
lder--automatically-putting-files-in-the.aspx

>
[quoted text clipped - 36 lines]
> >
> > Thanks.
Michael Salamone - 26 Jul 2008 13:58 GMT
You don't have to modify any SOURCES / DIR files.  Just copy your header and
lib to the proper directory (the directories that have the SDK headers and
libs).  When you make the SDK, that process just sucks up all the files in
those directories.

Signature

Michael Salamone, eMVP
Entrek Software, Inc.
www.entrek.com

> Hey! Back again,
> Sorry about my pounding...the newgroup for answers...getting stuck in this
[quoted text clipped - 54 lines]
>> >
>> > Thanks.
User_Anony - 26 Jul 2008 16:15 GMT
Thanks Mike,
But what dirs do you eactly mean mean?
My Installations are as follows:

My custom Lib from previous (CE 5.) dev is say under:
C:\MyCustomLib\
And this has \INC, \DEBUG and \RETAIL under this
\INC has the .H file and \DDEBUG and |RETAIL have the .Lib file

Os Designs are under:
C:\WINCE600\OSDesigns
under which is the SDK
C:\WINCE600\OSDesigns\SDK\MySDK1\
under which (MySDK1) are \OBJ and \MSI
under \OBJ there is \SDKCE6-1 under which are: \INCLDUE and \LIB
under \INCLUDE is ARM and under lib is ARM and respective .H and .LIB files
under the CPU names...

Platform is under:
C:\WINCE600\PLATFORM\MYPLATFOM\
under which are:
\CATALOG, \CESYSGEN \FILES, \LIB, \SRC and \TARGET

Thanks,
-Deepak

-----------------------------------------------------------------------------
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.