` Printed Icetips Article

Icetips Article



Clarion in general: Compiling multi-dll project into a Locally linked EXE
2005-01-11 -- Arie Rens (radventure B.v.)
 
Newsgroups: comp.lang.clarion

> All previous answers from the forum did not fix the problem:
> Somebody from Softvelocity could have an answer ?
>
> my app is :
> menu.exe
> files.dll
> browses.dll
> laser.dll
> comm.dll
> syncro.dll
>
> +4 dlls from clarion.
> How do I make it to RUN all in one exe ?
> I think it is some thing about  Staticlly Linked Library instead of DLL.

1) make a backup of all your current APP files

2) For each of the DLLs, change in the Application properties Destination
Type from Dynamic Link Library (DLL) into Library (LIB)

3) In the Project Settings, change Runtime Library from Stand Alone into
Local

4) In all applications, switch to Module view and change all modules of
type External Dynamic Link Libraries (DLL) into type External Library
Module (LIB)

5) recompile all applications 'bottom-up', so make sure if an application
is using procedures or data from another application, the other
application is compiled first (so start with files.app and end with
menu.exe). If you have doubts about the correct order, remove files.lib,
browses.lib, laser.lib, comm.lib and syncro.lib before you start
recompiling any application. This will make sure that you keep the correct
order.

HTH

--
Arie Rens (RADventure B.V.)
Maarssen, the Netherlands
http://www.radventure.nl
SoftVelocity Distributor for the Benelux



Printed May 2, 2024, 5:43 pm
This article has been viewed/printed 35123 times.
Google search has resulted in 145 hits on this article since January 25, 2004.