Re: trouble with making DLLs under NT with 2.00/11

From: Valery Fine (fine@bnl.gov)
Date: Tue Sep 29 1998 - 00:40:07 MEST


On 28 Sep 98 at 16:06, Peter Steinberg wrote:

> Is anyone having trouble with making shared libraries of ROOT
> classes under NT?

  Under NT (or any other WIN32 based systems - 95/98/CE) one 
may meet two kind of ROOT DLL's:

   1. Trivial case
   2. "FULL" case


  1. The trivial case is described well with Andrew Haas tutorials
     http://glast.phys.washington.edu/~haas/windows%20libraries.html

     This serves well if the user's intention is to create the 
     ONLY dynamic library and call his/her class('s) from within ROOT 
     interactive session via CINT interpreter

  2. The "trivial" case doesn't work if

       One has to call methods of the classes from his/her own DLL 
       directly (from the C/C++ program) without assistance of 
       CINT and the calling code (object/class) does belong another 
       DLL.

       For this case one has to create a so-called "Symbol Definition 
       Table" and "export/import" libraries.

       To create ones his/she may follow either Microsoft "Manuals" 
       or apply a special utility BINDEXPLIB supplied.
       The Root/test subdirectory does contain a Makefile shows how 
       this utility can be employed.

  Coming back to your question, please, can you say what is your case 
1. or 2. and what kind of problem you did meant.

  The screen "copy" of your session will be appreciated as well.
  Anyway myself have no VC++ 6.0 but the past experience with VC++ 
  4.0 and 5.0 proved one should wait the "Service Pack 1" of any MS 
  product to be safe.

                                              Valery
=================================================================
Dr. Valeri Faine (Fine)
    -------------------          Phone: +1 516 344 7806
Brookhaven National Laboratory   FAX  : +1 516 344 4206
Bldg. 510A /STAR                 mailto:fine@bnl.gov
Upton, New York, 11973-5000      http://nicewww.cern.ch/~fine
USA
                                 
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:38 MET