Here are all the questions that have been covered in today's post- we are doing our best to answer all your questions so keep them coming. It's great to see the enthusiasm and interest.

I also want to mention that one of the teams sent a question that was answered by Joel Barciauskas, a particpant from last year and who is also participating this year. This is really what this event is all about - competition but at the same time cooperation so that everybody benefits. keep it going guys!!

 

  1. Is it possible to deploy an application programmed by microsoft Embedded visual C++ in a emulator, could you explain how to do it if it's possible?
  2. How can we develop an application in Microsoft Visual studio .NET and then export it to windows CE?

  3. I tried to use Text-To-Speech technolegy with EVC++ program to read out a text string. But there were a lot of link errors. I have assigned the library path, but it didn't work.

    The code and debug logs are attached to this email. Please tell me how to solve the problem. If my code is totally wrong, could you tell me how to read out a text string?

  4. When I want to compile a project in evc, no matter what i want to compile,the IDE always told me the ERROR message. I paste those messages in the end of this letter.Please tell me what's wrong.

  5. I have to capture images from a Parallel Port Camera into the Ebox and do some Image Processing on it.....

    For this do i have to do the coding on level of Windows CE OS or i have to make a .NET app in C#  for capturing the images on to the Ebox?

  6. The Microsoft Windows CE website currently lists only the CISCO card as the supported one. They are not able to locate support for other cards that could be put into the PCI slot of a PC.

    Could you pl. tell us which types of wireless cards it supports?

  7. Because we have products of smartphone 2002 only at hand at present,could you tell me how to develop the application program of smartphone 2002 with Ebox II?Are there good solutions? Which questions should be paid attention to? Thanks very much!

  8. I have builded a Win Ce 5.0 image for eBoxII using Platform Builder.

    Now I wish to export this build so that I can share it with my team, so that they don't have to compile again the sources in order to have a image on their workstations. The Platform Builder has an option to export a project, and the wizard (menu Platform > Export Wizard) asks for a .pbpxml file. The problem is that even after I've builded I don't have such a file. However there's a file named 'version'.pbxml.

    I've tried feeding the wizard with this file but that didn't work.

    I've noticed that the wizard outputs an .msi file wich is exactly what I need.

    Can you please provide some help on this topic?


    The questions and their answers

From: sami slimani [mailto:sami_slimani@hotmail.com]

Sent: Friday, March 11, 2005 7:11 AM

To: Support for ChallengE

Subject:

hi

is it possible to deploy an application programmed by microsoft Embedded visual C++ in a emulator, could you explain how to do it if it's possible.

thank you

This should get you started, even if it's for an older version of CE:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/evclab.asp

There are lots of useful how-to articles like this in the MSDN library. Enjoy!

Stewart Tansley, Ph.D.

http://research.microsoft.com/~stansley

 

-----Original Message-----

**************************

-----Original Message-----

From: sami slimani [mailto:sami_slimani@hotmail.com]

Sent: Wednesday, March 09, 2005 3:18 PM

To: Support for ChallengE

Subject: develloping an aplication with .net

how can we develop an application in Microsoft Visual studio .NET and then export it to windows CE?

sincerly Sami

Yes, this is a .NET Compact Framework application - in Visual Studio this appears as a "Smart Device Application" in the C# and VB .NET application wizards.


From: jxn [mailto:marsese@163.com]
Sent: Friday, March 11, 2005 4:33 AM
To: Support for ChallengE
Subject: questions about TTS

 

Hi,

I tried to use Text-To-Speech technolegy with EVC++ program to read out a text string. But there were a lot of link errors. I have assigned the library path, but it didn't work.

The code and debug logs are attached to this email. Please tell me how to solve the problem. If my code is totally wrong,
 could you tell me how to read out a text string?

Thank you very much.

By the way, me team is NEUEmbedded from China.

Sparkman

From: Mike Thomson
Sent: Friday, March 11, 2005 7:19 AM
To: jxn; Support for ChallengE
Subject: RE: questions about TTS

 

The one thing that I can think of off the top of my head is the way the functions are exported versus how you are declaring them.  If you do a dump on the LIB using dumpbin you might get a clue.  But you can also try using “extern ‘C’” wrappers around the code and function declaration.

 

Mike Thomson

Lead Program Manager

Windows CE

We don't provide an engine with Windows CE-  teams would need to source an engine from a SAPI 5.0 compatible engine provider - more information is available on the Speech Server web page - http://www.microsoft.com/speech/default.mspx
 
 

Mike Hall

Technical Product Manager

Mobile and Embedded Devices Group


***************************************

 


From: kevin_lee [mailto:mutian_lee@yahoo.com]
Sent: Saturday, March 12, 2005 4:14 AM
To: Support for ChallengE
Subject: question about evc

 

Hello helpp officers,i am a contestant of WESC.

Now i have a trouble about evc.

When i want to compile a project in evc, no matter what i want to compile,the IDE always told me the ERROR message. I paste those messages in the end of this letter.Please tell me what's wrong.

 

Thanks for your help!

 

p.s: i try to set up a new project which is "WCE MFC AppWizard[exe]",and i DID not change any code of  the new project.All code is produced by IDE.

 

Here is the error message:

 

Deleting intermediate files and output files for project 'te - Win32 (WCE emulator) Debug'.
--------------------Configuration: te - Win32 (WCE emulator) Debug--------------------
Compiling resources...
Compiling...
StdAfx.cpp
Compiling...
te.cpp
teDlg.cpp
Generating Code...
Linking...
CVTRES : fatal error CVT1102: out of memory; 42 bytes required
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Error executing link.exe.

te.exe - 2 error(s), 0 warning(s)

Hard to tell just looking at the output but maybe the RC/RES file is corrupt in some way.  Try the following from a command window..

 

link /LARGEADDRESSAWARE -out:<filename>.dll -savebaserelocations:<filename>.rel -dll -machine:thumb

 

-nodefaultlib -noentry -subsystem:windowsce,5.00 /base:0x10000000 -align:4096 <filename>.res 

 

You may get more feedback this way…

 

Mike Thomson

Lead Program Manager

Windows CE


******************************

From: Amitoj Singh [mailto:amitoj@dcetech.com]
Sent: Sunday, March 13, 2005 12:48 AM
To: Joel Barciauskas
Subject: Re: Hi

 

hi

 

i have to capture images from a Parallel Port Camera into the Ebox and do some Image Processing on it.....

For this do i have to do the coding on level of Windows CE OS or i have to make a .NET app in C#  for capturing the images on to the Ebox

 

Amitoj

From: Joel Barciauskas [mailto:barciajo@bc.edu]
Sent: Sunday, March 13, 2005 8:04 PM
To: 'Amitoj Singh'
Cc: Ivan Joseph
Subject: RE: Hi

 

Hey,

 

I’m sorry, I don’t have a lot of experience getting data from a parallel port. Does the camera have Windows CE drivers? 

 

If you have to write your own drivers, these sites should help:

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnce50/html/windowsce_drivers.asp

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50conparallelportdrivers.asp

 

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk5/html/wce50constreaminterfacedrivers.asp

 

Also, apparently there are sample parallel port drivers in the following directories of a build of Windows CE 5.0:

 

  • %_WINCEROOT%\Public\Common\Oak\CSP\SHx\HD64465\Parallel
  • %_WINCEROOT%\Public\Common\Oak\Drivers\Parallel

 

I’m not sure if I can give you much more advice beyond this, we used the serial port in last year’s competition.  If there is anyway you can get a serial port connection rather than a parallel port, I would highly suggest it.  Last year, someone at Microsoft wrote a really nice SerialPortReader class that wrapped the Windows CE API in a way that could be accessed from a .NET Compact Framework application.  The API function it relied on, ReadFile(), cannot read data from the parallel port, so it would not be usable in this situation.

 

Take a look through those links and let me know!

 

Joel Barciauskas

 


******************************************

-Original Message-----

From: Shivashankar B. Nair [mailto:sbnair@iitg.ernet.in]

Sent: Sunday, March 13, 2005 6:49 PM

To: Mythreyee Ganapathy

Subject: A Request for Info Again

Hello,

Sorry to bother you again but the students here are facing some problems on Microsoft Win CE.NET. They are working on MS Platform Builder 4.2 while I presume the Windows Embedded Student Challenge requires them to use version 5.0 or later.

The Microsoft Windows CE website currently lists only the CISCO card as the supported one. They are not able to locate support for other cards that could be put into the PCI slot of a PC.

Could you pl. tell us where/how we can obtain the new version & also which types of wireless cards it supports?

With best wishes,

- Shivashankar

The easiest way to get wireless support on the eBox is to use an Ethernet Wireless adapter, such as the following - http://www.compusa.com/products/product_info.asp?product_code=315053&pfp=SEARCH

Mike Hall

Technical Product Manager

Mobile and Embedded Devices Group

*************************

Dear Sir:

> Because we have products of smartphone 2002 only at hand at present,could you tell me how to develop the application program of smartphone 2002 with Ebox II?Are there good solutions? Which questions should be paid attention to? Thanks very much!

From: [mailto:zhengrenguang@sina.com]

 

First Team of Xiamen University

From China

You can't develop applications for the eBox using a Smartphone - use Windows CE 5.0 Emulator BSP and generate your applications in the emulator - once the eBox arrives you can then move the applications over to the reference board.

Mike Hall

Technical Product Manager

mailto:mikehall@microsoft.com

http://blogs.msdn.com/mikehall

***************************

From: Bogdan Marius TUDOR [mailto:bogdan.tudor@csit-sun.pub.ro]

Sent: Monday, March 14, 2005 12:12 PM

To: Support for ChallengE

Subject: Exporting a project with Platform Builder

Hello helpp,

I have builded a Win Ce 5.0 image for eBoxII using Platform Builder.

Now I wish to export this build so that I can share it with my team, so that they don't have to compile again the sources in order to have a image on their workstations. The Platform Builder has an option to export a project, and the wizard (menu Platform > Export Wizard) asks for a .pbpxml file. The problem is that even after I've builded I don't have such a file. However there's a file named 'version'.pbxml.

I've tried feeding the wizard with this file but that didn't work.

I've noticed that the wizard outputs an .msi file wich is exactly what I need.

Can you please provide some help on this topic?

--

Best regards,

Bogdan Tudor

Team "Newton"

The pbpxml file is your main platform project file, for example, if I create a project called "Foo", I would expect to find a Foo.pbpxml in \wince500\pbworkspaces\Foo.pbpxml

Thanks,

Mike Hall

mailto:mikehall@microsoft.com

http://blogs.msdn.com/mikehall