Unresolved external symbols due to _stdcall callingconvention
FROM :
Company : Orda - M ( à Paris La défense )
phone : 01 46 96 62 90
Dear forte developers,
I have got a problem of Unresolved external symbols when precessing fcompile
of a library wrapped to a library made from a DLL.
the call convention of the dll is _stdcall
with the previous version of the dll it was _cdecl it was good
is the solution to modify the name of the functions in the
wrap.cc file ? and how ?
thank you to answer me if you know what to do !
Antoine Dartiguenave
[584 byte] By [
] at [2007-11-25 5:01:08]

We solved this problem by wrapping the include statement for the header file supplied by our vendors with an extern 'c' statement.
This statement was put into it's own header file as below
#define FORTE_NO_FORWARDS 1
extern "C"
{
#include <ourSuppliedFile.h>
}
and this header file was included in the .pex file.
The header file that was supplied to us contained the function declarations in the format below
__declspec(dllimport) int __stdcallfuncname(funcParams);
===============================================================
David Beale45 Castle St.,
GO5 LtdReading. RG1 7SN
E-mail: dbeale@go5.comUnited Kingdom
URL: www.go5.comPhone: +44 (0)1189 589 555
Fax:+44 (0)1189 587 467
--Original Message--
From:Antoine Dartiguenave [SMTP:antoined@worldnet.fr]
Sent:15 December 1997 14:12
To: 'forte-users'
Subject:Unresolved external symbols due to _stdcall calling convention
FROM :
Company : Orda - M ( à Paris La défense )
phone : 01 46 96 62 90
Dear forte developers,
I have got a problem of Unresolved external symbols when precessing fcompile
of a library wrapped to a library made from a DLL.
the call convention of the dll is _stdcall
with the previous version of the dll it was _cdecl it was good
is the solution to modify the name of the functions in the
wrap.cc file ? and how ?
thank you to answer me if you know what to do !
Antoine Dartiguenave
at 2007-6-29 9:20:19 >
