OLE error 80004002
OLE error 80004002
Hello!
i create my software by Delphi 2010 for Windows, when i start my program by Wine 1.2.1 on linux i get error 80004002 "No such interface supported".
I debug programm and found error code
--- function
TXMLDocument.SaveToStream(TMemoryStream); // Error
--- stuff of the function
unit XMLDoc;
procedure TXMLDocument.SaveToStream(const Stream: TStream);
begin
CheckActive;
DomPersist.saveToStream(Stream);
SetModified(False);
end;
I found interfaces, may be it's help
IDOMImplementation
IDOMPersist
IDOMDocument
Can you fix this error in next versions? thank you
Best Regards
P.S.
use wine 1.2.1
i create my software by Delphi 2010 for Windows, when i start my program by Wine 1.2.1 on linux i get error 80004002 "No such interface supported".
I debug programm and found error code
--- function
TXMLDocument.SaveToStream(TMemoryStream); // Error
--- stuff of the function
unit XMLDoc;
procedure TXMLDocument.SaveToStream(const Stream: TStream);
begin
CheckActive;
DomPersist.saveToStream(Stream);
SetModified(False);
end;
I found interfaces, may be it's help
IDOMImplementation
IDOMPersist
IDOMDocument
Can you fix this error in next versions? thank you
Best Regards
P.S.
use wine 1.2.1
-
- Moderator
- Posts: 1153
- Joined: Wed Apr 27, 2011 11:01 pm
OLE error 80004002
On Wed, Oct 5, 2011 at 4:32 AM, den123 <[email protected]> wrote:
state which Linux distribution you are using, I cannot provide
specific instructions on how to do this.
James
Update to the latest development version, 1.3.29. Since you did notHello!
i create my software by Delphi 2010 for Windows, when i start my program by Wine 1.2.1 on linux i get error 80004002 "No
such interface supported".
state which Linux distribution you are using, I cannot provide
specific instructions on how to do this.
James
ok!
I use Ubuntu 10.10, and i have update Wine to 1.3.29 and my program start work without error! Very Good!!!
Ok, now i can try to start my main application by wine and I get message
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
I have developing a remote control software the Litemanager and i try start Viewer by Wine. (http://www.litemanager.com/)
I think the Wine project is a great!!!
I use Ubuntu 10.10, and i have update Wine to 1.3.29 and my program start work without error! Very Good!!!
Ok, now i can try to start my main application by wine and I get message
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
I have developing a remote control software the Litemanager and i try start Viewer by Wine. (http://www.litemanager.com/)
I think the Wine project is a great!!!
Hi I downloaded the app from http://litemanager.com/soft/litemanager ... 2.1_en.zip, and gave it a try. For me ROMViewer.exe crashes as well. A debuglog shows it seems to choke in a simple missing regisrty-keyOk, now i can try to start my main application by wine and I get message
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
I'll send a patch to fix this. In the meanwhile, manually create the following DWORD key in registry under HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\ :
"InstallDate" = "1273299354"
(decimal)
Could you try if the above works for you ad well?
ok,
I modify programm and add key checks
if Reg.ValueExists('InstallDate') then
begin
sId := IntToStr(Reg.ReadInteger('InstallDate'));
end;
It's help me and the program start working!!!
Now I try to work with my program and add new connection, and i get some bugs
1 Some littel bug with interface, with TListView
2 And bug with XML file, with settings of program, I debug Viewer and found, that settings id don't saving on disk in the file,
The root to the file "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.
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.
Okkkk.....
Now I try connect from Viewer (Wine Ubuntu) to my Server (Windows) and authorization process is failed, not errors and not bugs, i need debug program.... Tomorrow i will test the program
Fixed Viewer if you a intrested to testing
http://litemanager.ru/bug_test/ROMViewer_wine.zip
Thank you!
I modify programm and add key checks
if Reg.ValueExists('InstallDate') then
begin
sId := IntToStr(Reg.ReadInteger('InstallDate'));
end;
It's help me and the program start working!!!
Now I try to work with my program and add new connection, and i get some bugs
1 Some littel bug with interface, with TListView
2 And bug with XML file, with settings of program, I debug Viewer and found, that settings id don't saving on disk in the file,
The root to the file "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.
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.
Okkkk.....
Now I try connect from Viewer (Wine Ubuntu) to my Server (Windows) and authorization process is failed, not errors and not bugs, i need debug program.... Tomorrow i will test the program
Fixed Viewer if you a intrested to testing
http://litemanager.ru/bug_test/ROMViewer_wine.zip
Thank you!
OLE error 80004002
Hi den123,
On Thu, Oct 6, 2011 at 11:53 PM, den123 <[email protected]> wrote:
strongly recommend you to report a bug to wine. If there is a simple
test case in your bug report then it is really awesome. Bugs with
source code especially simple test case usually would be fixed quickly
then those without test case. Even if the bug is not fixed, you will
probably get more information about unimplemented functions of wine
which is required for your program, maybe one function/module per bug.
If you really don't want to submit bugs, then the source code will be
your friend, feel free to checkout the source yourself:
http://wiki.winehq.org/GitWine
If you are too lazy to either check the source code or file bugs, then
this page maybe helps a little: ( OMG, you are not so lazy, aren't
you? ^_^ )
http://www.winehq.org/status
Hopes this url help for you : http://wiki.winehq.org/Bugs
Good luck!
--
Regards,
Qian Hong
-
请帮助我的å
On Thu, Oct 6, 2011 at 11:53 PM, den123 <[email protected]> wrote:
If your program works on windows but doesn't work with wine, then IHow i can know what is the a source code (or functions, dll and etc.) is unknow for the Wine? Because i can try to change code of my program for compatiblity with Wine.
strongly recommend you to report a bug to wine. If there is a simple
test case in your bug report then it is really awesome. Bugs with
source code especially simple test case usually would be fixed quickly
then those without test case. Even if the bug is not fixed, you will
probably get more information about unimplemented functions of wine
which is required for your program, maybe one function/module per bug.
If you really don't want to submit bugs, then the source code will be
your friend, feel free to checkout the source yourself:
http://wiki.winehq.org/GitWine
If you are too lazy to either check the source code or file bugs, then
this page maybe helps a little: ( OMG, you are not so lazy, aren't
you? ^_^ )
http://www.winehq.org/status
Hopes this url help for you : http://wiki.winehq.org/Bugs
Good luck!
--
Regards,
Qian Hong
-
请帮助我的å
ok i found my bug, it was be not easy...
I have a problem with functions
CryptEncrypt
CryptDecrypt
http://msdn.microsoft.com/en-us/library ... S.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 have a problem with functions
CryptEncrypt
CryptDecrypt
http://msdn.microsoft.com/en-us/library ... S.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?
qwertymn
Now i try start my server ROMServer.exe by Wine , but Wine tell me
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
What is the troubles of my serverprogramm?
Thank you guys i fix my Viewer proramm and his work good in Wine.Hi I downloaded the app from http://litemanager.com/soft/litemanager ... 2.1_en.zip, and gave it a try. For me ROMViewer.exe crashes as well. A debuglog shows it seems to choke in a simple missing regisrty-key
I'll send a patch to fix this. In the meanwhile, manually create the following DWORD key in registry under HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\ :
"InstallDate" = "1273299354"
(decimal)
Could you try if the above works for you ad well?
Now i try start my server ROMServer.exe by Wine , but Wine tell me
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
What is the troubles of my serverprogramm?
OLE error 80004002
You will have to post the terminal output for that if you want anyoneThank you guys i fix my Viewer proramm and his work good in Wine.
Now i try start my server ROMServer.exe by Wine , but Wine tell me
" The program ROMViewer.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience"
What is the troubles of my serverprogramm?
to help. Just posting the text that shows an application crashed is no
help at all. There could be many reasons for an application to crash.
John
ok i try to start prog with terminal and get log
Code: Select all
wine: Unhandled exception 0x0eedfade at address 0x0000:0x7b839fe2 (thread 0030), starting debugger...
err:seh:setup_exception_record stack overflow 960 bytes in thread 0030 eip 7bc70d40 esp 00230f70 stack 0x230000-0x231000-0x330000
Process of pid=0031 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process tid prio (all id:s are in hex)
0000000e services.exe
0000001f 0
0000001e 0
00000015 0
00000010 0
0000000f 0
00000012 winedevice.exe
0000001a 0
00000019 0
00000014 0
00000013 0
0000001b plugplay.exe
00000020 0
0000001d 0
0000001c 0
00000021 explorer.exe
00000022 0
00000023 ROMViewer.exe
00000027 0
00000026 0
00000025 0
00000024 0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'