In nmapi.inc, deletegroup is defined as:
DeleteGroup PROTO :DWORD
however in userenv.inc, deletegroup is defined as:
DeleteGroupA PROTO :DWORD,:DWORD
DeleteGroup equ <DeleteGroupA>
is there a conflict in routine names between nmapi.lib and userenv.lib or is one of these in error?
edit:
I'm also getting a conflict on EnumProtocols
In nmapi.inc
EnumProtocols PROTO
in the wsock libs (mswsock.inc,,wsock32.inc):
EnumProtocolsA PROTO :DWORD,:DWORD,:DWORD
EnumProtocols equ <EnumProtocolsA>
I cannot find any DeleteGroup associated with Network Monitor (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmon/netmon/reference.asp)
But I do find a DeleteGroup associated with the Shell DDE Command String Interface (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/programmersguide/legacyinformation/dde/commandstring/deletegroup.asp)
I have two more problems.
If I try to use the dsprop library, I get "error LNK2001: unresolved external symbol _DllMain@12"
and if I try to use the odbcbcp library, I get "error LNK2001: unresolved external symbol _LibMain@12"
any idea what is causing these?
Hmmmm. I guess nobody ever uses those libraries.
Make sure you are including the right libs and not duplicating any includes... I've seen "strange" things like that happen because of duplicate nested includes. And nope, apparently not many doing ODBC programming. :)