a surprising problem

in Help Center
1 Ice::PropertiesPtr properties = Ice::createproperties();
2 properties->load("MWconfig")
when it goes to line 2 , there will thow out a "unhandled excepiton in ***.exe:0xC0000005:Access Violation."
2 properties->load("MWconfig")
when it goes to line 2 , there will thow out a "unhandled excepiton in ***.exe:0xC0000005:Access Violation."
0
Comments
Please update your signature as described in this post.
Also, please provide as much information as possible about your environment, including the version of your Ice release, compiler, operating system, and anything else you think might be useful.
Take care,
- Mark
the server is linux
the client is win_xp,vc++ 6.0
the code :
BOOL InitMW( )
{
Ice::CommunicatorPtr communicator;
try
{
int argc = 0;
Ice::PropertiesPtr properties = Ice::createProperties();
properties->load("MWconfig");
communicator = Ice::initializeWithProperties(argc, 0, properties);
}
catch(const IceUtil::Exception& ex)
{
return FALSE;
}
return TRUE;
}
when i run the red line ,i will catch the error
watch "properties" ,it's value is "CXX0017: Error: symbol "properties" not found
'
i have updated my signature ,so .........
Another possibility is that your configuration file is bad. What is the content?