For Programmers: Free Programming Magazines  


Home > Archive > Clarion > July 2005 > DLL Blues









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author DLL Blues
Framp

2005-07-26, 4:59 pm

Hi,

I want to inhibit Clarion runtime from the default behavior of loading
all dll's in my app at startup. I want to load one particular dll myself (i
have the
code already to go). I just cannot figure out how to tell Clarion "do not
load
this DLL - I will do it myself"). Is it just a matter of not referencing the
functions
in the code ? Hope so.

Theo


Hambone

2005-07-26, 4:59 pm

Framp -

As Earl said to Scott on that previous message, you will definitely
have more response if you use news.softvelocity.com as the news server
when posting to comp.lang.clarion.

To respond to your message, you can easily do what you want by using
loadlibrary() and other API calls. Larry Sand wrote an excellent trio
of articles for loading DLLs at run time:

http://www.clarionmag.com/cmag/sear...bmit=Find+It%21

Hope this helps.

I use Larry's class in a small .EXE file that serves as a "splash
screen". While the splash screen is showing, I'm busy in the
background loading the .DLLs that I need.

On Tue, 26 Jul 2005 10:27:36 -0500, "Framp" <arbamail@mastermode.com>
wrote:

>Hi,
>
>I want to inhibit Clarion runtime from the default behavior of loading
>all dll's in my app at startup. I want to load one particular dll myself (i
>have the
>code already to go). I just cannot figure out how to tell Clarion "do not
>load
>this DLL - I will do it myself"). Is it just a matter of not referencing the
>functions
>in the code ? Hope so.
>
>Theo
>


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com