Hi all,
I'm trying to create my first C++ dll for use with my VB program.
It is probably an easy one for you guys. I cannot build my project because of the following:
I'm getting this build error:
'SetupDiGetClassDevsA': cannot convert parameter 1 from 'const struct_GUID *' to 'struct_GUID *'
On this line:
// get a list of all devices of class 'GUID_DEVCLASS_NET'
hdi = SetupDiGetClassDevs(&GUID_DEVCLASS_NET, NULL, NULL, DIGCF_PRESENT);
Can anyone help me please?
Thanks,
Jaroslaw
I'm trying to create my first C++ dll for use with my VB program.
It is probably an easy one for you guys. I cannot build my project because of the following:
I'm getting this build error:
'SetupDiGetClassDevsA': cannot convert parameter 1 from 'const struct_GUID *' to 'struct_GUID *'
On this line:
// get a list of all devices of class 'GUID_DEVCLASS_NET'
hdi = SetupDiGetClassDevs(&GUID_DEVCLASS_NET, NULL, NULL, DIGCF_PRESENT);
Can anyone help me please?
Thanks,
Jaroslaw