wodDHCP Server how to... plzzz help!!! - WeOnlyDo Discussion board

wodDHCP Server how to... plzzz help!!! (General questions)

by uzee, Thursday, October 05, 2006, 11:30 (6624 days ago)

Hi,
I want to use the wodDHCP server in a 3-4 windows xp computers environment to allocate IP addresses.
I have downloaded and installed the free demo but need help in understanding how to run or test it. I have read through the help section and the pdf documentation which defines its objects but I'm confused as to where to start. I was thinking there would be an .exe that I would launch which would give me a GUI to understand how it would look like and work but I dont see any such application. Can someone please help me in understanding how to go about it and where to start. I'm a junior level C++ developer but have senior resources to engage for help, but atleast I should first understand what needs to be done and what parts need custom code for my purposes.
Please forgive my ignorance, looking for help....
uzee

Re: wodDHCP Server how to... plzzz help!!!

by wodSupport, Thursday, October 05, 2006, 12:22 (6624 days ago) @ uzee

Uzee,

there is no EXE file because this is not an application, this is a component.

We can't provide support for a free product - so you're more/less on your own here..

Regards,
Kreso

Re: wodDHCP Server how to... plzzz help!!!

by uzee, Wednesday, October 11, 2006, 09:17 (6618 days ago) @ wodSupport

Hi,
I completely understand that support cannot be provided because its a free product.
However, can anyone please help me in pointing in the right direction. I basically just want to develop a utility that runs as a dhcp server. This product I believe could solve my problem, but I looked through all the sample files and I could not identify a main program. If I need to write one how would all the given header and .cpp files relate to it.
In other words I'm looking for help to figure out how to use this utility? Please forgive me if this is a stupid question, but I'll truly appreciate any help.
Thanks
uzee

Re: wodDHCP Server how to... plzzz help!!!

by chrismooney, Wednesday, October 25, 2006, 14:31 (6604 days ago) @ uzee

First of all, do you understand how to load a COM object using C++? If you have access to Visual Studio 2005 and are willing to learn some C#, I can get you started with some instructions on starting the project but I am getting COM errors each time I try to call the Session object methods to give clients their DHCP . I would help you with the C++, but I haven't done COM interface stuff in a long time. From what I remember the general concept is to first import into your project the COM type library (the .tlb file). Then in your application code, you have to call the InitializeCOM method (I don't think that is what it was really called, but it is something like that), and then instantiate an object of the wodDHCPServer class, verify it has the interface you want to use, and call the methods on it. You will have to catch the messages that it posts to know if a client is requesting an address.

Other than that, I don't know what to tell you. But if you want a shell of C# code, I'm willing to give it to you.