Solved

C++/Statistica DLL problem

Posted on 1999-01-05
1
235 Views
Last Modified: 2006-11-17
When a program loads, and it is dependant on a DLL, does it load the dll in memory at startup and then refer to it as nescessary, or does the dll only get loaded when it is required and then disposed of when finished. I would be tempted to think the first option, but I need some confirmation. My problem is that I have to write a DLL in C++ to be used by STATISTICA that returns a different set of data each time it is called, and want to use a static variable to keep track of which set I am up to. I had also considered using a temporary file, but that seems like a fair bit of hassle to go to for a test rig.
0
Comment
Question by:tgemini
1 Comment
 
LVL 7

Accepted Solution

by:
faster earned 50 total points
Comment Utility
It depends on how the dll is called by the exe, if the exe use LoadLibrary() and FreeLibrary() explicitely, you will have the 2nd case, otherwise 1st case.
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now