Application Development for Windows CE - windows-ce

I have a POS software and need to develop a collecting module for windows CE to run on a Honeywell Dolphin 6100 device.
I need to develop a simple application to run on a Honeywell 6100 device. This application should:
Get a list of products (code, description and price) from my POS software
Process Sales reading product's barcode showing Total due and number of items
Upload that sale to my POS software (via network, files, or something like that)
What are my options? Are there any Application builder for Windows CE? If not what could I use to develop such application?

You have a few options, but few (if any) of them will allow you to create the application without writing code. I'm aware of no "application builder" products that will get you there in Windows CE, and I've been working with CE for some time. That's not to say some obscure thing might not exist, but I am not aware of one.
You can write your application in .NET - either C# or VB.NET are supported - using the .NET Compact Framework (CF). For that you will need Visual Studio 2008 Professional and really little else, other than a device. There are lots of tutorials and online resources for CF development, so I won't put in a list of them here.
You can write your application in C/C++. For this, again you'd want to use Visual Studio 2008 Professional. Yes, there are options that use other compilers, but if you want to spend time actually writing the app and not building up a development tool chain and figuring out how to get it connected and debugging, then Visual Studio is the route you want.
If you'd like a non-Microsoft solution, there are others that are supported to more or less of a degree. NS Basic has been around a long time, so it's probably pretty robust and has reasonable support. I've never used it, but I've heard good things about it from those who have.
Anything else and you're a bit off the reservation. Support will likely be minimal at best, tooling will likely not be robust, support, tutorials and all of the other goodness that developers often rely on to move forward will be scant. You can likely get any language working under CE, given enough time and resources, but the options above are the most likely to lead to success.

Since you said you know Delphi and didn't want to learn another language, you can use Delphi Prism to write a client app to run on windows CE, pull the data you need, and post it to a webservice:
Is Delphi Prism a new version of Delphi .net?
http://en.wikipedia.org/wiki/Oxygene_(programming_language)
(edit) Just checked and it's now a part of this package:
http://www.embarcadero.com/products/rad-studio/faq

Related

How to use IVI-C instruments-drivers (not IVI-COM)

I want to use IVI-C instruments-drivers (not IVI-COM) in Visual Studio 2012
Someone ever did this?
I only found examples for Visual Basic.
Drivers are downloadable on keysight.com-website which are free to use.
For VISA i installed Keysight IO-Libraries.
I'm doing something similar in Visual Studio 2013 using VB, but the basic principles will be similar for all languages. You probably know all of this already, but the question is a bit vague so here goes:
You need to install the drivers plus an SDK (which comes as a dll). Hopefully the SDK will come with a manual of commands in your language of choice, but if not study the manufacturer's coding examples in VB or whatever.
It is easiest to use the languages provided in the SDK (usually VB and C#, maybe C++) otherwise you will have to write an interface between your language and the actual command syntax and work in a multi-language environment.
The drivers and the SDK need to be referenced in your project after you have installed them. (MyProject, Reference Tab, use the Add command and Browse for the files.) Sometimes its hard to find the correct files but VS 2013 is quite good at telling you when you get the wrong ones.
You may have to target your build (Build|Configuration Manager) on x86 processors because there are no x64 drivers for much of this kit - check with Keysight.
Then, in your code you will need to:
instantiate a copy of the driver for the specific instrument:
Dim MyDriver As New InstrumentManufacturersDriverName
initialize it using the manufacturer's commands (on my kit initialization connects the driver to the physical interface via USB):
MyDriver.Initialize(ParametersIfAny),
set up the ports you want to use (very dependent on the specific hardware)
program your commands.
Use a lot of patience and trial and error at first.
Best of luck - it's not so difficult.

Is there a cross platform desktop framework that would utilize native libraries such at .NET and Cocoa?

I am starting a project that is heavily graphics related (think, paint app with layers).
Anyway, I have a long history in C#, Java, JavaScript and Ruby. This application will be open source.
But what I'm looking for is a "build once, use everywhere" framework. Most of the platforms I've looked into either seem to be far too outdated, too complicated, or just not a right fit.
I've looked into Swing, WindowBuilder, wxRuby, etc. So many choices and none seem modern enough, have good documentation, etc.
I was a C# desktop developer for years so if I were targeting Windows only, I would go that route easily. But I want my app to run on Macs too. But, I would like the Mac version to look like it was designed for a Mac and the Windows version designed for Windows, etc. I'm looking at the Mono Project currently. But the idea of my Mac users installing Mono doesn't appeal to me.
Anything Ruby based would be cool but not required.
Anyway, what are some recommendations? I use NetBeans, Eclipse and Visual Studio. So I'm not concerned with learning new IDE's if I had to. I even thought about doing it all in JavaScript and using the canvas but since I need to work with large, local binary files, I didn't know if that would be a good option.
Thanks for any suggestions.
Real Studio can create cross-platform desktop apps for OS X, Windows and Linux. It can also create Cocoa apps and you can use it to interface with Cocoa directly when needed.
However, Real Studio creates Win32 apps, not .NET apps so you cannot directly interface with .NET libraries.

Good Development tool for windows ce

I'm just finding my feet on Windows CE development and have quite a few questions.
We're trying to develop apps on Windows CE (mobile computer with a barcode scanner) and I'm looking for development tools. I've an ASP.Net/WinForms background and I did build another app using C#/VS2008 and am looking to see if there is like a tool that can be used to expedite development.
The app we're trying to do is of medium complexity and an ideal tool would be one that I could use in conjunction with lets says some C# forms that I can code myself.
I've looked at a few tools and most of them are tailored for simple apps, besides they do not give me the flexibility to add code and the options are fairly limited.
Is there a tool like the one I'm looking for, or a good tool that I can use for CE.
Thank you.
The de facto standard development environment for Windows CE apps is Visual Studio 2008 Professional. It provides tools and compilers for both native (C/C++) as well as managed (C# and VB.NET) applications.

Portable(in USB drive) C# CRUD apps

I need to write app from C# that do CRUD with database.and also it shuld look up for .net framework and install it if particular pc doesn't have it.user must be able to do crud things from the place he finished in previous computer
can you suggest me:
Database to use
Any class libraries for this
Any special considerations
I m using vs 2010 with .net framwork 4
A bit offtopic:
Actually "portable app" philosophy mean not only it could run without any installation process but also it will not leave any trails after itself. It including various frameworks installation.
To avoid any installations or registry trails - check portableapps.com, they have pretty neat toolset to make any app portable. They have Java-vm solution for sure, don't remember about .NET solution.

Uses of VC++ these days?

Can someone give examples of some good applications / project that are made in VC++ commercial and non-commercial.
What do you use VC++ for these(2008...) days ?
Do enterprise application three tier i.e get written in VC++
Is there any use in leaning MFC these days?
Computer games are mostly still written in C++ on Windows using Visual Studio. Enterprise applications do usually use c# or java as enterprises have more money to buy hardware to make up for the difference in performance where games need to run on a significant amount of devices such as the PS3, Xbox 360, PS3, Windows, Mac etc. with limitations on memory.
Also embedded products, system utilities and software that makes extensive use of several low level API's are still written in C++. It definitely still has uses.
For low-level stuff, there is still nothing that beats C and C++. For example, I wrote Taekwindow in Visual C++ 2008. It consists mostly of Windows API calls; any other language would be too much of a hassle, and in this case not even possible (hook procedures).
The configuration tool was done in C#, but I am currently redoing that in C++ to make code reuse easier. I did look at MFC briefly, but decided that I didn't like its bloat for such a simple program, so I ended up using only the vanilla Windows API and its dialog manager. Admittedly, I can be a bit of a masochist sometimes.
Microsoft said that they'll improve MSVC because they have customers who have millions of lines of C++ already. For all I know, most well-known, commercial applications for Windows, not to mention Windows itself, are built using MSVC: i.e. applications which have been years in the making.
The most recent time I used MSVC (and MFC) was on a PocketPC/SmartPhone (i.e. Windows Mobile).
The majority of cross platform computer games are always written in VC++ since abstractions are always used anyway. Some platforms such as PS3 even allow for games to be compiled straight out of VC for PS3.
I'd say, anything cross platform that has to run on both Windows, mac and/or linux has a high chance of being written in VC because it's the best IDE out there.
Visual C++ is the ultimate programming tool which is still widely used in Most of the Core Banking and financial products developed by software companies. AS far as I know, adobe products are developed in VC++ and if you want to code anything in windows based pda or phones , vc++ embedded which is also called eVC++ is the way to go. Most of the kernel level rootkits are developed making use of VC++ with DDK functionality. The list goes on like that. There is no reason to consider vc++ as being not used these days.

Resources