sane-project-website/old-archive/1998-06/0153.html

93 wiersze
3.6 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Thu Jun 18 14:32:37 1998 PDT" -->
<!-- sent="Thu, 18 Jun 1998 17:28:46 -0400" -->
<!-- name="Wolfgang Kaess" -->
<!-- email="100346.2055@compuserve.com" -->
<!-- subject="Re: Rebuild with VisualAge C++" -->
<!-- id="" -->
<!-- inreplyto="Rebuild with VisualAge C++" -->
<title>sane-devel: Re: Rebuild with VisualAge C++</title>
<h1>Re: Rebuild with VisualAge C++</h1>
<b>Wolfgang Kaess</b> (<a href="mailto:100346.2055@compuserve.com"><i>100346.2055@compuserve.com</i></a>)<br>
<i>Thu, 18 Jun 1998 17:28:46 -0400</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#153">[ date ]</a><a href="index.html#153">[ thread ]</a><a href="subject.html#153">[ subject ]</a><a href="author.html#153">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0154.html">Mark Dennehy: "Sane at high framerates ?"</a>
<li> <b>Previous message:</b> <a href="0152.html">Matto Marjanovic: "Re: AGFA ARCUS PLUS"</a>
<li> <b>Maybe in reply to:</b> <a href="0136.html">Wolfgang Kaess: "Rebuild with VisualAge C++"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0155.html">Yuri Dario: "Re: Rebuild with VisualAge C++"</a>
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Hello Yuri,<br>
<br>
<i>&gt;&gt; Will it be posible to rebuild the sane files with VisualAge C++ ?</i><br>
<br>
<i>&gt; yes, I have compiled SANE also using VAC++ for OS/2, because I needed a </i><br>
good<br>
<i>&gt; (and well known) debugger; but I have compiled only the core files and a </i><br>
couple of<br>
<i>&gt; backends. That's because most backends require too much work for porting to </i><br>
VAC++. <br>
<i>&gt; EMX requires only a fewchanges, already included in the official SANE </i><br>
distribution.<br>
<br>
in the meantime I got it compiled using VAC++.<br>
I have to add the following to the sane\config.h:<br>
<br>
#ifndef INC_OS2_H<br>
# define INCL_DOSFILEMGR<br>
# define INCL_DOS<br>
# define INCL_DOSDEVICES<br>
# define INCL_DOSDEVIOCTL<br>
# define INCL_DOSSEMAPHORES<br>
# define INCL_DOSMEMMGR<br>
# include &lt;os2.h&gt;<br>
#endif<br>
<br>
#define MAXPATHLEN CCHMAXPATH<br>
#define u_int unsigned int<br>
#define w_char int<br>
#define u_char unsigned char<br>
#define u_long unsigned long<br>
<br>
#define lseek fseek<br>
#define read fread<br>
#define write fwrite<br>
#define close fclose<br>
<br>
The above 4 procs gives a warning about different params.<br>
As for now I got a runing exe but not a running program.<br>
I don't want to use the "ASPIROUT" because I use the Orignal HP Adapter Card.<br>
<br>
Have you also trouble with above 4 procs ?<br>
<br>
I don't understand how I could compile/link a backend to my exe.<br>
Trying to build a DLL or compile and static linking faild with<br>
"unresolved externals" ?<br>
Now I have changed sane_backend.h and define all "sane_XXXX" procs in my<br>
backend *.h file will work, but I think this it not the way to go.<br>
<br>
Wolfgang Kaess<br>
***<br>
<p>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0154.html">Mark Dennehy: "Sane at high framerates ?"</a>
<li> <b>Previous message:</b> <a href="0152.html">Matto Marjanovic: "Re: AGFA ARCUS PLUS"</a>
<li> <b>Maybe in reply to:</b> <a href="0136.html">Wolfgang Kaess: "Rebuild with VisualAge C++"</a>
<!-- nextthread="start" -->
<li> <b>Next in thread:</b> <a href="0155.html">Yuri Dario: "Re: Rebuild with VisualAge C++"</a>
<!-- reply="end" -->
</ul>