CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2007
    Posts
    3

    Persistent routes with CreateIPForwardEntry possible?

    Hi all,

    I've already managed to add routing table entries using the CreateIPForwardEntry API call, but I can't find any info here/on the Internet with regards to persistent routes and the MIB_IPFORWARDROW structure (see http://www.pinvoke.net/default.aspx/...ORWARDROW.html) or the API call.

    If it's not possible to create persistent routes using that API call, I would appreciate it if someone could provide me with an alternative. Otherwise I'll just resort to "route.exe -p add ..."

    Thanks in advance
    Chris

  2. #2
    Join Date
    Jan 2007
    Posts
    3

    Re: Persistent routes with CreateIPForwardEntry possible?

    There are no available API calls to add persistent routes.
    I've only found Windows registry entries where the persistent routes are located, but you can't add persistent routes by simply modifying the registry.

    See http://technet.microsoft.com/en-us/l.../bb726981.aspx

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured