Beginner question creating a project/solution

A

Al_C

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.
 
M

Marcus Heege

Al_C said:
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.
 
B

Bruno van Dooren

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
(e-mail address removed)
Remove only "_nos_pam"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top