Home > database >  This problem has no solution?
This problem has no solution?

Time:09-18

C + + structure defined in
Typedef struct {
Unsign long SurceType;/* the Type of the device */
Unsign ling RSRVD; Reserved/* */
Char Name;/* Device model name

Char NameInOS;/* Device model name in OS
Unsign long PortType./* the Port type */
CdPortDescripUnion u;/* the Union of the I/O port descriptor */
} cdSourceInfo;
The cdPortDescripUnion type for the following structure
Typedef union {

Char * USB;
Char * IEEE1394.
# the else
Char * STI;
Char * WIA.

CdPortDescripRsrvd RSRVD;
} cdPortDescripUnion;
CdPortDescripRsrvd for another union
Excuse me I how to define in the PB cdSourceInfo this structure

CodePudding user response:

The
refer to the original poster u013689995 response:

c + + are defined in the structureTypedef struct {
Unsign long SurceType;/* the Type of the device */
Unsign ling RSRVD; Reserved/* */
Char Name;/* Device model name

Char NameInOS;/* Device model name in OS
Unsign long PortType./* the Port type */
CdPortDescripUnion u;/* the Union of the I/O port descriptor */
} cdSourceInfo;
The cdPortDescripUnion type for the following structure
Typedef union {

Char * USB;
Char * IEEE1394.
# the else
Char * STI;
Char * WIA.

CdPortDescripRsrvd RSRVD;
} cdPortDescripUnion;
CdPortDescripRsrvd for another union
Excuse me I how to define in the PB cdSourceInfo this structure


With no pb directly, you can use C to encapsulate a DLL or Delphi, and then use pb calls

CodePudding user response:

Struct and union all come, I help you to solve,
  • Related