Post by manuknecht on FileDialog - OnDialogClosed not called anymore
CODESYS Forge
talk
(Post)
I had similar issues with the OnDialogClosed not being called. I realized that this behaviour is resolved, when the according visualization object on which the input configuration is set is moved to the foreground. Somehow, the object has to be one of the lowest elements in the Element List (i.e. in the foreground) for it to work.
Last updated: 2025-04-25
Post by jtebokkel on Set REFERENCE to 0 (null) when no longer used
CODESYS Forge
talk
(Post)
yes, it works
Last updated: 2024-10-07
Post by rushikeshsonone on Get the list of all languages from TextList or from font settings of visualmanager
CODESYS Forge
talk
(Post)
Hi, I want list of all languages added in text list during runtime. I check with various object call but no luck. Can you help me with that? Note - I can not using Textlistutil, need other solution
Last updated: 2025-03-04
Post by ara32 on CODESYS 4 Linux:
CODESYS Forge
talk
(Post)
Hello! I managed to correctly launch CODESYS Developer Studio 3.5.17, almost all functionality works. The only issue remaining is that when connecting to a device and obtaining its public key, the NCryptEncrypt function is called, which is not fully implemented in the DLL source code, resulting in the connection not being established. Currently, the code of this function in the Wine repository looks like this: SECURITY_STATUS WINAPI NCryptEncrypt(NCRYPT_KEY_HANDLE key, BYTE *input, DWORD insize, void *padding, BYTE *output, DWORD outsize, DWORD *result, DWORD flags) { struct object *key_object = (struct object *)key; TRACE("(%#Ix, %p, %lu, %p, %p, %lu, %p, %#lx)\n", key, input, insize, padding, output, outsize, result, flags); if (flags & ~(NCRYPT_NO_PADDING_FLAG | NCRYPT_PAD_OAEP_FLAG | NCRYPT_PAD_PKCS1_FLAG | NCRYPT_SILENT_FLAG)) { FIXME("Flags %lx not supported\n", flags); return NTE_BAD_FLAGS; } if (flags & NCRYPT_NO_PADDING_FLAG || flags & NCRYPT_PAD_OAEP_FLAG) { FIXME("No padding and oaep padding not supported\n"); return NTE_NOT_SUPPORTED; } if (key_object->type != KEY) return NTE_INVALID_HANDLE; return map_ntstatus(BCryptEncrypt(key_object->key.bcrypt_key, input, insize, padding, NULL, 0, output, outsize, result, flags)); } The program crashes due to the NCRYPT_PAD_OAEP_FLAG flag. I'm not proficient in C++, but I attempted to add handling myself, and here's the result: SECURITY_STATUS WINAPI NCryptEncrypt(NCRYPT_KEY_HANDLE key, BYTE *input, DWORD insize, void *padding, BYTE *output, DWORD outsize, DWORD *result, DWORD flags) { struct object *key_object = (struct object *)key; TRACE("(%#Ix, %p, %lu, %p, %p, %lu, %p, %#lx)\n", key, input, insize, padding, output, outsize, result, flags); if (flags & ~(NCRYPT_NO_PADDING_FLAG | NCRYPT_PAD_OAEP_FLAG | NCRYPT_PAD_PKCS1_FLAG | NCRYPT_SILENT_FLAG)) { FIXME("Flags %lx not supported\n", flags); return NTE_BAD_FLAGS; } if (flags & NCRYPT_NO_PADDING_FLAG) { FIXME("No padding not supported\n"); return NTE_NOT_SUPPORTED; } BCRYPT_OAEP_PADDING_INFO oaepInfo = { 0 }; oaepInfo.pszAlgId = BCRYPT_SHA1_ALGORITHM; NTSTATUS status = BCryptEncrypt(key_object->key.bcrypt_key, input, insize, &oaepInfo, NULL, 0, output, outsize, result, flags); if (key_object->type != KEY) return NTE_INVALID_HANDLE; return map_ntstatus(BCryptEncrypt(key_object->key.bcrypt_key, input, insize, padding, NULL, 0, output, outsize, result, flags)); } Now, when calling the connection, it crashes with the error "bcrypt:BCryptEncrypt flags 0x4 not implemented." Can anyone help with enhancing this functionality or at least point me in the right direction?
Last updated: 2024-03-22
Post by eschwellinger on Official MQTT-Client: MAX_RECEIVE_BUFFER_SIZE_EXCEEDED
CODESYS Forge
talk
(Post)
check...taskinfo online check plcshell - plcload
Last updated: 2023-09-27
How to check package and licence availability
CODESYS Forge
talk
(Thread)
How to check package and licence availability
Last updated: 2018-01-22
How to check if any alarms haven't been acknowledged?
CODESYS Forge
talk
(Thread)
How to check if any alarms haven't been acknowledged?
Last updated: 2019-12-18
CmpCodeMeter check for MC License doesn't work
CODESYS Forge
talk
(Thread)
CmpCodeMeter check for MC License doesn't work
Last updated: 2019-05-02
Check I/O module connected by code
CODESYS Forge
talk
(Thread)
Check I/O module connected by code
Last updated: 2021-05-18
Scan failed. Check of the gateway run
CODESYS Forge
talk
(Thread)
Scan failed. Check of the gateway run
Last updated: 2021-05-20
How to check available RETAIN PERSISTENT in e!Cockpit
CODESYS Forge
talk
(Thread)
How to check available RETAIN PERSISTENT in e!Cockpit
Last updated: 2021-04-22
How to check if library produces compile errors
CODESYS Forge
talk
(Thread)
How to check if library produces compile errors
Last updated: 2017-02-10
Geräteliste aus Wago I/O Check einlesen
CODESYS Forge
talk
(Thread)
Geräteliste aus Wago I/O Check einlesen
Last updated: 2017-03-23
where can I find "check unused variables" in V3?
CODESYS Forge
talk
(Thread)
where can I find "check unused variables" in V3?
Last updated: 2016-05-09
CAA File, how to check whether file exists or not
CODESYS Forge
talk
(Thread)
CAA File, how to check whether file exists or not
Last updated: 2024-05-16
Post by eschwellinger on Connection to device closed
CODESYS Forge
talk
(Post)
is there a way to check the plclog on Opus A3 by using cmd line under Linux? This log is what you need to check for the disconnection problem
Last updated: 2023-08-24
Post by androidzz on Json Builder problem?
CODESYS Forge
talk
(Post)
Dear reader, I am using the codesys JSON utilities SL, 1.9.0.0 library. And then specifically the FB JSONBuilder. I need to create a main object with at least 2 objects in it. The first object is no problem, but I cannot insert the second object into the main object. See attached my code and the result I get. I am assuming that I am doing something wrong with the parent index but have tried a lot and can't get it done. Kind regards, Rob
Last updated: 2024-03-11
Post by mystx on No source code available for this object
CODESYS Forge
talk
(Post)
hello It is any solution to use this fb in application other pou?
Last updated: 2025-01-28
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
CODESYS Forge
talk
(Thread)
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
Last updated: 2019-01-31
adding PG (Paramter Group) under CAN-J1939 and adding Information object under IEC60870 protocol
CODESYS Forge
talk
(Thread)
adding PG (Paramter Group) under CAN-J1939 and adding Information object under IEC60870 protocol
Last updated: 2017-06-13
How do I configure a visualisation text object to enter data?
CODESYS Forge
talk
(Thread)
How do I configure a visualisation text object to enter data?
Last updated: 2016-05-20
[OOP] Use extended interface instead of base interface as a method return object
CODESYS Forge
talk
(Thread)
[OOP] Use extended interface instead of base interface as a method return object
Last updated: 2017-03-02
ENI server: Object type registry not found in the database
CODESYS Forge
talk
(Thread)
ENI server: Object type registry not found in the database
Last updated: 2010-02-19
How to change font and font color rectangle/or related object
CODESYS Forge
talk
(Thread)
How to change font and font color rectangle/or related object
Last updated: 2025-03-17
Post by mrrobot on No source code available for this object
CODESYS Forge
talk
(Post)
Hello, I have this strange error while I am adding an axis to my slave: "No source code available for this object because it is in the compiled library 'sm3_drive_etc_ds402_cyclic' ..... I looked on google/chatgpt but i cannot find a solution for this issue Any help is welcome ! Thanks in advance Mrrobot
Last updated: 2024-07-15
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.