Porting a 32 bit del programma di scarico da ODBC. Tradotti in italiano alcuni messaggi di errore. Correzioni al programma di aggiornamento anagrafiche. Cambiata la sequenza di ricerca: prima cerca il driver e poi eventualmente la variabile d'ambiente SPPROOT. git-svn-id: svn://10.65.10.50/trunk@5189 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			81 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			81 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
// sesaddoc.cpp : implementation of the CSesadumpDoc class
 | 
						|
//
 | 
						|
 | 
						|
#include "stdafx.h"
 | 
						|
#include "sesadump.h"
 | 
						|
 | 
						|
#include "sesaddoc.h"
 | 
						|
 | 
						|
#ifdef _DEBUG
 | 
						|
#undef THIS_FILE
 | 
						|
static char BASED_CODE THIS_FILE[] = __FILE__;
 | 
						|
#endif
 | 
						|
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// CSesadumpDoc
 | 
						|
 | 
						|
IMPLEMENT_DYNCREATE(CSesadumpDoc, CDocument)
 | 
						|
 | 
						|
BEGIN_MESSAGE_MAP(CSesadumpDoc, CDocument)
 | 
						|
  //{{AFX_MSG_MAP(CSesadumpDoc)
 | 
						|
    // NOTE - the ClassWizard will add and remove mapping macros here.
 | 
						|
    //    DO NOT EDIT what you see in these blocks of generated code!
 | 
						|
  //}}AFX_MSG_MAP
 | 
						|
END_MESSAGE_MAP()
 | 
						|
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// CSesadumpDoc construction/destruction
 | 
						|
 | 
						|
CSesadumpDoc::CSesadumpDoc()
 | 
						|
{
 | 
						|
  // TODO: add one-time construction code here
 | 
						|
}
 | 
						|
 | 
						|
CSesadumpDoc::~CSesadumpDoc()
 | 
						|
{
 | 
						|
}
 | 
						|
 | 
						|
BOOL CSesadumpDoc::OnNewDocument()
 | 
						|
{
 | 
						|
  if (!CDocument::OnNewDocument())
 | 
						|
    return FALSE;
 | 
						|
 | 
						|
  // TODO: add reinitialization code here
 | 
						|
  // (SDI documents will reuse this document)
 | 
						|
 | 
						|
  return TRUE;
 | 
						|
}
 | 
						|
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// CSesadumpDoc serialization
 | 
						|
 | 
						|
void CSesadumpDoc::Serialize(CArchive& ar)
 | 
						|
{
 | 
						|
  if (ar.IsStoring())
 | 
						|
  {
 | 
						|
    // TODO: add storing code here
 | 
						|
  }
 | 
						|
  else
 | 
						|
  {
 | 
						|
    // TODO: add loading code here
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// CSesadumpDoc diagnostics
 | 
						|
 | 
						|
#ifdef _DEBUG
 | 
						|
void CSesadumpDoc::AssertValid() const
 | 
						|
{
 | 
						|
  CDocument::AssertValid();
 | 
						|
}
 | 
						|
 | 
						|
void CSesadumpDoc::Dump(CDumpContext& dc) const
 | 
						|
{
 | 
						|
//  CDocument::Dump(dc);
 | 
						|
}
 | 
						|
#endif //_DEBUG
 | 
						|
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// CSesadumpDoc commands
 |