🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.algorithms
Article #18

IJG JPEG Engine and Win32

#18
From: Jumpstile Turner
Date: Wed, 03 Jan 1996 19:48
27 lines
1976 bytes
  Hi all.  Has anyone successfully compiled and linked the IJG JPEG engine 
with a Win32 compiler?  I can compile it fine and the resulting LIB file works 
great when linking it into the included test applications; however, if I try 
to link it with my GUI apps I get some really odd errors.   It links fine but 
doesn't work! I'm using Borland C++ 4.52 (maybe this is my problem. (-: )    
Basically stepping through with the debugger there is an assignment statement 
in one of the modules that just doesn't do anything.  I mean nothing.  If I do 
the assignment by hand with the debugger it works.  For example, the 
assignment is as follows:

 cinfo->output_width = cinfo->image_width;

cinfo->output_width is 0 and cinfo->image_width is say 289.  After the above 
assignment nothing changes.   I'm far from a c++ expert and I've never 
encountered something like this before.  If someone has compiled this lib 
under Win32 I'd appreciate it if they could mail it my way.  I'd like to see 
if its my compiler settings or just my ignorance. ;)   The big problem I can't 
figure is that the compiled lib works fine linked with the test programs.  I 
tried copying the code from the examples line for line but it just won't work 
under the GUI.

                       -Scott
------------------------------------------------
Jumpstile Turner
fortunat@interpath.com
"Sing the Hare Hare, Dance the Hoochie Koo..."
------------------------------------------------
Technical Details
Message-ID: <4cemir$6vb@redstone.interpath.net>
Path: arc1-ca.pugleaf.net!redstone.interpath.net!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!redstone.interpath.net!usenet
From: fortunat@interpath.com (Jumpstile Turner)
Newsgroups: comp.graphics.algorithms,comp.lang.c++,comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.multimedia,comp.os.ms-windows.programmer.win32
Subject: IJG JPEG Engine and Win32
Date: 3 Jan 1996 19:48:43 GMT
Organization: Completely unorganized
Message-ID: <4cemir$6vb@redstone.interpath.net>
NNTP-Posting-Host: fortunat.pdial.interpath.net
X-Newsreader: WinVN 0.99.7