Hi, I am really new to programming using keil. I wanted to create a windows form kind of application which takes some parameters from a user and then runs the C code present in the file based on the inputs.
I have the C code files with me, but i am not able to set up a user interface (the form).
Can anyone please help me.
Thanks and Regards, Siddharth Gupta
First, have you realised that Keil tools are not for writing PC applications?
Keil tools are for writing programs to run on embedded microcontrollers.
If you want a GUI creation tool, you will have to obtain that separately; there are several available - google for "embedded GUI"
Are you really sure you want to do this on an 80251...?
Hi Andy, Thanks a lot for your prompt reply. Let me tell you my project : I have a board which contains a 8051 based microcontroller which in turn issues commands to another frequency tuner chip.
My aim here is to build a software which sends commands to the 8051 controller.
I already have the C code which does so. It contains keil C code. So i think i can compile the code using C51 compiler uvision3.
But the problem is i want to create a form which can be used to change some parameters before i send commands to the device.
My friend told me that keil is used for writing programs which does this. Also i saw one sample in which they had implemented a C code and when i compiled that code i got a form on which i could perfrom some operations to send commands to the device.
can u please guide me as to how can i go about implementing this.
No, Keil tools cannot be used to create applications that run on a PC - known as "native" applications.
To create "native" PC applications, you need "native" PC tools - such as Microsoft Visual Studio, CodeGear (formerly Borland) C++/Delphi/etc.
I think the GCC "native" PC compiler is called MingW?
MinGW = Minimalistic GNU Windows. I tcontains a number of tools ported from the Unix environment, including a complete tool chain to develop Windows applications.
By the way - might the friend have shown you some code to create an add-on to the Keil debugger/simulator. There are a number of such extensions, for example allowing a simulation of an embedded program to display text on a simulated LCD on the PC. Anyway - what you need is a real GUI for talking with a real embedded hardware, so you need separate tools for creating the PC program. The Keil tools are for creating programs running in the 8051.
View all questions in Keil forum