Trying to run XHeader...getting errors...

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
carlos123
Newbie
Newbie
Posts: 4
Joined: Sun Sep 06, 2009 3:02 am

Trying to run XHeader...getting errors...

Post by carlos123 »

Hi there,

I am trying to run a program called XHeaders (no it does not have anything to do with adult related stuff) and am getting some errors.

Specifically wine says the following at a command prompt.

carlos@carlos-laptop:~$ wine xheaders
wine: could not load L"C:\\windows\\system32\\xheaders.exe": Module not found
carlos@carlos-laptop:~$ winedbg xheaders
Couldn't start process 'xheaders '
carlos@carlos-laptop:~$

Any suggestions?

My version of wine is....

carlos@carlos-laptop:~$ wine --version
wine-1.1.29
carlos@carlos-laptop:~$

Thanks.
Gert van den Berg

Trying to run XHeader...getting errors...

Post by Gert van den Berg »

On Sun, Sep 6, 2009 at 10:05, carlos123<[email protected]> wrote:
Hi there,

I am trying to run a program called XHeaders (no it does not have anything to do with adult related stuff) and am getting some errors.

Specifically wine says the following at a command prompt.

carlos@carlos-laptop:~$ wine xheaders
wine: could not load L"C:\\windows\\system32\\xheaders.exe": Module not found
carlos@carlos-laptop:~$ winedbg xheaders
Couldn't start process 'xheaders '
carlos@carlos-laptop:~$

Any suggestions?
Use cd to go the the directory where it is located first.

Use the full filename (pressing tab in the correct directory should
easily complete that if you are using bash as a shell)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Trying to run XHeader...getting errors...

Post by vitamin »

carlos123 wrote:carlos@carlos-laptop:~$ wine xheaders
wine: could not load L"C:\\windows\\system32\\xheaders.exe": Module not found
http://wiki.winehq.org/FAQ#run_from_terminal
carlos123
Newbie
Newbie
Posts: 4
Joined: Sun Sep 06, 2009 3:02 am

Post by carlos123 »

Thanks for the input you all but I don't think I am going to be able to run XHeaders under wine (which means no under Linux).

Too many errors cropping up. Even after istalling MONO through winetricks.

Here are some of those errors:
carlos@carlos-laptop:~/.wine/drive_c/Program Files/XHeader$ wine XHeader.exefixme:gdiplus:GdipIsStyleAvailable 0x201cc08 0 0x60e9f0 stub!

Unhandled Exception: System.NotImplementedException: The requested feature is not implemented [GDI+ status: NotImplemented]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000]
at System.Drawing.FontFamily.IsStyleAvailable (FontStyle style) [0x00000]
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily:IsStyleAvailable (System.Drawing.FontStyle)
at System.Windows.Forms.FontDialog.UpdateFontStyleListBox () [0x00000]
at System.Windows.Forms.FontDialog.OnSelectedIndexChangedFontListBox (System.Object sender, System.EventArgs e) [0x00000]
at System.Windows.Forms.ListBox.OnSelectedIndexChanged (System.EventArgs e) [0x00000]
at System.Windows.Forms.ListBox+SelectedIndexCollection.Add (Int32 index) [0x00000]
at System.Windows.Forms.ListBox.set_SelectedIndex (Int32 value) [0x00000]
at System.Windows.Forms.FontDialog.set_Font (System.Drawing.Font value) [0x00000]
at System.Windows.Forms.FontDialog.PopulateFontList () [0x00000]
at System.Windows.Forms.FontDialog..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) System.Windows.Forms.FontDialog:.ctor ()
at XHeader.Form_XHeader.InitializeComponent () [0x00000]
at XHeader.Form_XHeader..ctor () [0x00000]
at (wrapper remoting-invoke-with-check) XHeader.Form_XHeader:.ctor ()
at XHeader.Form_XHeader.Main () [0x00000]
carlos@carlos-laptop:~/.wine/drive_c/Program Files/XHeader$ sh winetricks
Unless anyone has any suggestions I will give up on using XHeaders.

Thanks again.

Carlos
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

Is this the app? http://xheader.com/
carlos123
Newbie
Newbie
Posts: 4
Joined: Sun Sep 06, 2009 3:02 am

Post by carlos123 »

Yes...that is it exactly. While I can create headers just fine using the GIMP...the XHeader application seems ideally suited to create fast headers from various templates it comes with. The first 50 templates are free. It's quite a nifty application and one which my clients would appreciate learning about. Unfortunately I can't quite show them how to use it or take advantage of it if I can't even use it myself under Linux :).

Carlos
User avatar
dimesio
Moderator
Moderator
Posts: 13205
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

It needs winetricks dotnet20 and the registry workaround described in http://bugs.winehq.org/show_bug.cgi?id=13891

It seems mostly functional, but somewhat slow.
carlos123
Newbie
Newbie
Posts: 4
Joined: Sun Sep 06, 2009 3:02 am

Post by carlos123 »

Thanks dimesio! Quite impressive that you figured this out. I mean most wine messages look like Greek to me and I am a computer programmer and web developer!

I will work with it some when I get the chance. Hopefully it's not too slow.

Thanks again!

Carlos
Locked