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.

Using GDIsub with CE 6.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Deepak - 25 Jul 2008 20:31 GMT
Hello,
I'd like to use GDIsub libs that were written for WinAuto OS(basically CE
5.0), on CE6.0 And I think I have all the necessary files [GDIsub.H and
GDISub.LIB]

1. Am I missing any files?
2. How can I add GDIsub to be seen in my new platform, such that I can
create a SDK that includes these (GDIsub) libraries?
3. Is is even possible to do #2 above?

FYI: Yes, the new platoformis idential to one that was successfully
executing WinAuto [CE 5.0]. H/W wise, especially the Graphics chips, do
support GDIsub.
Thanks.
Michel Verhagen (eMVP) - 26 Jul 2008 02:28 GMT
I don't know what GDIsub is, but I can answer some of your questions:

1. If it's just a lib and a header file, then no. ;)
2. Create a folder for you GDIsub files and create a sources file for
your lib that doesn't build anything but just defines the poslink pass
command, like this:

TARGETNAME=GDIsub
RELEASETYPE=PLATFORM
TARGETTYPE=LIBRARY

SOURCES= \

POSTLINK_PASS_CMD=postlink.bat
FILE_VIEW_ROOT_FOLDER= \
  postlink.bat \

Copy GDISub.lib, the sources file above and a default makefile (copy
from any other component) into the folder. Then create the postlink.bat
batch file:

xcopy /I /Y /Q "%_TARGETPLATROOT%\PATH_TO_FOLDER\GDISub.lib"
"%_PROJECTROOT%\cesysgen\SDK\lib\%_TGTCPU%\%WINCEDEBUG%\"

This command will copy your lib into the folder the SDK roller uses to
generate the SDK.

In the folder containing the files, create a subfolder "SDKINC" and copy
 GDISub.h into that folder.

Now configure the SDK roller to include that folder that contains extra
header files (it's on a tab in the SDK configuration dialog).

I think that answers #3.

Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

 GuruCE Ltd.
 Microsoft Embedded Partner
 http://GuruCE.com
 Consultancy, training and development services.

> Hello,
> I'd like to use GDIsub libs that were written for WinAuto OS(basically CE
[quoted text clipped - 10 lines]
> support GDIsub.
> Thanks.
User_Anony - 26 Jul 2008 13:40 GMT
Excellent answer. Thanks, Let me try and I will let you know.
Dean Ramsier - 28 Jul 2008 15:10 GMT
Are these libs that came out of the WinAuto OS?  If so, you can't just move
them over to another OS version.  Even if it works technically, it would
most likely be a licensing violoation...

Signature

Dean Ramsier - eMVP
BSQUARE Corporation

> Hello,
> I'd like to use GDIsub libs that were written for WinAuto OS(basically CE
[quoted text clipped - 10 lines]
> support GDIsub.
> Thanks.
 
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.