private: string toString(String ^ s) { string n; using namespace Runtime::InteropServices; const char * chars = (const char * )(Marshal::StringToHGlobalAnsi(s)).ToPointer(); n = chars; Marshal::FreeHGlobal(IntPtr((void * ) chars)); return n; }
Saturday, April 13, 2013
Visual c++ Converting String ^ to std::string (basic string)
Tuesday, April 2, 2013
Oracle server developer installation on windows
Setting up oracel server
- Download Oracle SQL Express Edition 11g Click Here
- Unzip the downloaded file open DISK1 folder and run the setup.exe
- While installation enter a password for System (administrator) account **(important)**
- After installation is done Go to Start -> Run -> services.msc in windows
- Check the service called OracleServiceORCL if there is nothing called OracleServiceORCLservice
- Start -> Run -> cmd type on cmd to create the service c:\ORADIM -NEW -SID ORCL
- Again navigate to services.msc and select OracleServiceORCL service and start the service
- Again navigate to cmd it's good that you restart cmd prompt type c:\sqlplus system@orcl on cmd
- Then it will ask to Enter password: so enter the password that you entered while installation process (3rd step)
- Then cmd will ask to Enter user-name: system default user name is system
- Again Enter password: -> and enter
- Finally this is the success message Connected to:Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
- Open the desktop icon called Get Started With Oracle Database 11g Express Edition
- Server installation DONE!
Setting up oracle sqldeveloper
- Download the oracle sqldeveloper Click Here
- Extract and open sqldeveloper.exe
- Tick all the file types, then click OK button
- Then right click on Connections and click New Connection
- Inside New Connection enter any connection name
- Enter username as default one called system
- Enter password as server password that you entered while oracle server installation
- Test the connection if succeeded, Save and Connect DONE!
Subscribe to:
Posts (Atom)