🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #2200

DLL in OS/2 environment

#2200
From: sinha
Date: Mon, 24 Apr 1995 00:00
10 lines
1156 bytes
Is it possible to make a whole application ( written by using UI classes of C Set ++)
a DLL. SO that another app will just invoke a function imported to it. I was able to
make the DLL but when I try to invoke it from an *.exe with only function 
void main () { invoke_wholeApp(); } ; . The apps finds the DLL and invoke this
function, but then it fails ( in the sense, it is unable to create the PM window)
without getting any sys error msg . It seems like maybe there is a special need
to have stack-space for DLL. I was also trying to create and register windows
in the init routine of the dll, but no luck.

Thanks
Technical Details
Message-ID: <3neubs$2cgc@news-s01.ny.us.ibm.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c73c,6d54ae424dae92a5,start
X-Google-Attributes: gid10c73c,public
X-Google-Thread: f78e5,6d54ae424dae92a5,start
X-Google-Attributes: gidf78e5,public
X-Google-Thread: 10b7bb,6d54ae424dae92a5,start
X-Google-Attributes: gid10b7bb,public
From: sinha@ibm.net
Subject: DLL in OS/2 environment
Date: 1995/04/24
Message-ID: <3neubs$2cgc@news-s01.ny.us.ibm.net>
X-Deja-AN: 101492136
reply-to: sinha@ibm.net
newsgroups: de.comp.lang.c++,comp.std.c++,ctdl.lang.c++