Calling C++ function

Поиск
Список
Период
Сортировка
От Oliver Archner
Тема Calling C++ function
Дата
Msg-id 411CB6B8.1050909@bitoek.uni-bayreuth.de
обсуждение исходный текст
Ответы Re: Calling C++ function
Список pgsql-interfaces
Hi,

i'm trying to write a user-defined C function which creates a thumbnail 
out of a base64 encoded string. The ImageMagick C++ API provides exactly 
the functionality i need. So i would like to use these C++ functions.
I figured out that i have to define the entry point function with C
linkage (extern "C" { ... }).
Can anyone point me to example which calls a C++ function from a dynamic 
library ?

-- 
Oliver Archner
Tel.: 0921/55-5727
Fax.: 0921/55-5799
BITÖK Wissenschaftliches Sekretariat
Universität Bayreuth
D-95440 Bayreuth



В списке pgsql-interfaces по дате отправления: