【VC/MFC】

Using ADO to Access Oracle Database in MFC

Hits: 0Operating system: win7 64bit Software environment: VS2012, Local client using Oracle 11g 64bit The remote server side uses Oracle 11g 32bit 1. Import the msado15.dll [dynamic link] library AfxEnableControlContainer(); AfxOleInit(); //Initialize COM library === 2. Initialize the Com component CString strConnect; strConnect.Format("Provider=OraOLEDB.Oracle.1;Password=%s;PersistSecurity Info=True;User ID=%s;\ DataSource=\"(DESCRIPTION =(ADDRESS_LIST =(ADDRESS = (PROTOCOL = TCP)(HOST =%s)\ (PORT = …

Using ADO to Access Oracle Database in MFC Read More »

Encapsulate MFC (VC2012) resources in dll–customize a multiplexed login interface

Hits: 01. Interface analysis It is not particularly convenient to make a good-looking interface directly in MFC, and the reusability is not so good. When I saw the online interface library by chance, I thought how convenient it would be to use it directly in a new project if all resources were encapsulated in dll …

Encapsulate MFC (VC2012) resources in dll–customize a multiplexed login interface Read More »