RichEdit problem with Delphi QuickReport App
RichEdit problem with Delphi QuickReport App
Hi All,
I have a proprietary Delphi application that uses QuickReports. I've gotten it to run in Wine 1.1.28-2.3-i586 running on openSUSE 11.2 64-bit. When the application runs, the TQRRichText boxes in the QuickReport don't populate with data. The only message I'm getting from Wine is "fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub"
I've used winetricks to install comctl32, allfonts, riched20, vcrun6, vcrun2003, vcrun2005, vcrun2008, mdac27 and possibly some others.
I also installed the winbind package (3.4.2-1.1.3.1 both 32 & 64 bit) in Linux which I thought would fix the ntlm stuff.
Any suggestions?
Thanks...
I have a proprietary Delphi application that uses QuickReports. I've gotten it to run in Wine 1.1.28-2.3-i586 running on openSUSE 11.2 64-bit. When the application runs, the TQRRichText boxes in the QuickReport don't populate with data. The only message I'm getting from Wine is "fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub"
I've used winetricks to install comctl32, allfonts, riched20, vcrun6, vcrun2003, vcrun2005, vcrun2008, mdac27 and possibly some others.
I also installed the winbind package (3.4.2-1.1.3.1 both 32 & 64 bit) in Linux which I thought would fix the ntlm stuff.
Any suggestions?
Thanks...
Re: RichEdit problem with Delphi QuickReport App
Do you actually have working printer? Can you print to it from notepad?fang wrote:When the application runs, the TQRRichText boxes in the QuickReport don't populate with data.
Re: RichEdit problem with Delphi QuickReport App
Yes, notepad prints just fine.
Re: RichEdit problem with Delphi QuickReport App
Where is it getting that data from? DB? Something else?fang wrote:Yes, notepad prints just fine.
Re: RichEdit problem with Delphi QuickReport App
Data comes from a Firebird database via ODBC. The database connection is working because other fields are being populated properly. It's only the RichEdit fields that are not getting data.
RichEdit problem with Delphi QuickReport App
fang wrote:
that you get?
If the output is large (>20 lines), please post the output to site like
PasteBin and post the URL instead.
Thank you.
James McKenzie
Can you run the program from the terminal and post back any informationData comes from a Firebird database via ODBC. The database connection is working because other fields are being populated properly. It's only the RichEdit fields that are not getting data.
that you get?
If the output is large (>20 lines), please post the output to site like
PasteBin and post the URL instead.
Thank you.
James McKenzie
RE: RichEdit problem with Delphi QuickReport App
This was in my original post. The only thing I get is:
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
Re: RichEdit problem with Delphi QuickReport App
Start with the new prefix and don't install any winetricks.fang wrote:I've used winetricks to install comctl32, allfonts, riched20, vcrun6, vcrun2003, vcrun2005, vcrun2008, mdac27 and possibly some others.
Re: RichEdit problem with Delphi QuickReport App
What do you mean by "the new prefix"? I'm not finding a "new" command-line option.vitamin wrote:Start with the new prefix and don't install any winetricks.fang wrote:I've used winetricks to install comctl32, allfonts, riched20, vcrun6, vcrun2003, vcrun2005, vcrun2008, mdac27 and possibly some others.
Re: RichEdit problem with Delphi QuickReport App
Delete or rename ~/.wine and reinstall your app without any winetricks.fang wrote:What do you mean by "the new prefix"? I'm not finding a "new" command-line option.vitamin wrote:Start with the new prefix and don't install any winetricks.fang wrote:I've used winetricks to install comctl32, allfonts, riched20, vcrun6, vcrun2003, vcrun2005, vcrun2008, mdac27 and possibly some others.
Re: RichEdit problem with Delphi QuickReport App
I had to run a "winetricks mdac28" in order to get the BDE (required by a Delphi application using ODBC) configured.dimesio wrote:Delete or rename ~/.wine and reinstall your app without any winetricks.fang wrote:What do you mean by "the new prefix"? I'm not finding a "new" command-line option.vitamin wrote: Start with the new prefix and don't install any winetricks.
When I run the application now I get:
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
This keeps repeating and I have to terminate the application.
RichEdit problem with Delphi QuickReport App
Please review bug 6254 for a possible fix for this problem. I am working on a better patch for implementation of this function as the current patch does not pass testing. However, the patch does implement this function so that formatting works as it does in Windows.dimesio wrote:I had to run a "winetricks mdac28" in order to get the BDE (required by a Delphi application using ODBC) configured.fang wrote:Delete or rename ~/.wine and reinstall your app without any winetricks.vitamin wrote: What do you mean by "the new prefix"? I'm not finding a "new" command-line option.
When I run the application now I get:
fixme:richedit:ME_HandleMessage EM_FORMATRANGE: stub
This keeps repeating and I have to terminate the application.
James McKenzie
Re: RichEdit problem with Delphi QuickReport App
Is this patch available to implement? If so, how?James Mckenzie wrote:Please review bug 6254 for a possible fix for this problem. I am working on a better patch for implementation of this function as the current patch does not pass testing. However, the patch does implement this function so that formatting works as it does in Windows.
James McKenzie
Thanks
RichEdit problem with Delphi QuickReport App
fang wrote:
Please do so, and run the program again from the terminal and advise of any further difficulties encountered.
Please update the bug report with your program name and vote for the bug so we can track who is experiencing problems caused by the lack of this function.
James McKenzie
I have found that the patch does not implement the function correctly through testing. The bug advises to use:James Mckenzie wrote:Is this patch available to implement? If so, how?Please review bug 6254 for a possible fix for this problem. I am working on a better patch for implementation of this function as the current patch does not pass testing. However, the patch does implement this function so that formatting works as it does in Windows.
James McKenzie
Code: Select all
winetricks riched20
Please update the bug report with your program name and vote for the bug so we can track who is experiencing problems caused by the lack of this function.
James McKenzie
Re: RichEdit problem with Delphi QuickReport App
Now I'm back to my original errors (the ntlm stuff) plus a few. Earlier, I was advised to remove all the winetricks stuff and start fresh. I had to install ODBC for the application to work at all. With the re-introduction of riched20, I get this.James Mckenzie wrote:fang wrote:
I have found that the patch does not implement the function correctly through testing. The bug advises to use:James Mckenzie wrote: Is this patch available to implement? If so, how?
Please do so, and run the program again from the terminal and advise of any further difficulties encountered.Code: Select all
winetricks riched20
Please update the bug report with your program name and vote for the bug so we can track who is experiencing problems caused by the lack of this function.
James McKenzie
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
RichEdit problem with Delphi QuickReport App
fang wrote:
James McKenzie
This needs a bug report. This may be why your program is failing. Please file a bug report for this if one does not exist.Please check the bug list to see if there is a bug report for this fixme. However, I'm not of the opinion this is causing the problem.James Mckenzie wrote:fang wrote:
Now I'm back to my original errors (the ntlm stuff) plus a few. Earlier, I was advised to remove all the winetricks stuff and start fresh. I had to install ODBC for the application to work at all. With the re-introduction of riched20, I get this.James Mckenzie wrote: I have found that the patch does not implement the function correctly through testing. The bug advises to use:
Code:
winetricks riched20
Please do so, and run the program again from the terminal and advise of any further difficulties encountered.
Please update the bug report with your program name and vote for the bug so we can track who is experiencing problems caused by the lack of this function.
James McKenzie
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
fixme:ntlm:ntlm_AcquireCredentialsHandleW AcquireCredentialsHandle: SECPKG_CRED_BOTH stub
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
err:toolbar:TOOLBAR_GetImageListForDrawing bitmap for ID 0, index 13 is not valid, number of bitmaps in imagelist: 13
James McKenzie
Re: RichEdit problem with Delphi QuickReport App
Ignore those errors, they don't have anything to do with your problem. Something else is going on here. I'm afraid you'll have to enable more logging and see what's going on.fang wrote:Now I'm back to my original errors (the ntlm stuff) plus a few.
Start with warn+all and see if there is anything obvious. If not, make it a +relay,+seh,+tid and redirect it to a file.