hi all,

I want to make an exe that will configure my pocket pc correctly after each
reset.

but I don't know how to set the ip address by program. I want to use C++ or
C#.

can anyone tell me how can I do ?

thx a lot.
Yannick

Re: how to set the ip address programatically ? by AlexG

AlexG
Tue Apr 05 06:33:57 CDT 2005

Yannick,

you can use IP Helper API to use it (e.g. SetIpNetEntry). Actually you
need to setup some specific network adapter/interface to use desired IP
address. SDK help contains some samples of doing it.

Regards,
Alex


Re: how to set the ip address programatically ? by Yannick

Yannick
Tue Apr 05 08:36:09 CDT 2005

thx alex,

I've done something that change the registry but I don't know if it is the
cleaner solution.


"AlexG" <alex.gusev@retalix.com> a écrit dans le message de news:
1112700837.649939.149430@l41g2000cwc.googlegroups.com...
> Yannick,
>
> you can use IP Helper API to use it (e.g. SetIpNetEntry). Actually you
> need to setup some specific network adapter/interface to use desired IP
> address. SDK help contains some samples of doing it.
>
> Regards,
> Alex
>



Re: how to set the ip address programatically ? by Beverly

Beverly
Tue Apr 05 11:14:12 CDT 2005

>> registry <<

Might take a look at http://BevHoward.com/NetWk.htm#DHCP for the results
of looking into this a few years ago.

Beverly Howard [MS MVP-Mobile Devices]




Re: how to set the ip address programatically ? by Raul

Raul
Tue Apr 05 13:50:09 CDT 2005

Hi Yannick,
(I'm prodrigv at HP dev forums :)

I've done well so far configuring IP on the registry with all models, since
old 3760 PPC 2002 to newer iPaqs and Dells.

Raúl


"Yannick S." <y.schmieder_nospam@swinnovation_nospam.com> wrote in message
news:%230CvvReOFHA.3704@TK2MSFTNGP12.phx.gbl...
> thx alex,
>
> I've done something that change the registry but I don't know if it is the
> cleaner solution.
>
>
> "AlexG" <alex.gusev@retalix.com> a écrit dans le message de news:
> 1112700837.649939.149430@l41g2000cwc.googlegroups.com...
>> Yannick,
>>
>> you can use IP Helper API to use it (e.g. SetIpNetEntry). Actually you
>> need to setup some specific network adapter/interface to use desired IP
>> address. SDK help contains some samples of doing it.
>>
>> Regards,
>> Alex
>>
>
>



Re: how to set the ip address programatically ? by Yannick

Yannick
Wed Apr 06 02:25:28 CDT 2005

thx all for your answers ;)


"Raul Santelices" <no spam rasantel@ no spam ing.puc.cl> a écrit dans le
message de news: uNckIBhOFHA.544@TK2MSFTNGP10.phx.gbl...
> Hi Yannick,
> (I'm prodrigv at HP dev forums :)
>
> I've done well so far configuring IP on the registry with all models,
> since
> old 3760 PPC 2002 to newer iPaqs and Dells.
>
> Raúl
>
>
> "Yannick S." <y.schmieder_nospam@swinnovation_nospam.com> wrote in message
> news:%230CvvReOFHA.3704@TK2MSFTNGP12.phx.gbl...
>> thx alex,
>>
>> I've done something that change the registry but I don't know if it is
>> the cleaner solution.
>>
>>
>> "AlexG" <alex.gusev@retalix.com> a écrit dans le message de news:
>> 1112700837.649939.149430@l41g2000cwc.googlegroups.com...
>>> Yannick,
>>>
>>> you can use IP Helper API to use it (e.g. SetIpNetEntry). Actually you
>>> need to setup some specific network adapter/interface to use desired IP
>>> address. SDK help contains some samples of doing it.
>>>
>>> Regards,
>>> Alex
>>>
>>
>>
>
>