А чем 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.
Алексей Пикуров писал(а):Я не гуру в С, поэтому:
If you’re deep into Helldivers 2, you know that ac[…]
Добрый день. Обновился, проблема ушла. Спасибо за[…]
Подниму старую тему, так как для нас тоже актуальн[…]
Обновление уже на сайте , версия 2025.3.7, можно […]
Свежая сборка MyChat 2025.3.7 (обновите страницу[…]
Не делали такого, можно добавить, будет интересно.
Справка по работе с пользовательскими меню в MyCh[…]
Переношу тему в раздел пожеланий. Как обычно, можн[…]
Да, вы правы, не работает, надо исправить.
Супер, дякую за таку швидку реакцію)
Спасибо за фидбек, скорее всего, так и есть.
Да, конечно, можно через шаблоны настроек с сервер[…]
Когда в следующий раз будет такая проблема, скопир[…]