Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2248 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9784 invoked from network); 9 Jun 2003 07:47:28 -0000 Received: from unknown (HELO jdi.jdimedia.nl) (212.204.192.51) by pb1.pair.com with SMTP; 9 Jun 2003 07:47:28 -0000 Received: from jdi.jdimedia.nl (jdi.jdimedia.nl [212.204.192.51]) by jdi.jdimedia.nl (8.12.4/8.12.4) with ESMTP id h597lNh5011948; Mon, 9 Jun 2003 09:47:26 +0200 Date: Mon, 9 Jun 2003 09:47:23 +0200 (CEST) X-X-Sender: derick@jdi.jdimedia.nl To: l0t3k cc: internals@lists.php.net In-Reply-To: <20030609062210.43606.qmail@pb1.pair.com> Message-ID: References: <20030609062210.43606.qmail@pb1.pair.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] VC6 question (extension related) From: derick@php.net (Derick Rethans) On Mon, 9 Jun 2003, l0t3k wrote: > i have an extension which uses a huge chunk of static data (about 1 Meg). > instead of compiling it into the extension, i set up a sub project to > compile the data into a shared object/DLL so memory could be more > efficiently used across multiple processes. in any case i exported the data > (or so i thought) from the DLL, but in the debugger all i get is NULs. is it > possible to export global variables of arbitrary type in VC6, or are we > limited to primitive types ? I don't see what this has to do with PHP at all, but anyway, you can export all kinds of types, even functions and complex data structures. Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------