Recently i was thinking about creating an app which would show me my remaining calltime with one of polish prepaid services. I imagine it would work like that:
1. receiving a specific text message with my account balance from my operator the app would capture it and store the value
2. after each call being made operator sends sms with call cost. this should be deducted from previously stored value. etc etc.
3. value should be displayed somewhere, like on today plugin...
seems simple, but theres a catch;] i can't code for WM5. i just got myself delphi 2006 today and i see it has limited CF support so i can create applicatons... but am i able to create Dlls? also i don't have clue about creating dll's at all, especialy those for WM5. is it even possible with .net? is there any chance for me?
i know, i know, i shoud start to use c++ long time ago, but i'm affraid it' might be a bit to late for me;]
ps. is there anything like WM5 sdk, any guide kit for programmers, specs of any kind? where to look for it? thanks for any help. please note, i'd like to become one of you guys, i could even be of some value;]
heard somewhere that today plugins
cant be written in .net
here is a link to the subject of today plugins
http://forum.xda-developers.com:80/showthread.php?t=234162&highlight=codeguru
thanks, gonna try it in a minute.
(today unbelievable happened - my wizards battery got empty )
interesting. i'll consider switching to c++. as far as i understand it's not normal C, its some kind of mobile oriented c? but no connection with .net? how does it work?
Ok.
C++ is an extension of C to include object oriented programming. The language is not specific for mobile devices, so any book / article on the subject will do for starters.
I taught my self C++ after learning Pascal (Delphi is for Pascal right?) in school and it was quite easy because the languages have similar structure.
Your second stop is to learn WIN32 programming. I don't know how Delphi deals with APIs and function exports (that's what you need for DLLs).
Basically WM programming is very similar to desktop windows programming, except for a few miner difference (like all APIs using only Unicode).
You can download a free development tool called eVC 4 from MS. It looks exactly like Visual Studio 6 if you have any experience with that.
Unfortunately system DLLs like plugins can not be written using .NET but if you search MSDN (I really don't remember the link), there is an article on how to use a basic C++ DLL for the plugin and delegate all the real functionality to a .NET DLL.
Good luck.
yes, delphi is much like pascal
i know it's not that hard if you mean the structure. i just don't know how to start. in fact i got myself evc yesterday, after what you say i'll take good lok at it as soon as i prepare some room on my HD.
Delphi does well with windows api - as far as i can tell, i played with theese a bit so it shouldn't be hard to catch up when starting with c++. other thing is i never did dll, although i know how it works in general, i also used other peoples dll's in my programs. will do i hope. also, Rudegar provided us with good tutorial/example on today dlls, so i hope i'll be able to expand it. the only thing, i'm a bit anxious. you say evc is good for starters? ok, going to give it a try.
what a week, four days, four new RAD environments already
delphi is object pascal which is an extention of pascal like c++ is of c
c programs should compile without any problems in c++
Hi,
I saw a way to develop today plugins in .net : http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppcgen/html/TodayScrn.asp?_r=1
I did not try and I guess it will slow down the device as .net is not very fast, but you can try...
Good luck
Related
Hi!
I'm a Programmer for Visial Basic and Delphi...
I'm not sure whitch system is the best 4 programming the XDA?
AppForge or what?
Thanx
Stevie
Each have their advantages. I would go with Embedded C++ every time, but then, I'm that kind of guy. I like lean code.
On the other hand... If you don't want to learn C++, give Embedded VB a try.
Programming
Hi!
Thanx, but U mean Visual C++ 6.0 ??? Is there anything other what I need with C++ like Appforge 4 VB? Or do I need nothing more?
Stevie
No.. I mean Embedded C++. It is available for free from microsoft
http://msdn.microsoft.com/downloads...=/msdn-files/027/001/963/msdncompositedoc.xml
>I'm not sure whitch system is the best 4 programming the XDA?
>AppForge or what?
I guess it depends on your definition of "best".
I do C++, but actually prefer Visual Basic for most
applications due to the development speed for GUI-based
stuff.
I've downloaded eMbedded Visual Basic and eMbedded C++ from
Microsoft. One problem: EVB apparently does *not* yet
support the XDA architecture (StrongARM).
The SmartPhone SDK from MS *does* support StrongARM (not
*specifically the XDA* that I can tell) but only provides the SDK
for eMbedded C++ (not EVB).
I EMAILed the MobileVB folk and they said:
1) They don't support SmartPhones.
2) They don't have any support for SMS handling.
At this point I guess I'll go to EVC++ unless I can find other
tool(sets) to use.
What *I* would like to see is script support ALA PERL or PYTHON.
Is there anyone out there that knows of a beastie like this?
Or, even better (for me) would be LINUX on the XDA (I've
been using Familiar distro on the iPAQ, and it is great .. can
do GPRS/GPS from a LINUX-based platform (C/C++/JAVA/PERL/PYTHON/whatever).
Charlie
You keep mentioning Smartphone here, and the Smartphone SDK. The XDA does not support the Smartphone SDK, as it is not a Smartphone - it runs Pocket PC 2002 Phone Edition - something completely different.
So please, don't spend several hours downloading the Smartphone SDK to find it's not the right one. Download the Pocket PC 2002 SDK. I have developed several apps for the XDA using this already.
What *I* would like to see is script support ALA PERL or PYTHON.
Is there anyone out there that knows of a beastie like this?
Click to expand...
Click to collapse
There is a PocketPC Python, you have to use the win32api to GUI work, and installation can be a little painful depending on what you need. It does run and is stable though. Check out http://www.murkworks.com/Research/Python/PythonCE/PythonCEWiki/FrontPage[/quote]
Hi guys
I downloaded eMbedded Visual Tools 3.0 from Microsoft, but during installation, I was asked for the Product ID #
Any help ? :?:
I'd like to throw in another suggestion: the .Net Compact Framework. If you're a Delphi programmer (as are we - I used to be on TeamB for Delphi), you'll take to it straight away. After all, .Net and C# was designed by the same Anders Hejlsberg that designed Delphi. C# is very like Object Pascal with a C/Java syntax, but with even more goodies.
We've been using the Compact Framework beta for several months and it is quite simply superb. It was just launched officially on April 26th as part of Visual Studio.Net 2003. However, you don't need to buy Visual Studio - just download the .Net 1.1 SDK from Microsoft - it's free.
It's just a subset of the full .Net Framework, but if you need to do something that's not supported directly in the Framework classes, you can easily call API functions - or even write some code in embedded VC++ and call that. The managed environment is just great.
MikeS.
When prompted for the CD Key, please enter TRT7H-KD36T-FRH8D-6QH8P-VFJHQ
Khang Le
[email protected]
Khang Le, thanks
Just curious..What is everyone's programming language of choice when developing apps for WinMo?
Ive been working (lightly) on a VB program, which is ok, but i feel it isnt as efficient as others might be, and i know efficiency and size is a big issue on mobile devices (obviously)
Depends:
A simple program or one that can be done just using the stuff in the standard system DLLs then I will go for the pain of coding it in WIN32 C++. The resulting application runs like the wind, and can be distributed as a single executable file, no CAB, no installation projects, etc etc.
If I need any web or fancy data functionality, then it is .NET, because it is not worth the hassle of getting all this to work from levels lower down.
Having had lots of previous coding experience in C/C++ then C# is the natural choice, but as far as .NET is concerned, the actual language you code in is irrelevant. It compiles down to IL anyway and the CPU 'JIT' compiles this into its own code before it runs. Hence the performance hit when the program starts and runs.
In .NET, in essence, all you are doing anyway, is creating .NET objects, setting their properties and calling their methods, in order to get them to do what your application requires. A simplistic view, I know, but that's is all there is to it!
The language that you use to do this doesn't really matter, it is just personal preference.
I guess i assumed one language had more efficantcy than another. Like im working with VB atm, and i know it simplifies alot of things to make it easier to use, not sure if it includes all that extra code in the final build or not tho.
I would like to get more pratice with C++ and i have yet to use C# so dono whats different about that.
I would like to eventually start making programs that utilize the .net code and get my programs talking though data on the phone, but im not that advanced yet.
currently im still trying to wrap my head about making a program with a local database. The program im working on currently doesn't store any data, but i would like to to. I would also like (if i get ambitious) to have that program possibly talk to a PC (parent) program and sync with it. But that i think is a ways off.
Also, do the Mobile SDK's look different? The program im working on i started in the 5 SDK, but (obviously) doesnt have Finger friendly IU tools. I haven't looked at the 6/6.5 SDK yet (as id have to start over again i think). Does it have more finger friendly options?
In .NET CF, the finger-friendlinnes and kinetic scrolling and this all isn't available for all controls. Most of them (the classic ones) are, but if you try using scrolling for whole form, it won't work, only scrollbar will. (Probably with some playing with physicsengine and marshalling you might be able to get it working here, too).
In C++, there are numerous examples of this gestures etc directly in SDK, also many other stuff is there.
See, the main difference here is that .NET is fully equipped with stuff to get everything done fast, easy way.
In C++, you must first make this way yourself .
i am using the .net 3.5 framework tho.. Unless you mean C++ vs C#. I thought .net was an expansion on a current language, and not a language on it self (meaning i cant choose to program in .net, its an option to VB, C++ or C#)
I did toy with it, and it appears as tho your right, the forums are the same. IE drop down/combo boxes are not finger friendly. Guess id have to turn it to a button and another form with large radio button options.
C# vs C++ main difference is that C++ is compiled to native code right on first time, which makes it very fast. C# is compiled to MSIL, which is NOT native code yet. When you run c# app, the code is being Just-In-Time (JIT) compiled to native code, which makes it "longer" to load and "slower" to run (usually that makes about 20% of speeddown on classic PCs with very optimalized C++ same code - it probably already is lower, this is a bit older result of testing).
C# has those nice features that it can't get out of its memory etc, the JIT is almost unhackable, so you can't write viruses in it etc.
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Treo 700xw Verizon Spanish language
Hello fellow .... I'm new to this forum
I have a Treo 700wx and I live in Mexico ...
My Treo is Verizon's company and is currently with the version 1.22 ...
My problem is that it is in English and I need to change the language in Spanish ...
Thank you for your support both the need
Greetings
stephj said:
As far as the SDKs are concerned, there are slight differences from one version to the next but they can be quite difficult to spot.
They can become issues, when code written to run on one platform is run on one several generations away. I have a program that was written in C++ WM2003. Works under all versions of WM until 6.5.3, when the About Dialog box fails to close if the (X) button is pressed. Turns out another value has to be added to the dialogbox flags field to get it to behave properly.
This has been a feature of SDK's from WM 5.0 onwards, but the WM2003 SDK is unaware of it. You have to add it manually to the shell code created by the SDK,
Progress I suppose. The full article is here:
http://forum.xda-developers.com/showthread.php?t=635063
Click to expand...
Click to collapse
I noticed something else odd. When i run the app on my pone, the resolution is off. Now everything looks ok, i just mean that when i run it on my phone, theirs alot of "white dead space" at the bottom. I can only guess this is due to the SDK's catered to phones with smaller screen resolutions (ie Touch Pro) with buttons.. Is their a way for me to switch the resolution to ultilize the full Touch Pro 2 screen size (480x320 i think)?
Funny you should mention that. I replied to a similar post a short while ago. I'm not going to type it all in again, it's here.
http://forum.xda-developers.com/showthread.php?t=637417
Hello!
I've never programmed before.
So im thinking of learning c++.
The only problem i got is, how do i get started?
Like, what programs do i need to download?
To build an application for windows mobile 6.5.
I know i need Visual basics c++ of course, but emulators? And what version.
Thanks for all answers
robbi13 said:
Hello!
I've never programmed before.
So im thinking of learning c++.
The only problem i got is, how do i get started?
Like, what programs do i need to download?
To build an application for windows mobile 6.5.
I know i need Visual basics c++ of course, but emulators? And what version.
Thanks for all answers
Click to expand...
Click to collapse
Oh boy.... Just so you know, programming == crack! I hope you know what you are getting into
The first thing that I would say, is learn C# instead of C++. That said, C++ is very powerfull, but there is much more that the programmer has to worry about (ie, pointer and memory leaks) Also, Visual Basic is a programming language similar to C# (and by similar I mean they compile to the same thing. They look nothing alike) Tidbit: BASIC stands for Beginner's All-purpose Symbolic Instruction Code. Cool huh?
I started with C++, then I learned C, then I learned C#. I use C# daily, but my C and C++ knowledge come in handy sometimes. C# is MUCH easier to learn and also is easier to find a job with it on your resume. Finally, jumping to other contemporary languages like Java is a piece of cake as Java is VERY close to C# (Sometimes too close... dang instanceof keyword...)
As for software, you will need Visual Studio. If you want to program for the .net 3.5 Compact Framework, you will need Visual Studio 2008 (not 2010).
If you are a student at a university, checkout dreamspark (www.dreamspark.com) You might be able to get a free version of VS to learn on.
As far as emulators go, you'll need the ones that emulate the devices you want to develop for
Get this one first, then at the bottom there are "related downloads". I would get as many as you can.
http://www.microsoft.com/downloads/...1D-97A8-4F80-BC6A-AE010E085A6E&displaylang=en
If you want to learn how to program, read a book. I would recommend the "Teach yourself" series. If you want to learn how to program well, take a class.
For tutorials, I like the articles on http://www.codeproject.com/
Good luck!
Thanks for all that info!
I'm a boy at a age of 14.
My purpose is to create only small programs. Like web based apps.
And do i need to buy visual basic c#? Or can i use the express version?
robbi13 said:
Thanks for all that info!
I'm a boy at a age of 14.
My purpose is to create only small programs. Like web based apps.
And do i need to buy visual basic c#? Or can i use the express version?
Click to expand...
Click to collapse
Props for starting young! Are looking to develop for Windows Mobile, or desktop? For desktop, you can use the Express Edition. For Windows Mobile, you need Visual Studio 2008 Professional edition.
Looking for windows mobile.
Proffesional costs like alot of money i think.
Is there any other c# editors i can use that are free?
Not planning to use alot of money yet.
Wanna test it for a while and see if its any fun and if my work will be appriciated.
If i come that far
robbi13 said:
Is there any other c# editors i can use that are free?
Click to expand...
Click to collapse
SharpDevelop. It can target Windows Mobile fairly well (http://wiki.sharpdevelop.net/CompactFrameworkDevelopment.ashx)
robbi13 said:
Looking for windows mobile.
Proffesional costs like alot of money i think.
Is there any other c# editors i can use that are free?
Not planning to use alot of money yet.
Wanna test it for a while and see if its any fun and if my work will be appriciated.
If i come that far
Click to expand...
Click to collapse
You can get a 90 day trial of VS 2008 Professional to try it out.
dude. please check out my programming tutorial i made. I think it was fairly easy and I can help you out in c# & vb.net. I too started when I was 14 and I am now fairly good at programming (being 15 now) But the point is....well, there's no point im getting to now but check out c#. Thats the easiest way to go without dipping too low in vb.net. Anyway, here's where I learned a bunch of stuff::
http://homeandlearn.co.uk/NET/vbNet.html
when you finish, you will be a master of vb.net....if you wanna go for c#, make sure you stick to one language and go for:
http://homeandlearn.co.uk/csharp/csharp.html
I would highly recommend not to go with mobile programming til' you get a basic understanding of the desktop programming (as .net CF is very very minimal compared to the full blown .net)...
ALSO as a final note, use Visual studio 2010 Express edition for programming and if you wanna go a step up into mobile programming, get visual studio 2008. 2010 doesn't support device programning.
rkrishnan2012 said:
dude. please check out my programming tutorial i made. I think it was fairly easy and I can help you out in c# & vb.net. I too started when I was 14 and I am now fairly good at programming (being 15 now) But the point is....well, there's no point im getting to now but check out c#. Thats the easiest way to go without dipping too low in vb.net. Anyway, here's where I learned a bunch of stuff::
http://homeandlearn.co.uk/NET/vbNet.html
when you finish, you will be a master of vb.net....if you wanna go for c#, make sure you stick to one language and go for:
http://homeandlearn.co.uk/csharp/csharp.html
I would highly recommend not to go with mobile programming til' you get a basic understanding of the desktop programming (as .net CF is very very minimal compared to the full blown .net)...
ALSO as a final note, use Visual studio 2010 Express edition for programming and if you wanna go a step up into mobile programming, get visual studio 2008. 2010 doesn't support device programning.
Click to expand...
Click to collapse
+1 on this. it's way easier to step into mobile developing if you have at least a basic grasp of programming for PCs. And the 2010 Express Editions are very nice. Definitely nicer than 2008 Express Editions.
A little hwile back I thought it would've been good to start learning in C++ (i started in C#), but looking back, C++ is way too hard to get a "quick win" and it's too easy to mess something up when you dont know what youre doing. C# you can literally go from zero programming knowledge to creatic a bsic application within a couple hours.
MSDN has some good C# programming tutorials also.
msdn blows for a first time newbie. I am posting a tute for an ultimate newbie in the dev section and hope to see a few people getting help from it
ok done. it is posted in new thread....enjoy.
One can not see the forrest thru the trees? I'll try my best to help you out here.
The xml International Standard Organization (ISO) -=[ find xml apps here too ]=- :
http://www.w3.org/standards/xml/
Side Note: Some Microsoft web pages need/prefer you being logged in @live.com
Learning XML An Overview;
XML is an almost universally supported way of exchanging documents and data across applications and platforms. Microsoft has a family of XML technologies that allows users with differing requirements to do what they need, as simply and efficiently as possible.
Which XML application programming interface (API) should you use? Here are our top-level guidelines:
If you are writing managed code targeting the .NET Framework in C#, Visual Basic, J#, managed C++, or any other managed language, you should use System.Xml and/or LINQ to XML in the .NET Framework.
If you are writing native code using Visual Basic 6, C, C++, or a scripting languages you will probably want to use the MSXML library:
MSXML6 is the latest version that's included with Windows XP SP3 and all versions of Windows Vista and Windows 7. New applications should be using MSXML6.
MSXML5 is an older library optimized for Microsoft Office 2003 and 2007 and can only be used on machines that have an Office license.
MSXML4 is nearing deprecation. MSXML6 should be used for new applications
MSXML3 is included in Windows XP and higher.
Comprehensive list of all MSXML versions and variants
If you are writing native code and your application has tight performance or memory constraints, consider the XmlLite API.
What XML Tools Are Available? Visual Studio offers a core collection:
XML Editor
XML Schema Explorer
XSLT Debugger
XML Tools in Visual Studio overview
.NET XML PowerToys:
Generating XML Documents from XML Schemas
The XML Diff and Patch GUI Tool
Using the XML Diff and Patch Tool in Your Applications
Using the XSD Inference Utility
XML Tools Update
Read more HERE; http://msdn.microsoft.com/en-gb/data/bb291061.aspx
Visual Studio Editor Choosing System
XML and the .NET Framework
Hosted by Microsoft; a very good and free XML Editor: XML Notepad 2007 (supports stylesheets)
Visit the XML forum
MSXML SDK
3 free XML Editors;
XF Desktop Edition 7.5.0
Comprehensive XML formatting solutions based on Open Standards.
XML Marker v1.1 ScreenShot
SciTE an opensource cross-platform SCIntilla Text Editor
Core Downloads for Windows Mobile
Windows Mobile 6 SDKs: documentation, sample code, header and library files, emulator images, and tools for building Windows Mobile 6 applications in Visual Studio
Windows Mobile Device Center 6.1 for Windows Vista (32-bit or 64-bit)
Microsoft ActiveSync for Windows XP or earlier versions
New Downloads
Windows Embedded CE 6.0 Monthly Update June 2010
Office 2010: Product Guides
Windows Embedded CE 6.0 Monthly Update May 2010
SQL Server Compact 3.5 SP2 for Windows Desktop
Windows Embedded CE 6.0 Monthly Update April 2010
Windows Embedded CE 6.0 Monthly Update March 2010
Windows Embedded? Give me More information please!
Windows Embedded? Of course here is more information!
Windows Embedded CE PowerToy: DiskPrep Blog (MSDN Code Galery)
Related Resources
Windows Embedded CE Development Tools
What is the .NET Micro Framework?
Windows Mobile Starter Kits
Windows Mobile 6 Developer Resource Kit Trial Software
Popular Downloads
Windows Mobile 6 SDK Refresh
Windows Mobile 6 Localized Emulator Images
SQL Server Compact 3.5 SP2 for Windows Desktop
Windows Mobile 5.0 SDK for Pocket PC
Office 2010: Product Guides
Windows Mobile Developer Power Toys
SQL Server Compact 3.5 SP1 and Synchronization Services for ADO.NET v1.0 SP1 for Windows Desktop
Library Topics
Installing Developer Tools for Windows Mobile
Welcome to Windows Mobile 6 Documentation
Windows Mobile 6 SDK Documentation
Windows Mobile 5.0 SDK Documentation
Only if you want to code your applications to run on all WM5/6 devices without any problems you need besides the Professional ~ the WM5/6 Standard SDK too!
Windows Mobile Developer Power Toys; (Released with WM5 though usable with WM6)
ActiveSync Remote Display - Display Pocket PC applications on your desktop or laptop without needing any device side configuration.
CECopy - Command line tool for copying files to the device currently connected to desktop ActiveSync.
Convert PPC DAT to SP XML - Command line tool for generating Smartphone CABWizSP XML docs from existing Pocket PC CAB files.
Hopper - User input stress simulator.
JShell - UI version of the Platform Builder Target Control Window.
PPC Command Shell - Command shell for the Pocket PC 2003 device.
RAPI Debug - Displays detailed information about currently running processes.
RAPI Start - Command line tool to remotely start an application on your Pocket PC from your desktop.
TypeIt - Send characters/strings to the Smartphone 2003 Emulator via ActiveSync.
Windows Mobile Network Analyzer PowerToy (Released with WM5 though usable with WM6)
Windows Mobile Device Security Manager PowerToy(Released with WM5 though usable with WM6)
Windows Mobile Development Tools and Resources!!! (Released with WM5 though usable with WM6)
General (Embedded) WM 6.x CE PowerToys link
-=[ Windows Phone (= Vista or Windows Seven as OS and VS2010) ]=-
Windows Phone Developer Tools Beta
Vista or Windows Seven and VS2010 and Embedded Windows Phone in action;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
http://www.microsoft.com/express/Phone/
Microsoft SDKs for;
Azure Services Platform
Windows Desktop
Office
Devices
Windows Live Services
Server Technologies
Social
Games
Web Development
Other
Development Resources for WM- here on xda-developers.com UPDATED
http://forum.xda-developers.com/showthread.php?t=445396
Not (all) Windows Mobile specific: Microsoft Solution Accelerators & ~ A-Z technet :Free power(toys);
Tools and guidance that help you solve your deployment, planning, and operational IT problems. They are free and fully supported.
MSDN Code Galery third party resources Plus nice (embedded) CE PowerToys (like DiskPrep).
Delphi Components, Scripts, Codes: Blade API Monitor, Delphi SWF
SDK, FastCube, PDFConverter ActiveX ...
http://www.vclcomponents.com/Delphi/
Dependency Walker. Read it, download it, configure it, start using it! All first time users will be amazed Do not forget to read the thread completely ; great utilities when missed out on..
When developing for Windows Mobile or Windows Phone verify your application with PEinfo(executability check following Portable Executable File Format).
Have fun informing yourselves while downloading some SDKs people,
kliptik said:
+1 on this. it's way easier to step into mobile developing if you have at least a basic grasp of programming for PCs. And the 2010 Express Editions are very nice. Definitely nicer than 2008 Express Editions.
A little hwile back I thought it would've been good to start learning in C++ (i started in C#), but looking back, C++ is way too hard to get a "quick win" and it's too easy to mess something up when you dont know what youre doing. C# you can literally go from zero programming knowledge to creatic a bsic application within a couple hours.
MSDN has some good C# programming tutorials also.
Click to expand...
Click to collapse
Checking out the tutorial now.
I will start learning c# first. But leaving to Italy on sunday.
@robbi13: I understand that everyone is saying to go for C#, and they all are presenting very valid reasons of why to start there.
I however, feel, from my experiences, that learning C++ is a great way to start because it really challenges you. Take it like a workout: On your first day, you have to challenge yourself to see where you are and what you can do, then on every succeeding day, you do a bit more to get better.
Starting with C++, you can see if it is too tough to manage (dealing with Pointer issues and Memory Allocation / Leans), and if it is, go to C# or VB, but know that you made the attempt to learn C++ first. I tried learning C++ about 4 or 5 times, gave up EVERY single time (started with PSP Development) because I knew that I already knew how to code in Lua or C# or MortScript, and those 'safety nets' actually prevented me from learning a new language, because I was aware that I could fall back on them without having to learn a new thing at all.
Having said all that, if you would like help with C++ Development, PM me or email me at [email protected] ... I would be thrilled to help out a fellow aspiring developer
[BTW: I am 17 ... so consider that in terms of how I learned my languages]
Cyclonezephyrxz7 said:
I however, feel, from my experiences, that learning C++ is a great way to start because it really challenges you.
Click to expand...
Click to collapse
If there's one language every self respecting programmer has to know today, it's C. C is everywhere, it's as close to the bare metal as you need to get, and yet it's a simple and elegant language. The concepts you learn with C are relevant in every other programming language. C may be hard for a beginner to understand, but it's a language you can eventually fully master - it has relatively few concepts you need to understand, and few exceptions and quirks.
C++ adds nothing to your understanding over C. And yet C++ it a much more difficult language - you can't really use it without a solid understanding of C, and you need to know a whole lot more to figure out the variety of exotic bugs you come across.
So my advice: forget C++. There are 2 things a serious programmer really must know - C and any modern high level language, such as C#. The order of learning is down to preference, but I think it's better to get the hang of programming first with C# before delving deep into implementation details with C. A hobbyist however can just learn C# and be done with it.
Elemris said:
If there's one language every self respecting programmer has to know today, it's C. C is everywhere, it's as close to the bare metal as you need to get, and yet it's a simple and elegant language. The concepts you learn with C are relevant in every other programming language. C may be hard for a beginner to understand, but it's a language you can eventually fully master - it has relatively few concepts you need to understand, and few exceptions and quirks.
C++ adds nothing to your understanding over C. And yet C++ it a much more difficult language - you can't really use it without a solid understanding of C, and you need to know a whole lot more to figure out the variety of exotic bugs you come across.
So my advice: forget C++. There are 2 things a serious programmer really must know - C and any modern high level language, such as C#. The order of learning is down to preference, but I think it's better to get the hang of programming first with C# before delving deep into implementation details with C. A hobbyist however can just learn C# and be done with it.
Click to expand...
Click to collapse
Yeah I think you hit the nail on the head with "hobbyist" it really depends on how much you're going to be learning. If you're just going to play around a little bit and then get burnt out, you migh t as well do it in C# andenjoy it!
That being said, the .NET frameork does have some shortcomings, and to get around them you need some knowledge in C/C++...
Hi,
I have started to learn C++ and have created some programs (MinGW + Code::Blocks) for the command line and I would like to add a GUI and run it on my hopefully soon-to-have WM6.5 phone.
So I installed VS2008, Windows Mobile 6 Professional SDK Refresh and Windows Mobile 6.5.3 Professional DTK.
But when I start a new C++ project for a Mobile Device, I don't get a form where I can add buttons, etc. (sadly I have no idea about GUI programming to do it by hand). Also, the items in the Toolbox are greyed out (which makes sense considering that there is no form to add items to).
The video on MSDN ("Creating your first Windows Mobile 6 Application with Visual Studio 2008") made it look so easy - but that was under C#. I can recreate those steps, so under C# I can add stuff from the Toolbox to the form which looks like a WM device, but not under C++.
Am I missing something?
Thanks in advance!
Yep, that's about right. VB and C#, are both .NET CF languages, and as such are more or less identical. C++ is usually used for MFC, ATL or good old Win32 programming models, where the code creates the windows controls, etc and draws them on the client area.
With a bit of C++ knowledge you should be able to create the same thing in C# without too much trouble, but there are a few pitfalls to fall into along the way. C++ can also be used as a .NET language but the casts required make it hideous to read and understand. Go straight to C#.
The C++ programming models take a bit of mastering, but the code runs like a bat out of hell.
Thank you very much for your reply!
stephj said:
Yep, that's about right. VB and C#, are both .NET CF languages, and as such are more or less identical. C++ is usually used for MFC, ATL or good old Win32 programming models, where the code creates the windows controls, etc and draws them on the client area.
Click to expand...
Click to collapse
So you are saying that in C++, I pretty much HAVE to program everything by hand? (just to make sure I got you right)
With a bit of C++ knowledge you should be able to create the same thing in C# without too much trouble, but there are a few pitfalls to fall into along the way. C++ can also be used as a .NET language but the casts required make it hideous to read and understand. Go straight to C#.
Click to expand...
Click to collapse
K. I do know that C++ and C# should be pretty similar concerning the syntax. But still... any literature recommendations?
The C++ programming models take a bit of mastering, but the code runs like a bat out of hell.
Click to expand...
Click to collapse
That's why I want to stick to C++. My university prefers Java, but don't really like it and find C++ much more "elegant". However, my ideas [dreams?] about programs that I want to write eventually do involve quite some GUI. I had hoped that VS2008 would allow me to quickly get that GUI-stuff out of the way for now, since I thought I use QT for my Windows (and maybe eventually Unix) programs. But as I said, I'm still at the beginning of my learning process, where it is mostly about command line apps to learn the ropes.
Anyways, thanks again!
To be honest I only program WinMo in either Win32 C++ or C#. Although C++ and C# are quite close as far as languages are concerned, the IDE environments are completely different. Under Win32 you respond to the stream of WM_XXXXXX messages fired at your app by the operating system, one for every time something happens. If it is something your app isn't bothered about ignore it. Screen taps get converted to WM_LEFTBUTTONDOWN etc. A button is a child window of the main window, you will have to create it.
In C#, drag an object off the toolbox and drop it on the form, the IDE will maintain any events you wish to trap and use. The machine I have here only has VS 2003 on it, the 2008 machine is at work. I'll have a look at the other C++ models on it next week.
C# and Java are not too far apart, exept that C# uses the .NET framework objects.
As far as books go, I can't really recommend much as I have mastered it from the sharp end as it were, using the online help and examples for day to day, and internet trawls to tackle particular problems. Maybe others can chip in with a few ideas.
I haven't heard of QT running on Windows Mobile, but I could be wrong.
There is also MONO, which is an open source project to run .NET under Linux.
stephj said:
To be honest I only program WinMo in either Win32 C++ or C#. Although C++ and C# are quite close as far as languages are concerned, the IDE environments are completely different. Under Win32 you respond to the stream of WM_XXXXXX messages fired at your app by the operating system, one for every time something happens. If it is something your app isn't bothered about ignore it. Screen taps get converted to WM_LEFTBUTTONDOWN etc. A button is a child window of the main window, you will have to create it.
Click to expand...
Click to collapse
That sounds interesting, but sadly beyond my capabilities at the moment.
In C#, drag an object off the toolbox and drop it on the form, the IDE will maintain any events you wish to trap and use. The machine I have here only has VS 2003 on it, the 2008 machine is at work. I'll have a look at the other C++ models on it next week.
Click to expand...
Click to collapse
Yeah, this sounds much more reasonable for what I'm trying to accomplish, but also means I have to learn 2 languages instead of one (I don't want to give up C++). I guess my Windows Mobile app has to wait for a while.
C# and Java are not too far apart, exept that C# uses the .NET framework objects.
As far as books go, I can't really recommend much as I have mastered it from the sharp end as it were, using the online help and examples for day to day, and internet trawls to tackle particular problems. Maybe others can chip in with a few ideas.
I haven't heard of QT running on Windows Mobile, but I could be wrong.
Click to expand...
Click to collapse
Yeah, QT is more for Symbian. But since I want C++ for both Windows and eventually Unix, I thought QT was a good choice. At that point I did not even consider creating an app for WinMo.
There is also MONO, which is an open source project to run .NET under Linux.
Click to expand...
Click to collapse
Yeah, I've heard of it. Maybe I'll give it a try when I feel comfortable enough with the basics.
Thanks again for your reply, I'll tackle this when I feel more comfortable with C++! Very much appreciated!
I want to develop simple apps for Windows Mobile. I read that I can use:
---Compact Framemork. (I downloaded Sharp Develop, it is free. It also exist a program from Resco that speedup the development with C.F.)
--- C or C++ or C# (I don't know if WinMo understand these...)
---Visual Basic (is difficult and Visual Studio isn't free, but I found another program that allows to develop more simple)
---Mortscript (I think is the most simple)
---Which is the best and the most simple language?
---Where can I read or download tutorials?
---I can not develop simple apps with images and sounds yet.
Please Help!
I want to develop
-a lock screen
-an app that turn on and turn off the leds of my device
-an app that change registry values (without softreset the device)
-an app that can copy, cut and delete files
-a Soft Imput Panel (a virtual keyboard)
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Cyclonezephyrxz7 said:
I haven't done windows mobile development in quite some time, so things may have changed a bit. But to help you out better, it would be good to know what version of windows you intend to develop for (I assume Windows Phone 7?) as well as any specific devices you may want to concentrate on, and what experience you already have with coding.
MortScript is probably a good starting point, though if you want to get some real functionality going, you should look at C#.net CF. Take a look at this MSDN resource: LINK. It should be good for getting started.
I think that for modifying the registry, working with LEDs, and for the software keyboard you may need to use C++ ... though I can be mistaken. I'm not sure how Microsoft has worked out libraries and privileges in WP7.
Click to expand...
Click to collapse
Thanks CycloneZephyrxz7.
I want to develop for Windows Mobile 6.X for devices with WVGA resolution.
But with Mortscript I can do less things? Because I can only write scripts.
Do you know how is written a simple app like "ClearTemp"?
I wait other replies from Devolpers and people that used these languages...