Click here to Skip to main content
16,023,103 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have to write a function which can setup a scope in the DHCP server using the functions available in the dhcpsapi.dll.
which asks for marshaling and stuff like that.
I am not able to write it.
Can somebody help me with it please.
It would be great if you could give me some source code itself,describing how to do it
Posted
Comments
Smithers-Jones 26-May-10 14:04pm    
It's not enough to just say "I can't do it" and then ask for source codes here. Come back when you have something to show and people will help you to solve your problem, but don't ask for code.

1 solution

Go here and discover what you need:

http://www.pinvoke.net/[^]

On that page, there's a list of DLLs - look for "dhcpsapi.dll", and click on it.

BTW, a little effort on your part (it's called "google") would have resulted in you discovering that site on your own.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900