#include "stdafx.h"
#include "Dll_De_Demo.h"
#include <math.h>

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

// Des commentaires

//........

BEGIN_MESSAGE_MAP(CDll_De_DemoApp, CWinApp)
END_MESSAGE_MAP()

double _stdcall Norme_Dll( double x,double y)
{
double z ;
double puissance ;

z = pow(x,2) + pow(y,2) ;
puissance = 0.5 ;
z = pow(z,puissance) ;
return z ;
}

 

CDll_De_DemoApp::CDll_De_DemoApp()
{
// TODO : ajoutez ici du code de construction,
// Placez toutes les initialisations significatives dans InitInstance

}

// Seul et unique objet CDll_De_DemoApp

CDll_De_DemoApp theApp;

// initialisation de CDll_De_DemoApp

BOOL CDll_De_DemoApp::InitInstance()
{
CWinApp::InitInstance();

return TRUE;
}