Solved

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

Posted on 2006-11-09
1
194 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
groupSumClump challenge 9 103
Installed softare without GUID 6 66
When i run adoquery my application freezes 26 152
C# Error - Add Failed 12 78
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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

861 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now