Home > Software engineering >  Vs2012 development intelligent devices to read and write procedures, in other PC can't read and
Vs2012 development intelligent devices to read and write procedures, in other PC can't read and

Time:10-04

I read and write with VS2012 developed a smart device of MFC procedures, to run the program, in my own PC can put copies of files on the computer to the intelligent device memory card;
But put the program in PC, others can't copy, in the call log shows IPortableDeviceManager GetDeviceFriendlyName fails, an error code 13, your computer has a development environment can be run, what environment whether to install a computer bag, others to run, everyone a great god, and know, to tell the younger brother,

CodePudding user response:

Don't log look is driver

CodePudding user response:

Using static compilation, and then try on someone else's computer has an administrator to run, error data invalid 13 mean, played in the log of the parameter to look at whether is correct

CodePudding user response:


Drivers should reason, can't, if there is something wrong with the driver, more intelligent device on a computer display not to come out, now is on a computer is device can be seen, and can open the memory card intelligent equipment, see the inside of the file,
Tried as an administrator, the same, the initialization is good, more logs show that can monitor to one device, but failed, when the access device name
Vs2012 when installation, do not know with what library,

CodePudding user response:

A device is not required to support this method. If this method fails to retrieve A name, try requesting the WPD_OBJECT_NAME property of the device object (the object with the ID WPD_DEVICE_OBJECT_ID).

CodePudding user response:

To additional drivers
  • Related