Closed Toveal closed 1 year ago
Hey!
Alright, I checked and there was a bug, where name_ru
option get's ignore, fixed it in main branch. You can get this fix if you change your dependency in Cargo.toml to this:
[dependencies]
#...
native_api_1c = { git = "https://github.com/Sebekerga/native_api_1c" }
And then run cargo update
.
I'll push it as v0.10.4
to crates.io later too.
Hey!
- What version of crate do you use?
- Can you share part of your 1С code, that works with property?
- Can you try both Russian and English names of property?
InstallAddIn("CommonTemplate.ByteReader");
If Not AttachAddIn("CommonTemplate.ByteReader", "MyAddin", AddInType.Native) Then
Raise("Error");
Return;
EndIf;
ObjectAddin = New("Addin.MyAddin.ByteReader");
Bytes = ObjectAddin.ReadBytes("E:\.gitignore");
PropValueRu = ObjectAddin.ТестПроп;
ObjectAddin.ТестПроп = 304;
PropValueEn = ObjectAddin.TestProp;
ObjectAddin.TestProp = 505;
Nice! Thanks for detailed reportings :)
@Toveal you can use 0.10.5 now instead of git
Hello. I added a property to the example from the repository. The function works, the property does not
1C does not see the property and does not want to overwrite it Cleared the cache. Moved the processing to the configuration. Tried different platforms. Tried it on other PCs