http://bugs.winehq.org/show_bug.cgi?id=28673
Bug #: 28673 Summary: Litemanager Viewer bugs Product: Wine Version: 1.3.29 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: advapi32 AssignedTo: wine-bugs@winehq.org ReportedBy: den.aria@gmail.com Classification: Unclassified
Hello! I developer program Litemanager - remote control software. http://litemanager.com/soft/litemanagerfree_4.2.1_en.zip,
I have several bugs i describe it's in your forum http://forum.winehq.org/viewtopic.php?p=67879#67879
I use Ubuntu 10.10, and i have update Wine to 1.3.29. Use Delphi 2010.
1. Bug with in registry key HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ "InstallDate" I fix it in my program modify my programm
2. Bud with XML file, where i save the settings of my program, I debug Viewer and found, that the settings is don't saving on the disk in the file, The root to the file in Ubuntu "C:\users\Public\Application Data\connections_3.4.xml" - file is Ok, but i can't found it in system folders of Ubuntu, but program is work correctly with him. I think it's virtual wine file system. I testing pogram and found error
TXMLDocument.SaveToFile(AFile); // ERROR - Some time functions saved a clear empty file without data I dont know is it bug of Wine or my program, but on the windows i don't have this bug. I change program to save XML as StringList TXMLDocument.SaveToXML(string1); TStringList.Add(string1); TStringList.SaveToFile(AFile, TEncoding.Unicode);
It's working. I fix it.
3. Some littel bug with interface drawing, with TListView. It's not important to me.
4. My main bug!!!
I have a problem with functions in Authorization process
CryptEncrypt CryptDecrypt http://msdn.microsoft.com/en-us/library/aa379924(v=VS.85).aspx
i use secret key dwProvType := PROV_RSA_AES; dwAlgID := CALG_AES_256; dwSessionKeySize := 256;
Very intresting that when encryptions data with size < 16 i don't have error, but if data size is >16 i will get error! If i use both of these functions in Windows or in Wine Ubuntu it's working without error. But if I Encrypt in Ubuntu and try Decrypt in Windows, CryptDecrypt get result error NTE_BAD_DATA.
Can you test it ? Can you help me? I try to fix it but unfortunaly...