kopia lustrzana https://gitlab.com/sane-project/website
86 wiersze
3.7 KiB
HTML
86 wiersze
3.7 KiB
HTML
<!-- received="Tue Jun 23 02:38:25 1998 PDT" -->
|
||
<!-- sent="Mon, 22 Jun 1998 18:26:34 -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>Mon, 22 Jun 1998 18:26:34 -0400</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#187">[ date ]</a><a href="index.html#187">[ thread ]</a><a href="subject.html#187">[ subject ]</a><a href="author.html#187">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0188.html">Matto Marjanovic: "shmem in backends?"</a>
|
||
<li> <b>Previous message:</b> <a href="0186.html">Antal Novak: "Re: experimental hp backend"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0136.html">Wolfgang Kaess: "Rebuild with VisualAge C++"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Yuri Dario wrote:<br>
|
||
<br>
|
||
<i>>> #define lseek fseek</i><br>
|
||
<i>>> #define read fread</i><br>
|
||
<i>>> #define write fwrite</i><br>
|
||
<i>>> #define close fclose</i><br>
|
||
<i>>> The above 4 procs gives a warning about different params.</i><br>
|
||
<i>> lseek uses a int handle, while fseek requires a pointer to a FILE </i><br>
|
||
structure.<br>
|
||
<i>> You can't mix them.</i><br>
|
||
<br>
|
||
Yes I see, but I solved this by including <io.h>.<br>
|
||
Now I got "warnings", because the VACPP functions return "int" instead of <br>
|
||
"long".<br>
|
||
I'll check if a "long" is realy needed.<br>
|
||
<br>
|
||
<i>>>I don't want to use the "ASPIROUT" because I use the Orignal HP Adapter </i><br>
|
||
Card.<br>
|
||
<i>> AspiRout is only a SCSI message router: it allow programs to access the </i><br>
|
||
scsi<br>
|
||
<br>
|
||
I know, but I HAVE NO SCSI CARD so AspiRout is not useful for me.<br>
|
||
I use the "HPSCAN.SYS" from DANMAR, this driver I can access using <br>
|
||
Dos.Read/Write or DevIOCtl functions.<br>
|
||
<br>
|
||
<i>> download SANE 0.72 from my homepage, </i><br>
|
||
<i>> <a href="http://www.geocities.com/SiliconValley/Peaks/4320">http://www.geocities.com/SiliconValley/Peaks/4320</a></i><br>
|
||
<i>> where you can get a working DLL that could be used with your program.</i><br>
|
||
<br>
|
||
Thanks, I have downloaded all from your homepage, but all archives include <br>
|
||
only executables. I'm only interested in SANE source files.<br>
|
||
<br>
|
||
As for now I got a running program compiled and linked with VACPP.<br>
|
||
I use the scanimage.c frontend, the program will run upto the function <br>
|
||
"scan_it".<br>
|
||
There are memory corruption while running the program and I found that calls <br>
|
||
to the marcro DBG which is expanded to sane_debug(...) cause them.<br>
|
||
<br>
|
||
I have to make some changes to sane_debug.h to got it compiled maybe this <br>
|
||
cause the fault. <br>
|
||
I open a new thread on subject <br>
|
||
"sane_debug.h compile error?" or <br>
|
||
"SANE_DEBUG how does it work?".<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="0188.html">Matto Marjanovic: "shmem in backends?"</a>
|
||
<li> <b>Previous message:</b> <a href="0186.html">Antal Novak: "Re: experimental hp backend"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0136.html">Wolfgang Kaess: "Rebuild with VisualAge C++"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|