Hello,
Sorry for my poor english
I integrate your SDK
I drive your hardware with "hardware.DLL"
That is OK ! Excellent Demo and Documentation !
I need convert Type1 File to Type2 in Real Time
I use "tool.dll" in "package version ... censure"
I use fonction LIB_GetHandle, LIB_OpenStream, LIB_SetMode, LIB_Convert ... and 8 another functions
It's more difficult, i read your Corean documentation with google translate, i not found english doc ?!
But 30 fonctions are c++ decorated in this tool.DLL
I use C++Builder 2007 (or Delphi)
This Microsoft decoration has not supported
I add extern "c++" or extern "c"
?LIB_GetHandle@@YGHPAJ@Z
?LIB_ReleaseHandle@@YGHJ@Z
?LIB_StopConvert@@YGHJ@Z
?LIB_Startonvert@@YGHJPADP6GXJJJPAH0@ZJ@Z
with extern c
[ILINK32 Erreur] Error: 'MaFonction' external not resolve...
with extern c++
[ILINK32 Erreur] Error: '__stdcall MaFonction(long)' external not resolve...
How integrated this fonctions with name mangling in C++Builder 2007 ?
I generated the file lib from the DLL implib (executable of borland, lib from MS is not supported)
I tried a DEF file with alias IMPDEF but char ? is refused by implib for original name !
LIBRARY tool.DLL
EXPORTS
LIB_GetHandle=?LIB_GetHandle@@YGHPAJ@Z
LIB_ReleaseHandle=?LIB_ReleaseHandle@@YGHJ@Z
LIB_StartConvert=?LIB_StartConvert@@YGHJPADP6GXJJJPAH0@ZJ@Z
LIB_StopConvert=?LIB_StopConvert@@YGHJ@Z
implib : Error ....def(4): Invalid character in .DEF file
If i delete ? char, implib make the lib file but wrong name
How to fix this?
Monday, I would replace static linking with calls dynamically via LoadLibrary and GetProcAddress, I hope this will solve the problem
Partager