Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Pascal/Delphi

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Pascal/Delphi Forum for discussing Borland Delphi and Pascal coding techniques, tips and tricks.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-12-2007, 02:58 PM
ArgusMike ArgusMike is offline
Newbie
 
Join Date: Apr 2007
Posts: 1
Credits: 0
Rep Power: 0
ArgusMike is on a distinguished road
Default Delphi: 2 apps sharing the same DLL instance?

Hello,
I am not an experienced programmer. I am looking to solve the following problem:

I have a Delphi application that I will call A.EXE (standard DELPHI Form) that interfaces with a first dll that I will name B.DLL (which I can't modify the source code); basically I am sending data from A.EXE to B.DLL. So I have loaded the B.DLL library in A.EXE

hDLL := LoadLibrary('C:\VBPROJECTS\B.dll');

This part works fine and I can use all the routines in B.DLL to send date from A to B.

Now B.DLL will send me results (validation of the data I sent) from this thru another dll that I will name C.DLL which I have to implement using specific function and procedure names; I am stuck with this.

The problem is I don't know the delay before B.dll calls C.dll, as the service responsible for sending the data may delay up to a few minutes. I want my form (A.EXE) to be notified when B.dll will call C.dll and would like to 'transfer' the data from B to C to A. Is this possible? If I load C.dll as an external library in A.exe, it will not be the same instance that is called by B.dll (which I have no control over). How do I get A.exe and B.dll to use the same C.dll ?? Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delphi TMediaplayer marshmap Pascal/Delphi 2 07-31-2008 06:46 AM
Delphi 5 Apps RottenKid Pascal/Delphi 3 05-30-2007 02:16 PM
Small job - Database extraction - Delphi 7 of compliant paul. Request Services (Paid) 4 04-11-2007 11:41 AM
Windows XP hidden apps pranky Tutorials 1 01-21-2007 07:48 PM
What is Delphi? dirkfirst Pascal/Delphi 6 07-08-2006 12:11 AM


All times are GMT -5. The time now is 04:03 AM.

Contest Stats

Xav ........ 1024.41
MeTh0Dz|Reb0rn ........ 974.08
morefood2001 ........ 850.04
John ........ 841.93
WingedPanther ........ 661.52
marwex89 ........ 575.59
Brandon W ........ 456.18
chili5 ........ 292.12
orjan ........ 187.41
Steve.L ........ 181.88

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 79%

Ads