From: paul pigott
Subject: Re: PBDLL under CA Realizer ...
'Hayseed' wrote:
>
> I have written a PBDLL compiled .DLL that works fine in a (version 4.0
> 16 bit) VisualBASIC appl. When I try to use it in an existing CA
> Realizer(CAR) appl I get the infamous "This program has performed an
> illegal operation and will be cancelled" message from Win95. Does
> anyone know if some sort of special interface is required ?? The
> CAR appl currently uses a .DLL (written in C, compiled under
> VisualBASIC C++) to do some decompressing of some files SO I know CAR
> will talk to a .DLL. Can anyone help ??
>
> I tried compiling the code 32 instead of 16 bit. I found that my
> copy of PBDLL20 was missing both WIN32API.INC and VBAPI32.INC ... I
> downloaded them from PB's ftp site ... now I'm getting a 'previously
> defined' error in WIN32API.INC at line 12710. WIM32API.INC is too
> big to edit ... so I don't know what's causing that error.
>
> help ... ???
>
> To send me Email ... remove any (anti-spam) X's in my address
> Dave Sawvel XdsawvelX@Xmindspring.comX
Well, first of all, PB/DLL 2.0 is strictly a 16-bit language. Trying to
call the 32-bit API strikes me as bit odd. I have written a PB/DLL 1.0
program that I used with CA-Realizer 2.0d in both a Windows 3.1 and W95
environment. I am currently experimenting with PB/DLL 5.0 (32-bit) and
CAR 3.0. I haven't made much headway lately due to system problems
(with my Registry, not either programming language).
Aside from making sure you have your "EXTERNAL"s properly defined and
coded (i.e. matching arguments, etc.) there are no real difficulties in
using PB/DLL with Realizer.
If you have any more explicit questions, drop me a line, and I'll see
what I can do to help.
Paul
paul.pigott@worldnet.att.net
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|