TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: James Mckenzie
from: Rob Basler
date: 1998-10-12 14:24:06
subject: Update on program

JM>Well, I used the memmove function.  The SYS1808 error
JM>disappeared, but the copy did not "work".  This was not for
JM>naught, as the program functions in three different flavors
JM>now, OS/2 (preferred), Win32bit (which I have to use at
JM>work) and 32 bit (DOS4GW) DOS.

Did you remember the & sign before the variables to pass memmove the
address of the variables and use sizeof to determine the number of bytes
to copy like:

int var1, var2;
memmove(&var1,&var2,sizeof(var1));

Rob.
___
 X SLMR 2.1a X My wife says I never listen. At least I think that's...

--- Maximus/2 3.01
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)
SEEN-BY: 396/1 632/0 371 633/210 260 267 270 371 635/506 728 639/252 670/218
@PATH: 153/290 2 716 7715 140/1 396/1 633/260 635/506 728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.