А чем 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 [*] (10.12.2025) (win32) более[…]
Нет, лицензии тут точно не при чём. Включите VERBO[…]
Добрый день. Да, вы можете воспользоваться событ[…]
Добрый день. Посмотрю, что можно сделать.
https://drive.google.com/file/d/1dwvtYoZxUNwx4JLU9[…]
Добрый день. Версия 2025.4.0 Проблема - разрастани[…]
Ссылка на тестовую сборку приложения . После уст[…]
В новых версиях вопрос потерял актуальность, все с[…]
Альтернативный клиент удаляет сообщение, а прикреп[…]
Спасибо за наблюдение, подтверждаю ошибку.
Для конференций, которые создаются пользователем, […]
Ок, я попробую повторить ваш кейс. Напишите в конс[…]
У вас есть возможность проверить отправку на друго[…]
Перенес ваше сообщение в отдельную тему. Это повт[…]
Обработку заголовков допилили, также сделали автом[…]
Здравствуйте. Для корректной работы уведомлений на[…]