Solved

How to port a part of c code from vx works operating steps to windows?

Posted on 2006-11-09
1
195 Views
Last Modified: 2010-04-16
I want to port a part of C code which is of 2000 lines from VX works operating system on to the Windows platform and compile the code on Visual Studio 2005 IDE.

1) Please tell me the basic steps to follow during this process?

2) Do i have to write the code which is there in Vx works as it is on IDE and compile it or there is any thing to change in the drivers level?
0
Comment
Question by:tatikor_143
1 Comment
 
LVL 2

Accepted Solution

by:
jscase earned 500 total points
ID: 17915733
Straight C code from VxWorks will compile in the VC IDE, but the real question is what does this code do? If it accesses system resources such as files or hardware it will probably need to be recoded. In the VS 2005 IDE the simplest way to port this is as a WIndows Console application - I would start with an empty project then add my C code, and see where it fails.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question