By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,946 Members | 723 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,946 IT Pros & Developers. It's quick & easy.

Beginner question creating a project/solution

P: n/a
Hve been handed the task of taking a reference USB driver and making it work
for our product.
Have a lot of ANSI C experience, and fair bit of VB express, but VC++
express is a different critter.
The project I've been asked to work with has
A c++ source file and c++ header file.
There is also an SDK folder which has 2 more folders in it.
One of these is a folder named h, which contains 3 C++ header files that
would appear needed by the project
The other folder named lib contains an obj file.

My question is how do I go from these files to project file in C++ Express.
I can import the top C++ files, but I don't see a way of creating a project
from them...

Any/all help appreciated.

Mar 18 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Al_C" <ac****@bicnet.net> wrote in message
news:eQ**************@tk2msftngp13.phx.gbl...
Hve been handed the task of taking a reference USB driver and making it
work for our product.
Have a lot of ANSI C experience, and fair bit of VB express, but VC++
express is a different critter.
The project I've been asked to work with has
A c++ source file and c++ header file.
There is also an SDK folder which has 2 more folders in it.
One of these is a folder named h, which contains 3 C++ header files that
would appear needed by the project
The other folder named lib contains an obj file.

My question is how do I go from these files to project file in C++
Express.
I can import the top C++ files, but I don't see a way of creating a
project from them...

Any/all help appreciated.


I don't know the precise restrictions of VC++ Express, but you should be
able to use menu File / New Project / Visual C++ / General / Empty Project.

Once you have done that you should be view the Solution Expolorer and to add
new items to the project e.g. via the project's context menu. You should
also be able to modify compiler settings via the project's property pages.
Mar 18 '06 #2

P: n/a
> Hve been handed the task of taking a reference USB driver and making it
work for our product.
Have a lot of ANSI C experience, and fair bit of VB express, but VC++
express is a different critter.
The project I've been asked to work with has
A c++ source file and c++ header file.
There is also an SDK folder which has 2 more folders in it.
One of these is a folder named h, which contains 3 C++ header files that
would appear needed by the project
The other folder named lib contains an obj file.

Hi,

If this is a kernel mode device driver, then the best thing you can do is
re-post this question on public.development.device.drivers or go to
www.osronline.com and post the question on their NTDEV list. lots of
experienced driver writers hang out there.

You need the windows DDK for writing kernel mode drivers. to get that to
work with VC++ you need something called DDKBUILD.bat
VC++ has a number of project types, but by default there is no project for
kernel drivers.
most people use the DDK commandline build utility.

I do some driver writing myself, but by default the DDK only supports ANSI
C. The fact that you have C++ files indicates that you are probably using
some 3d party framework.

If you want (and you are allowed to do so) you can mail me the project and
I'll have a look at it. I have never used C++ in a device driver myself (it
is quite a controversial topic btw) but maybe I can send you in the right
direction.

--

Kind regards,
Bruno van Dooren
br**********************@hotmail.com
Remove only "_nos_pam"
Mar 18 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.