Home > Software engineering >  How to read the content of the usb drive in VC and realize the offline upgrade
How to read the content of the usb drive in VC and realize the offline upgrade

Time:10-06

I am a novice VC, don't read the content of the usb drive, more don't know how to offline upgrade program, ask the great spirit, has the ready-made reference code better!

CodePudding user response:

U disk and other disk read and write operations is the same, CreateFile (), ReadFile (), such as u disk file log. TXT, path is written as G: \ \ log. TXT assume G usb disk

CodePudding user response:

Don't know what you're reading is the focus of the U disk or upgrade, if you know U disk drive read and common path C: \ D: \ operation file, if unknown, need to scan the U disk,,,,

CodePudding user response:

You said offline upgrade mean?

CodePudding user response:

I want to be read from usb drive content (including some version of the program) compared with program version installed in the system, if different with the U dish in the upgraded version of the system

CodePudding user response:

U disk offline upgrade package with corresponding program inside, I want to read from the usb upgrade the contents of the package, and compare the versions of these programs installed in the system, if the version number is different, is to upgrade the corresponding program, in the VC how to implement this?

CodePudding user response:

First step by step, you will find you install the software from the system? If you will, you find that your system version number will install the software? If you will, that U disk, also find so as to upgrade, what kind of way to upgrade? This is also a key,

't your situation, you can't exactly where, and then also don't know how to answer you,,


CodePudding user response:

Baidu search relevant keywords,
  • Related