TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Dan Larson
from: Dean Roddey
date: 1994-11-17 05:37:30
subject: 16-Bit To 32-Bit Callbac

Thanks Dan for your msg about 16-BIT TO 32-BIT CALLBAC, on 12
11-12-1994

DL> This compiler thinks the void * parameter is 32-bit and 
DL> will thunk it from 32 t
DL> 
DL> 16 even though it is already actually 16 bit since the dll 
DL> is passing it to the
DL> c

The pointer IS 32 bit unless you say otherwise by giving it the
_Seg16 attribute. So if the parameter is 16 bit, then give it that
attribute. That should fix the problem.

DL> I am using IBM Cset++ 2.01. Maybe I am doing something wrong,
DL> but the IS my first attempt at modifying headers from and
DL> existing 16-bit DLL. So far I have changed all func prototypes
DL> from far pascal to _Far16  _Pascal, then all pointer 

What were the 16 bit .Dlls written in?

___
 X KWQ/2 1.2b X If at first you don't succeed, put it out for beta test (KWQ Beta

--- Maximus/2 2.02

* Origin: Fernwood - your source for OS/2 files! (1:141/209)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 141/209 270/101 396/1 3615/50 229/2 12/2442 711/409 54/54 711/808 809
@PATH: 711/934

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™.