[fdo-users] Convert std::string to FDOString?

nav navin.pro at gmail.com
Thu May 23 01:58:39 PDT 2013


It's strange I couldn't find any info online about it.
Am basically getting an error in this piece of code

*	int RegisterProvider(std::string strProviderName)
    {
	    FdoPtr<FdoProviderRegistry> m_pRegistry = (FdoProviderRegistry*)
FdoFeatureAccessManager::GetProviderRegistry();

	        m_pRegistry->RegisterProvider(strProviderName, ...blah*

where strProviderName isn't being accepted (compiletime error) by
RegisterProvider function because of the error Error	1	error C2664:
'FdoProviderRegistry::RegisterProvider' : cannot convert parameter 1 from
'std::string' to 'FdoString *'




--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Convert-std-string-to-FDOString-tp5055148.html
Sent from the FDO Users mailing list archive at Nabble.com.


More information about the fdo-users mailing list