А чем 32x не устраивает?
Чат со мной
Алексей Пикуров писал(а):Здравствуйте, Евгений.
А чем 32x не устраивает?
FUNCTION mychatGetLibVersion return varchar2 as
External
LIBRARY mychat NAME "mychatGetLibVersion64"
parameters(
RETURN STRING
)
LANGUAGE C CALLING STANDARD PASCAL;
safecall просто создаёт вокруг тела процедуры блок try-except-end, в котором исключение переводится в HRESULT.
function DoSomething(a: DWORD): DWORD; safecall;
это тоже что
function DoSomething(a: DWORD; out Result: DWORD): HResult; stdcall;
FUNCTION mychatGetLibVersion2 (res out varchar2 ) return varchar2 as
External
LIBRARY mychat NAME "mychatGetLibVersion64"
parameters(
res maxlen,
res length,
res STRING,
RETURN STRING
)
LANGUAGE C CALLING STANDARD PASCAL;
Restrictions on External C Procedures
Currently, the following restrictions apply to external procedures:
This feature is available only on platforms that support DLLs.
Only C procedures and procedures callable from C code are supported.
You cannot pass PL/SQL cursor variables or records to an external procedure. For records, use instances of object types instead.
In the LIBRARY subclause, you cannot use a database link to specify a remote library.
The maximum number of parameters that you can pass to a external procedure is 128. However, if you pass float or double parameters by value, then the maximum is less than 128. How much less depends on the number of such parameters and your operating system. To get a rough estimate, count each float or double passed by value as two parameters.
CALLING STANDARD
Specifies the Windows NT calling standard (C or Pascal) under which the external procedure was compiled. (Under the Pascal Calling Standard, arguments are reversed on the stack, and the called function must pop the stack.) If you omit this subclause, then the calling standard defaults to C.
FUNCTION mychatGetLibVersion return varchar2 as
External
LIBRARY mychat NAME "mychatGetLibVersion64"
parameters(
RETURN STRING
)
LANGUAGE C CALLING STANDARD PASCAL;
CALLING STANDARD
Specifies the Windows NT calling standard (C or Pascal) under which the external procedure was compiled. (Under the Pascal Calling Standard, arguments are reversed on the stack and the called function must pop the stack.) If you omit this subclause, the calling standard defaults to C.
Алексей Пикуров писал(а):Я не гуру в С, поэтому:
При просмотре и печати протоколов не видны файлы п[…]
MyChat Client [+] (12.08.2025) (ios) добавле[…]
Дякую за уточнення. З пуш-сповіщеннями буде випущ[…]
Я имел в виду отдельное устройства для звука входя[…]
Скорее всего так и есть , отпишусь тут , когда н[…]
В настройках проекта снимите галочку "Полный […]
1. Добавили на сервер автоматическую корректировку[…]
Да, если у нас будет на это время. Либо просто зак[…]
Ок, спасибо за обратную связь, проблема закрыта.
Добрый день. Обновился, проблема ушла. Спасибо за[…]
Подниму старую тему, так как для нас тоже актуальн[…]