The MASM Forum Archive 2004 to 2012

Project Support Forums => MASM32 => Topic started by: Jimg on January 08, 2006, 04:52:52 PM

Title: DeleteGroup
Post by: Jimg on January 08, 2006, 04:52:52 PM
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>


Title: Re: DeleteGroup
Post by: MichaelW on January 08, 2006, 09:47:23 PM
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)

Title: Re: DeleteGroup
Post by: Jimg on January 09, 2006, 01:57:55 AM
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?
Title: Re: DeleteGroup
Post by: Jimg on January 10, 2006, 03:12:11 AM
Hmmmm.  I guess nobody ever uses those libraries.
Title: Re: DeleteGroup
Post by: Mark Jones on January 24, 2006, 07:46:49 AM
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. :)