А чем 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 Server [+] (23.03.2026) (msl) скрипто[…]
Да. Сегодня снова повторилось.
Нет, никто не заказывал доработку чата для обеспеч[…]
Через раз подхватывает блютуз-гарнитуру. Выбора ус[…]
При звонке, если переключиться на другое приложени[…]
Посмотрю в чем может быть проблема, отвечу в этой […]
Добрый день. Очистку сделаем, её сейчас нету, вы п[…]
В компонентах, которые мы используем для win32 при[…]
Отримав файл з відтворенням в особистих, досліджую[…]
какие логи еще предоставить , что бы решить пробле[…]
Обновите сервер, пожалуйста, версия 2025.4.3 https[…]