From: XdsawvelX@Xmindspring.comX ('Hayseed')
Subject: Re: PBDLL under CA Realizer ...
On Tue, 24 Mar 1998 16:06:06 GMT, XdsawvelX@Xmindspring.comX
('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 ... ???
addendum ...
I have pared the DLL source back to the minimum:
- no parameters being passed from CAR to the .DLL
- the .DLL only opens a file, writes one record, closes the file,
then returns a value & exits.
The following are the 'details' from the Win95 error:
------------------------------------------------------------------------------
CARLZ20 caused a general protection fault
in module SRCH-DLL.DLL at 0004:000008e4.
Registers:
EAX=00003817 CS=2ab7 EIP=000008e4 EFLGS=00000286
EBX=01270134 SS=0ef7 ESP=00008f10 EBP=00008f44
ECX=00000000 DS=2fef ESI=816190e8 FS=3877
EDX=00000000 ES=2fcf EDI=0000000e GS=0000
Bytes at CS:EIP:
36 ff 1e 20 00 89 56 d6 89 46 d4 66 8b 46 d4 8b
Stack dump:
0ef78f56 00003817 00000000 00000000 bff30000 00000001 8079b35c
8161cb0c 00000000 00000000 0000ffff 7fd01475 bff74277 0dc18f84
8f562ab7 38170ef7
--------------------------------------------------------------------------
>
>To send me Email ... remove any (anti-spam) X's in my address
> Dave Sawvel XdsawvelX@Xmindspring.comX
>
*** QwkNews (tm) v2.1
* [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)
|