name-resolution

PNRP Name Resolution Problem

I am trying to get PNRP connectivity working between a Windows XP machine and a Windows Vista machine on my internal network (as a first step to getting it working from outside my network). I have set up a WICN on my Vista machine. I can ping the WICN from the same Vista machine (hardly surprising really), but I cannot ping it from the...

linux: adding hosts programmatically?

Is there a way to programmatically add hosts to the local name resolver under Linux? I would rather avoid fiddling with /etc/hosts dynamically... Example: add the name foo and bind it to the local port 127.1.2.3 Use Case: I have an application installed locally accessible through a web browser. I'd like the application to be accessib...

Create local Linked Server using Server Name or IP Address?

Based on the answer I received on this question (http://stackoverflow.com/questions/1911969/...) I have set up a Linked Server on SQL Server 2008 to a Pervasive database. Since both databases are on the same physical server, what would be the recommended method to create the linked server, using the IP Address of the server or the Serve...

Inter-module exception name resolution through boost python does not work?

Here is my problem: I have two C++ modules, A and B, which are built as dynamically-linked libraries. A offers basic math functions, and custom exception types. B is a higher level module that uses A. B::someFunction() calls a function from A, and tries to catch custom exception A:MyExceptionFromA in order to convert it into a custom t...

Templates :Name resolution -->IS this statement is true while inheritance?

This is the statement from ISO C++ Standard 14.6/6: Within the definition of a class template or within the definition of a member of a class template, the keyword typename is not required when referring to the unqualified name of a previously declared member of the class template that declares a type. The keyword typename shall alwa...