|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
Hello!
I have this structure: Code:
typedef struct _DISK_PERFORMANCE {
LARGE_INTEGER BytesRead;
LARGE_INTEGER BytesWritten;
LARGE_INTEGER ReadTime;
LARGE_INTEGER WriteTime;
LARGE_INTEGER IdleTime;
DWORD ReadCount;
DWORD WriteCount;
DWORD QueueDepth;
DWORD SplitCount;
LARGE_INTEGER QueryTime;
DWORD StorageDeviceNumber;
WCHAR StorageManagerName[8];
} DISK_PERFORMANCE,
*PDISK_PERFORMANCE;
I need to convert it to vb.net but I have two problems: First one, I'm not really sure about the data types ... is LARGE_INTEGER int64, and what is WCHAR? And second one, how should I use the StorageManagerName[8] in vb.net? Thanks! |
| Sponsored Links |
|
|
|
|||||
|
I can't help you with the Visual Basic.NET-part, but I can answer some of your questions.
Quote:
Quote:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum C/C++ resources - C/C++ frequently asked questions Python resources - Python frequently asked questions I'm always up for a chat, so feel free to contact me... |
|
|||||
|
For the VB.NET part, just use a normal structure or class with the type Int64 or Long.
|
|
|||||
|
Great!
![]() |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to convert your photoshop document to a CSS in less than 30 seconds | clookid | Photoshop Tutorials | 17 | 06-04-2008 11:36 AM |
| Database tree structure functionality | Sh_oK | Database & Database Programming | 0 | 03-05-2008 10:59 AM |
| convert frx report to excel file using visual foxpro 8 | jov | General Programming | 0 | 11-13-2007 08:43 PM |
| Convert matlab code to C/C++ on Linux | Kank | C and C++ | 2 | 10-11-2007 02:09 AM |
| Visual Studio 2003 convert System::String to char array | karateboy02 | Managed C++ | 0 | 07-27-2007 09:00 AM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| LogicKills | ........ | 20.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 67%