Connecting Tech Pros Worldwide Help | Site Map

DLL importing simbols from EXE

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 19th, 2005, 07:11 PM
Juan Antonio Domínguez Pérez
Guest
 
Posts: n/a
Default DLL importing simbols from EXE

Hi,
I need to import simbols and classes declared in the executable from
a dll that must be load. The idea is: the executable has declared
classes and static vars. The dll has extern references to the static
vars and the class implementation code.
In Linux/Solaris i do that without any problem, simply making the
executable export all the simbols and making a lazy load of the dll.
¿Can i do the same in Windows? ¿Any flag for compiling the exe or the
dll to solve that? ¿Must i do a second dll which contains the classes
and static vars?

Thanks in advance for your responses, although this can be an offtopic.
If so, please let me know which is the better group to post this question.


  #2  
Old July 19th, 2005, 07:11 PM
Victor Bazarov
Guest
 
Posts: n/a
Default Re: DLL importing simbols from EXE

"Juan Antonio Domínguez Pérez" <dominpe@dominpe.com> wrote...[color=blue]
> I need to import simbols and classes declared in the executable from
> a dll that must be load. The idea is: the executable has declared
> classes and static vars. The dll has extern references to the static
> vars and the class implementation code.
> In Linux/Solaris i do that without any problem, simply making the
> executable export all the simbols and making a lazy load of the dll.
> ¿Can i do the same in Windows? ¿Any flag for compiling the exe or the
> dll to solve that? ¿Must i do a second dll which contains the classes
> and static vars?
>
> Thanks in advance for your responses, although this can be an offtopic.
> If so, please let me know which is the better group to post this question.[/color]

DLLs are generally off-topic because they are not defined by the language.
The reason they are not defined is because they are different on different
platforms (out of all platforms that do have dynamic linking).

You should try a newsgroup dedicated to your platform. If it is Microsoft
Windows, see comp.os.ms-windows.programmer. If not, see which ones are
available from your Internet provider. They usually start with "comp.os."

Victor


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.