[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-09-27 Thread SourceForge . net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: keithmarshall

[quote]The problem as I understand it is that MS interprets the ANSI C99 
standard
to say that tmpfile should create the file in the root directory `C:\'.[/quote]

No, that isn't strictly correct.

Microsoft's tmpfile() implementation has [b]always[/b] been -- to say the least
-- odd.  It will usually prefix a single backslash to the generated unique
file name.  However, this does [b]not[/b] imply that the file should be created
in the root (C:\) directory; according to the MS documentation on MSDN, it 
indicates
that the file may be safely created [b]in the current working directory[/b],
but the onus is placed on the programmer, to adjust the returned path name
accordingly.

[quote]I am afraid the burden is on the programmer to be aware of this issue,
including for Windows XP limited users, not just Vista and Windows 7.[/quote]

That burden applies for [b]all[/b] MS-Windows versions, from the dawn of 
MS-Windows
time, not just to XP and later.  There are many -- myself among them -- who
have been bitten by this quirky behaviour, and consider it to be broken.  
However,
it is as documented, so technically it isn't a bug; we just have to live with
and work around it.

[quote]You may want to download a copy of glibc version 2.14 and look at
libio/stdio.h.  You probably compiled using mingw stdio.h[/quote]

Well, that's standard behaviour for MinGW -- it uses Microsoft's runtime 
services
[b]by design[/b].  A study of the glibc implementation (as used by Linux?) may
be instructive, but it's hardly relevant in the MinGW context.

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-09-16 Thread SourceForge . net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: mz2ptc0

Using a fixed file name for a temp file can raise security concerns but maybe
you should submit this to the package author anyway. His name is Martin Kröker
m...@daveg.com or mar...@ruby.chemie.uni-freiburg.de . I am not clear about
your build platform details or your Windows 7 (?) version.

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-09-15 Thread SourceForge . net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: clausmeister

hey all,

got a bit of time today to look into this and I successfully compiled it using
the source and description provided by raysatiro ([b]BIG THANKS[/b]). did the
png support, works; also got the jmpbuf warning but ignored this. in hp2xx.c,
changed
line 693 from [code]if ((pg-td = tmpfile()) == NULL)[/code] to [code]if 
((pg-td
= fopen(hp2xx.$$$, w+b)) == NULL)[/code]. so.. works now for me too.

thanks for this thread guys. 
claus

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Doing More with Less: The Next Generation Virtual Desktop 
What are the key obstacles that have prevented many mid-market businesses
from deploying virtual desktops?   How do next-generation virtual desktops
provide companies an easier-to-deploy, easier-to-manage and more affordable
virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-09-03 Thread SourceForge . net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: clausmeister

hello shinysurfer, hello all,

I am also having troubles getting hp2xx to run on win7 64 bit (hp2xx -- opening
temporary file: Invalid argument). Unfortunately I am not very familiar with
c++ and compiling, so I'm asking whether you were so kind as to provide the
working hp2xx.exe or giving a brief description what you changed and how you
compiled it to make it run under win7.

thanks,
claus

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-04-05 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: shinysurfer

jay,

 I have downloaded your files and I am attempting a compile with tif support.
I have to_tif.c but it is referencing tiffio.h, which I can't seem to find
anywhere. Any suggestions?

Thanks
tom


_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-04-05 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: mz2ptc0

I have the Gnuwin tiff package installed (version 3.8.2) but you may want to
build the latest version (3.9.4) yourself. The development header files are
included in the Windows installer version of the Gnuwin package. Then you could
edit the Makefile to build against the Gnuwin tiff binaries.

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-04-05 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: shinysurfer

thanks Allan.  I just found tiff-3.7.2-src.zip. This matches the version of
the tiff dll we are using on XP
(libtiff3.dll ver .7.2.1953). 

Anyway, I was able to compile and link a new hp2xx.exe that works for us on W7.

Thanks all
Tom 

_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-03-28 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: raysatiro

I started writing a tmpfile() replacement. I didn't have a chance yet to look
into why hp2xx might be failing on Windows 7 x64. What you can do is try 
changing
the source to use hp2xx.$$$ as your tempfile. Refer to hp2xx.c:659
HPGL_to_TMP().

For now I've uploaded the modified source I use and included the libpng/zlib
binaries for png support.
You should be able to compile from rxvt or the command prompt, however hp2xx
has output problems in rxvt.
Read the README-FIRST.txt and png14/README.txt
http://sourceforge.net/projects/getgnuwin32/files/getgnuwin32/test%20builds/

My make was successful, I used tdm build of gcc to test the make.
[code]gcc.exe (tdm-1) 4.5.1
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[/code]
I only had one warning for deprecated jmpbuf, you can ignore that


_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users


[GnuWin32-Users] [gnuwin32 - Help] RE: hp2xx fails in windows 7

2011-03-25 Thread SourceForge.net

Read and respond to this message at: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351
By: raysatiro

Compiling hp2xx in mingw required some changes if I remember right. I had to
make a makefile for it. My version had png support but not tiff. It's old though
like two years. I'll probably write a replacement tmpdir(). Really a big issue
is we should have temporary files first in temp tmp tmpdir if possible. I'll
look into it this weekend.


_
You are receiving this email because you elected to monitor this topic or 
entire forum.
To stop monitoring this topic visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/topic/4425351/unmonitor
To stop monitoring this forum visit: 
https://sourceforge.net/projects/gnuwin32/forums/forum/74807/unmonitor

--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
GnuWin32-Users mailing list
GnuWin32-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuwin32-users