SetupDiGetDeviceInterfaceDetail returns "\" when called from CLI/C++ enabled dll

  • Thread starter Thread starter Cajon
  • Start date Start date
C

Cajon

Guest
I have some C++ code that calls SetupDiGetDeviceInterfaceDetail that works just fined until I recompile it CLI in which case SetupDiGetDeviceInterfaceDetail returns what appears to be an ASII string. that display as "\" for SP_INTERFACE_DEVICE_DETAIL_DATA::DevicePath. The DevicePath member variable contains the entire path but can only display "\" in the debugger. It seems like VS has somehow reverted to displaying ASCII??

Continue reading...
 
Back
Top