[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV C++/C mix
From: |
Wayne Buttles |
Subject: |
Re: LYNX-DEV C++/C mix |
Date: |
Sun, 17 Aug 1997 13:39:43 -0400 (EDT) |
Before, I wrote:
> > I need a crash course on mixing C++ and C if anyone can oblige. I have a
> > C++ library that [supposedly] allows djgpp programs to use winsock. This
> > could mean a lynx for Win3.x, but only if I can find a way to mix them.
> >
> > The winsock.h that comes with it is itself written in c++. It contains
> > classes and substituting that for the normal tcp libraries results in a
> > lot of:
On Sun, 17 Aug 1997, T.E.Dickey wrote:
> I don't think there's a reliable way to call C++ from C, except (possibly)
> by adding a layer in C++ that is defined w/o classes in its interface
> (otherwise, the name-mangling produces this sort of problem).
Ahhhh, it is all coming back to me now. I have to write a set of
interface functions to access their interface library. Thanks for the
clue.
Is there anyone out there that has ever played with writing a packet
driver? If so, is there a chance that this is the other piece of making a
winsock->pktdrvr shim? http://www.rangenet.com/markiv/wsock.html
[ Back on my head... ]
Wayne
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;