programming help

  1. T

    Windows 11 How Can I Replace First Hyphen in a Folder's Name but Leave All Other Hyphens in it Unchanged?

    Hello and Happy New Year. I’d like some advice and suggestions on how to perform a specific task involving batch renaming a large group of folders. I want to rename over 5,000 folders a certain way. I don’t have to rename them all at once. They are all in one central folder, at least for now...
  2. Alex Sokolek

    What sort algorithm is this?

    Hi. Does anyone recognize this sort algorithm? BOOL swap; tagFileNode* TempNode; int i, j, diff = 0; for (j = _NodeCount / 2; j > 0; j /= 2) { swap = true; while (swap) { swap = false; for (i = 0; i + j < _NodeCount; ++i) { if (compare(_NodeList[i...
  3. E

    Windows 10 Access Violation When Iterating Through SCSI Slots

    I am getting an access violation when iterating through SCSI HDD's. I'm sure I'm doing something that needs a minor tweak to get it to work properly. Anyone have any ideas on why I'm getting an access violation every time? HANDLE handle = CreateFile("\\\\.\\PhysicalDrive1", GENERIC_READ |...
  4. A

    Windows 7 How to get drive letter of USB device on Win7

    Using WMDM I have created a small application to read portable device information, my application works fine on vista and XP but has one problem on Win7. Problem: I am not able to get drive letter of USB device. I am calling GetName of IWMDMDevice interface, on XP & VISTA this API returns...
Back
Top