@@ -295,7 +295,8 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
...
@@ -295,7 +295,8 @@ PacketCommunicator::PacketCommunicator(const char* source, int snapshotLength, P
if(pcapDescriptor==NULL)
if(pcapDescriptor==NULL)
{
{
throwgcnewInvalidOperationException("Unable to open the adapter. "+gcnewString(source)+" is not supported by WinPcap");
throwgcnewInvalidOperationException("Unable to open the adapter. "+gcnewString(source)+" is not supported by WinPcap");
// throw gcnew InvalidOperationException("Unable to open the adapter. " + gcnew String(source) + " is not supported by WinPcap. Error: " + MarshalingServices::UnmangedToManagedString(std::string(errbuf)));