Solved

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

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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 …
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…

762 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

19 Experts available now in Live!

Get 1:1 Help Now