Wednesday, 21 October 2009

Upcoming Seminars

If you missed the last Seminars around Windows Embedded CE 6.0 R3 then I've got good news for you:

Save the dates to sit back, put your feet up and to listen to Dave and Dion:

and
To find out what else has been going on around Windows Embedded have a look at the complete Webinar Series introducing all the new Releases: Wave7

So long and thanks for all the fish!
Read more! Post this to a friend!

CMD: Current date/time for file suffix (and others)

The following lines give me the current date + time as string that I use as extension for file/directory names

@SET LDATETIME=%DATE%_%TIME%
@SET LDATETIME=%LDATETIME::=-%
@SET LDATETIME=%LDATETIME:,=-%
@SET LDATETIME=%LDATETIME:.=-%
@echo LDATETIME=%LDATETIME%

The output will look like this

LDATETIME=21-10-2009_12-37-35-83

Maybe these are the lines you have been longing for.....

Cheers,
Jürgen
Read more! Post this to a friend!

Tuesday, 20 October 2009

Windows Embedded CE and Windows Mobile Live Chat

Hello guys,

there is a new chance to talk with Microsoft guys about Windows Embedded CE and Windows Mobile.
Title: Windows Embedded CE and Windows Mobile Live Chat
Date: Oct 27th, 2009 17:00 - 18:00 Central Europe Time

Don’t miss this opportunity to talk with interesting guys! All you have to do is to follow this link and join the live chat! :)

You can find the transcript from last months chat here and older transcripts here.

Have fun!


Read more! Post this to a friend!

Friday, 16 October 2009

Check nesting IF-ELSE-ENDIF in Config Files

Sometimes tracing down the build problems caused by wrong configuration files (platform.bib/.reg/...) is hard due to lot's of IF-ELSE-ENDIF statements (see an older post: "Strange build error message").

Last time I was bugged by a totally messed up configuration file and therefore I wrote (better say 'hacked') a little perl script that just lists the nesting level of each IF, ELSE, ENDIF statement.

Here's the full code - enjoy. There is room for improvements and hints/comments are welcome (I'm definitely not a perl guru :-)

@goto ;#DOS

##
# Visualize nesting level of IF/ELSE/ENDIF pairs
# Dr. Jürgen Welzenbach, 2009
#

# - Constants -------------------------
my $tag_Begin = "IF";
my $tag_Mid = "ELSE";
my $tag_End = "ENDIF";

## - Preamble -------------------------------------------------------
use strict;
use Cwd;
use File::Basename;

my $nestingWidth = 5;


## - Main -----------------------------------------------------------
&filter_files( @ARGV );

## - Functions ------------------------------------------------------
sub filter_file
{
my $fname = shift;
my($filename, $directories, $suffix) = fileparse($fname, qr/\.[^.]*/);
my $nestCount = 0;
my $lineNo = 1;

print "Checking $fname\n";
my $fname_ok = open( FILE, "<", $fname ); if ( $fname_ok ) { my $line; print("Line Level Text:\n"); while ( $line = )
{
my $printIt = 0;
$line = " " . $line;
## Ok, here's room for improovement; but I'm no perl specialist and for
## a quick hack it's ok - for the moment :-)
if ( $line =~ /\W$tag_Begin/ )
{
$line =~ s/^\s+//;
my $sp = sprintf("%4d [%2d]: %*s%s", $lineNo, $nestCount, ($nestCount*$nestingWidth), " ", $line);
print $sp;
$nestCount = $nestCount + 1;
}
elsif ( $line =~ /\W$tag_Mid/ )
{
$line =~ s/^\s+//;
my $sp = sprintf("%4d [%2d]: %*s%s", $lineNo, $nestCount, (($nestCount-1)*$nestingWidth), " ", $line);
print $sp;
}
elsif ( $line =~ /\W$tag_End/ )
{
$line =~ s/^\s+//;
$nestCount = $nestCount - 1;
my $sp = sprintf("%4d [%2d]: %*s%s", $lineNo, $nestCount, ($nestCount*$nestingWidth), " ", $line);
print $sp;
}

$lineNo = $lineNo + 1;
}
close( FILE );
warn $@ if $@;

}
else
{
if( !$fname_ok )
{
print "Error opening '$fname '\n";
}
else
{
close( FILE );
}
}
}

sub filter_files
{
my @args = @_;

while ( $#args >= 0 )
{
filter_file( $args[ 0 ] );
shift @args;
}
}


__END__

:;#DOS

@perl -S %0 %*



Read more! Post this to a friend!

Thursday, 15 October 2009

Introducing Windows Embedded CE 6.0 R3

If you have been reading Jochens posts about Windows CE 6.0 R3 with interest then I'm sure you will not want to miss todays Webinar: "Introducing Windows Embedded CE 6.0 R3".

David Wurster, Senior Product Manager, will introduce and explain all the new features R3 incorporates and answer any questions you may have.


So what are you waiting for? Register here.

So long and thanks for all the fish!
Read more! Post this to a friend!

Tuesday, 13 October 2009

Windows Embedded CE 6.0 R3 - Device Stage Support

Windows Embedded CE 6.0 R3 is to support Microsofts Windows 7 Device Stage Technology through a QFE, available by the end of this year.

This will allow CE Devices to leaverage the new Windows 7 functionality and to smoothly fit into your device management.

So long and thanks for all the fish!
Read more! Post this to a friend!

.NET Micro Framework Beta Refresh

It has been quite quiet around the .NET Micro Framework recently and I guess everybody is waiting for the release of Version 4.0. From the .NET Micro Framework blog you can tell that the team is quite busy as they have just released the 2nd Beta refresh which can be downloaded at https://connect.microsoft.com/netmf/

But, what is everybody else doing? Just twiddling their thumbs? I can assure you some are really busy at the moment.

AUG Elektronik - home of the AMI Board - for example, have been busy making their SDK available as a Beta for their customers to try out the new features. Have a look at the news here.

I'm really looking forward to all the devices available when .NET MF 4.0 is released in ... oops don't want to tell too much.

So long and thanks for all the fish!
Read more! Post this to a friend!