Click here to Skip to main content
16,017,151 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiondatagridview ? Pin
moomoooomoo1-Oct-07 3:47
moomoooomoo1-Oct-07 3:47 
AnswerRe: datagridview ? Pin
Dave Kreskowiak1-Oct-07 4:10
mveDave Kreskowiak1-Oct-07 4:10 
GeneralRe: datagridview ? Pin
moomoooomoo1-Oct-07 4:21
moomoooomoo1-Oct-07 4:21 
GeneralRe: datagridview ? Pin
Dave Kreskowiak1-Oct-07 5:46
mveDave Kreskowiak1-Oct-07 5:46 
QuestionCurrent user input language Pin
Proqrammer1-Oct-07 3:15
Proqrammer1-Oct-07 3:15 
AnswerRe: Current user input language Pin
Gary Bigman1-Oct-07 5:14
Gary Bigman1-Oct-07 5:14 
QuestionCommunication between dlls Pin
Jens Johanneson1-Oct-07 2:58
Jens Johanneson1-Oct-07 2:58 
AnswerRe: Communication between dlls Pin
Dave Kreskowiak1-Oct-07 4:07
mveDave Kreskowiak1-Oct-07 4:07 
Jens Johanneson wrote:
Is there a way to send a message from one dll to other dlls which is NOT compiled in the same exe file?


DLL's do not run independantly of the host application, so in the strictest sense of your question, no, there isn't.

Code loaded from a DLL becomes part of the .EXE's code, just like the DLL was compiled into the .EXE.

Since you're trying to talk to another plugin, you actually trying to talk to another part of the code in the app. The problem is that the plugin system has to expose functionality that allows communication and data passing between plugins. Unless the host app facilitates this, you can't talk to another plugin at all.

The only other way to do this would be to write a plugin that inmplements this functionality, and then your plugin would have to host the same plugin environment that loads the app's plugs. Kind of like a shim that sits between the host app's plugin environment and the plugins themselves.

But, since they can't tell you anything about their plug-in environment, you're out of luck this way too.

Without any information comming from the company that wrote the app, there's nothing you can do to implement this.

Jens Johanneson wrote:
Any suggestion how the third party system "loads" the dll's?


There's no standard "plugin interface" to use. The implementation is entirely up to the people who wrote it.


Jens Johanneson wrote:
Am I able to "connect" to its namespace/work processes to see which dll's it runs?


Not unless that plugin manager exposes this information to you, no.


Jens Johanneson wrote:
Can I use the references in the XML file to get hold of loaded dlls?


This won't give you anything on getting the running instance of the other .DLL's, no.


Jens Johanneson wrote:
I'd rather not have a "poor coders" solution with temp files or status flags in the registry. I would like to see some kind of dll message switch - is there any?


Again, ONLY if the plugin manager in the app exposes this to you. Somehow, I doubt they did.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


GeneralRe: Communication between dlls Pin
Jens Johanneson1-Oct-07 7:14
Jens Johanneson1-Oct-07 7:14 
GeneralRe: Communication between dlls Pin
Dave Kreskowiak1-Oct-07 12:00
mveDave Kreskowiak1-Oct-07 12:00 
QuestionResizing a form to suit the resolution Pin
Mr Oizo1-Oct-07 1:23
Mr Oizo1-Oct-07 1:23 
AnswerRe: Resizing a form to suit the resolution Pin
Christian Graus1-Oct-07 1:30
protectorChristian Graus1-Oct-07 1:30 
GeneralRe: Resizing a form to suit the resolution Pin
Mr Oizo1-Oct-07 5:16
Mr Oizo1-Oct-07 5:16 
GeneralRe: Resizing a form to suit the resolution Pin
Christian Graus1-Oct-07 11:04
protectorChristian Graus1-Oct-07 11:04 
GeneralRe: Resizing a form to suit the resolution Pin
Mr Oizo2-Oct-07 11:22
Mr Oizo2-Oct-07 11:22 
Questionhow to clear an array? Pin
moomoooomoo1-Oct-07 1:12
moomoooomoo1-Oct-07 1:12 
AnswerRe: how to clear an array? Pin
Luc Pattyn1-Oct-07 1:27
sitebuilderLuc Pattyn1-Oct-07 1:27 
AnswerRe: how to clear an array? Pin
Gary Bigman1-Oct-07 4:24
Gary Bigman1-Oct-07 4:24 
Questionstring function Pin
moomoooomoo1-Oct-07 0:56
moomoooomoo1-Oct-07 0:56 
AnswerRe: string function Pin
Tamimi - Code1-Oct-07 1:00
Tamimi - Code1-Oct-07 1:00 
GeneralRe: string function Pin
moomoooomoo1-Oct-07 1:04
moomoooomoo1-Oct-07 1:04 
Questionupdating a form Pin
Mr Oizo1-Oct-07 0:27
Mr Oizo1-Oct-07 0:27 
AnswerRe: updating a form Pin
Tom Deketelaere1-Oct-07 1:11
professionalTom Deketelaere1-Oct-07 1:11 
GeneralRe: updating a form Pin
Mr Oizo1-Oct-07 1:18
Mr Oizo1-Oct-07 1:18 
GeneralRe: updating a form Pin
Tom Deketelaere1-Oct-07 1:34
professionalTom Deketelaere1-Oct-07 1:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.