je n'arrive pas coller l'image du résultat de importExport sur mon pc
bon je vais donc saisir ce que j'ai
001 0x00001d40 BT_CheckFeature
002 0x000015d0 BT_BrowseServices
.....
016 0x00001cb0 BT_GetVersion
et voici mon code
// A simple program that uses LoadLibrary and
// GetProcAddress to access myPuts from Myputs.dll.
#include <stdio.h>
#include <windows.h>
typedef int (*MYPROC)(LPTSTR);
VOID main(VOID)
{
HINSTANCE hinstLib;
MYPROC ProcAdd;
BOOL fFreeResult, fRunTimeLinkSuccess = FALSE;
// Get a handle to the DLL module.
printf("call of load lib. \n");
hinstLib = LoadLibrary(TEXT("btfunc.dll"));
// If the handle is valid, try to get the function address.
if (hinstLib != NULL)
{
printf("call succed LoadLibrary...\n");
printf("call GetProcAddress \n\n");
ProcAdd = (MYPROC) GetProcAddress(hinstLib, (LPCSTR)TEXT("BT_GetVersion"));
// If the function address is valid, call the function.
if (NULL != ProcAdd)
{
printf("call succed GetProcAddress...\n");
fRunTimeLinkSuccess = TRUE;
(ProcAdd) (TEXT("Message via DLL function\n"));
//(int) (TEXT("Message via DLL function\n"));
}
// Free the DLL module.
fFreeResult = FreeLibrary(hinstLib);
}
// If unable to call the DLL function, use an alternative.
if (! fRunTimeLinkSuccess)
printf("Unable to get DLL function adress \n\n so Message via alternative method\n");
}
J'ai jamais réussi à m'inscire sur le forum de bluesoleil. a chaque fois j'ai un pb avec leur serveur ou alors le login est déjà utiliser.
merci pour l'aide