473,779 Members | 1,892 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VC++ in windows2000 platform

I am using VC++ 2005 professional edition to develop the program to access
the usb port. I have downloaded the WDK 6001, but it can't be installed in
the windows2000 platform. I have try to use libusb.lib, but it seems doesn't
support the windows platflat(I'm not sure, but i can't compile the program).
I want to ask do there any method to access the usb port in windows2000?
Anyone can help me?

Thanks,

Ricky
Jan 8 '08 #1
6 1493
Hi Ricky!
I am using VC++ 2005 professional edition to develop the program to access
the usb port. I have downloaded the WDK 6001,
WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen
Jan 8 '08 #2
Hi Jochen!

Thank you for your reply. But I find that there are some usb library to
access the usb port in WDK, can I use those library in VC2005? Or any other
library can be used?

Thank you!

Ricky
"Jochen Kalmbach [MVP]" wrote:
Hi Ricky!
I am using VC++ 2005 professional edition to develop the program to access
the usb port. I have downloaded the WDK 6001,

WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen
Jan 8 '08 #3

"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:39******** *************** ***********@mic rosoft.com...
Hi Jochen!

Thank you for your reply. But I find that there are some usb library to
access the usb port in WDK, can I use those library in VC2005? Or any
other
library can be used?
You cannot "access the usb port". You can communicate and control the host
controller and USB-attached devices, but the method for doing so is
different for each device.

What are you trying to do?
>
Thank you!

Ricky
"Jochen Kalmbach [MVP]" wrote:
>Hi Ricky!
I am using VC++ 2005 professional edition to develop the program to
access
the usb port. I have downloaded the WDK 6001,

WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen

Jan 8 '08 #4
Dear Ben Voigt .

Actually I want to develop a application program in windows to communicate
with the USB driver interface. The interface is built with the USB driver IC
PDIUSBD12D. I need to retrive and send data from and to the USB driver.

Thank you!

Ricky

"Ben Voigt [C++ MVP]" wrote:
>
"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:39******** *************** ***********@mic rosoft.com...
Hi Jochen!

Thank you for your reply. But I find that there are some usb library to
access the usb port in WDK, can I use those library in VC2005? Or any
other
library can be used?

You cannot "access the usb port". You can communicate and control the host
controller and USB-attached devices, but the method for doing so is
different for each device.

What are you trying to do?

Thank you!

Ricky
"Jochen Kalmbach [MVP]" wrote:
Hi Ricky!

I am using VC++ 2005 professional edition to develop the program to
access
the usb port. I have downloaded the WDK 6001,

WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen


Jan 9 '08 #5

"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:45******** *************** ***********@mic rosoft.com...
Dear Ben Voigt .

Actually I want to develop a application program in windows to communicate
with the USB driver interface. The interface is built with the USB driver
IC
PDIUSBD12D. I need to retrive and send data from and to the USB driver.
Ok, when you are on the computer side, the driver/receiver terminology is no
longer used and will confuse most software folks. Use device and host, or
microcontroller when referring to your device.

That USB interface chip has programmable device descriptors. What device
class are you claiming to be? Are you still trying to determine that?
>
Thank you!

Ricky

"Ben Voigt [C++ MVP]" wrote:
>>
"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:39******* *************** ************@mi crosoft.com...
Hi Jochen!

Thank you for your reply. But I find that there are some usb library to
access the usb port in WDK, can I use those library in VC2005? Or any
other
library can be used?

You cannot "access the usb port". You can communicate and control the
host
controller and USB-attached devices, but the method for doing so is
different for each device.

What are you trying to do?
>
Thank you!

Ricky
"Jochen Kalmbach [MVP]" wrote:

Hi Ricky!

I am using VC++ 2005 professional edition to develop the program to
access
the usb port. I have downloaded the WDK 6001,

WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen



Jan 9 '08 #6
Dear Ben Voigt,

Thank you for your answer!
Do you mean I need to build the driver on computer side? How can I bulid it?

Thanks,

Ricky

"Ben Voigt [C++ MVP]" wrote:
>
"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:45******** *************** ***********@mic rosoft.com...
Dear Ben Voigt .

Actually I want to develop a application program in windows to communicate
with the USB driver interface. The interface is built with the USB driver
IC
PDIUSBD12D. I need to retrive and send data from and to the USB driver.

Ok, when you are on the computer side, the driver/receiver terminology is no
longer used and will confuse most software folks. Use device and host, or
microcontroller when referring to your device.

That USB interface chip has programmable device descriptors. What device
class are you claiming to be? Are you still trying to determine that?

Thank you!

Ricky

"Ben Voigt [C++ MVP]" wrote:
>
"Ricky Chong" <Ri********@dis cussions.micros oft.comwrote in message
news:39******** *************** ***********@mic rosoft.com...
Hi Jochen!

Thank you for your reply. But I find that there are some usb library to
access the usb port in WDK, can I use those library in VC2005? Or any
other
library can be used?

You cannot "access the usb port". You can communicate and control the
host
controller and USB-attached devices, but the method for doing so is
different for each device.

What are you trying to do?


Thank you!

Ricky
"Jochen Kalmbach [MVP]" wrote:

Hi Ricky!

I am using VC++ 2005 professional edition to develop the program to
access
the usb port. I have downloaded the WDK 6001,

WDK and VC2005 are completely different systems!
You must not use VC2005 and WDK together!

Greetings
Jochen



Jan 17 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
1666
by: Coca | last post by:
HI, all How can I convert the C6.0 program of OS/2 platform TO windows2000/xp platform. The program occurs a lot of errors in Windows 2000/xp when compiled. And I hope a quick way to solve it, not read the code line by line. Thank you very much Coca
2
2167
by: | last post by:
Everything seems to be moving to .NET and VC++ seems to be adding a lot of managed code support every new release. The questions: is unmanaged code in VC++ beeing phased out in favour of managed code? And suppose I still program in VC++ 6.0, can I safely assume that the code I use in VC++ 6.0 will still be available in future VC++ versions. Finally will VC++ 6.0 generated executables be still be able to run on futur Windows versions and...
1
1215
by: Asim Ahmed | last post by:
I have done some vc.net programming as part of a college course. However, all of it was based on console based apps. Could someone recommend a good book or site that focuses on vc++.net prog. for windows. Also, from your experience, how much tougher is windows prog. using vc compared to c#. Is it more feasible to just use vc for classes and c# for the frontend. The question is for developement for database intensive applications. ...
1
1817
by: kenwhale | last post by:
hi, all. In my computer(windows2000 professional), I found this code doesn't work! SystemParametersInfo(0x2000/*SPI_GETFOREGROUNDLOCKTIMEOUT*/,0,&dwTimeOut,0)) ; The value of dwTimeOut always equals to Zero.But the same code in VC++ 6.0 works well! Why ?? What things I should do for query the right value in
1
1870
by: Steve | last post by:
We are considering the ways to migrate our VC++ 6.0 applications to .NET platform. It would be nice to rewrite them completely in C#, but due to the time constraints this option is out of question. We started from rewriting some dll in C# in Visual Studio .NET. Now we face chalenges of interoperation between old VC++ 6.0 apps and new .NET C# components. To solve this problem we considered the following options:
1
2153
by: ziv | last post by:
I am encountering a very strange error Openning a Visual C++/Win32 Console project with mfc support, writing a simple Sleep(5000) function in the main and running the app in Debug mode (default settings). while closing the app in the middle of execution (click on the close window button) i am getting the following error "Unhandled exception at 0x7c29ed41 (mfc71d.dll) in test2.exe: 0xC0000005: Access violation reading location 0xf78b78e8. ...
1
1460
by: vemulakiran | last post by:
Hi all, I have doubt regarding .NET. I have a tool which was developed on VC++ 6.0(Win32 Application ). The application communicates with library (API) which was developed on VC++ 6.0 called core client. I am planning to develop the tool or Win32 application on .NET platform and I dont' want to migrate the VC++ library (API) to .NET. The new .NET tool should use the previous VC++ library API ( core client ). Is there any possibility to...
2
1402
by: Lloyd Dupont | last post by:
I have downloaded & installed both VC++ express and the platform SDK. Now I want to compile some win32 source code but it doesn't, it don't find the headers. Now I guess I could add the PlatformSDK's lib & include directories in my project. But the problem is, unfortunately everything is intsalled on the F: drive and I would like to share my project with a friend. And I would like him to just have to hit 'F5' and run the project. So I...
2
3087
by: untitled | last post by:
i included the following line to VC++ after i installed the directx SDK and platform SDK. #include "DShow.h" i configured c directories for the include and lib to both directx SDX and platform SDK. now just after i added the above line i got this messages: D:\Program\Microsoft DirectX SDK (April 2007)\Include\strsafe.h(221) : error C3641: 'StringCchCopyA' : invalid calling convention '__stdcall
0
9633
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10305
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10074
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9928
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7483
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6724
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4037
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.