Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!das-news2.harvard.edu!news2.near.net!howland.reston.ans.net!EU.net!sun4nl!cvitoa!usenet
From: nico@cvi.ns.nl@    (Nico de Boer)
Subject: VW2.0 and DLL/C connect on OS/2
Sender: usenet@cvi.ns.nl (Account for postim articles on the EUnet)
Message-ID: <1995Jun19.140053.1968@cvi.ns.nl>
Date: Mon, 19 Jun 1995 14:00:53 GMT
Reply-To: nico@cvi.ns.nl  (Nico de Boer)
Nntp-Posting-Host: cvi10272.cvi.ns.nl
Organization: EDS/CVI
X-Newsreader: IBM NewsReader/2 v1.1a
Lines: 30

Hi,

I need to approach a static library. Therefore I, following the manual, 
linked it with oe20.lib, registring the functions etc. Because this wasn't 
very successfull I made my own (simple) library but with no result either.
I also tried it the 'dll' way. Same here.

A function adding two integers gives strange results. Trying it with shorts and 
longs don't give the expected result either. Passing strings don't work and first 
copying them to the external heap makes VW quit.

I tried DLL&C connect under MS Windows, but only with Windows DLL functions.
This seems to work allright.

So what's happening here. Is it OS/2 or am I missing the point of how to pass
parameters? Can anybody give me hints and/or examples? The manuals don't
help anymore.

Oracle libraries are installed and working, so I presume DLLCC is also correctly
installed.

Thanks very much,

Nico.

--------------------------------------------------------------------------------
Nico de Boer				E-mail: nico@cvi.ns.nl
EDS/CVI				Phone: +31 (0)30 924486
PO Box 2233, 3500 GE  Utrecht		Fax: +31 (0)30 924235
The Netherlands
