Salut
J'ai fais une DLL en C++ à partir de visual C++ express 2008 que j'ai compilé en version release. Sur la majorité des ordinateurs que je teste mon DLL ça fonctionne, mais sur certains ça seul une version compilé en debug fonctionne.

Est-ce que ça aurait un rapport avec le compilateur express, une option de compilation, une config particulière de l'ordinateur récalcitrant (en Vista pro 32 bits) ou autre chose?

Merci

Mon code très simple:
Configuration release
Bibliothèque dynamique (.dll)
Bibliothèque runtime DLL multithread (/MD)
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once
#include "WebService.h"
using namespace System;
 
extern "C" __declspec(dllexport) const int Verif_MJ(char* cVersion,char* cID,char* cProp,char* cPostal)
{
	String^ strVersion = gcnew String(cVersion);
	String^ strID = gcnew String(cID);
	String^ strProp = gcnew String(cProp);
	String^ strPostal = gcnew String(cPostal);
	Service_LLS::LLSService serv;
	return serv.compare_version(strVersion,strID,strProp,strPostal);
}