Results 1 to 3 of 3

Thread: axDLL or axEXE?

  1. #1

    Thread Starter
    Junior Member giannopo's Avatar
    Join Date
    Jan 2002
    Location
    Greece
    Posts
    27

    Exclamation axDLL or axEXE?

    Hi,

    My project is a collection of EXEs.
    Each EXE connects to a database and reads some data.
    In order to avoid a new EXE read again the data, that maybe another EXE has already read, I try to make this:

    To create a axDLL of axEXE that do the job.
    For example when an EXE needs data it send the request to the DLL/EXE.
    DLL/EXE has a dictionary. If the data is in dictionary, returns the data to EXE with no read. If it is not in dictionary, then reads data from database, store the new data in dictionary for later use, and returns the data to the EXE.

    Thanks in advance for your help.
    Elias
    elias

  2. #2
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    You will have to use the activeX .EXE. You will not be able to share data between normal .EXE's using .dll's. This is because .dll's are inprocess (running within the exe's space).

    Give me a moment to give you an example that does exactly what you want.

  3. #3
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Three Anchor Bay, Cape Town, South Africa
    Posts
    769
    Find example attatched. Note that you can not run the application when both projects are loaded in the same IDE. Thus, don't use the vbg. Open the two projects individualy.

    Try running the .exe. Open many .exe's and play.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width