Solved

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

Posted on 2006-11-09
1
197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
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…

734 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