Solved

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

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This is about my first experience with programming Arduino.
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Simple Linear Regression

630 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