By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,691 Members | 1,134 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,691 IT Pros & Developers. It's quick & easy.

opening same dll twice

P: n/a
I have a situation where an application is present in the form of one
dll. The interface to the application is an api. The code update some
global data structures. This dll comes as third party tool.

Now, I want two such sub-systems to run in my application. For this I
need two separate contexts of the same dll. Is it possible to re-open
the same dll twice, so that two memory areas will be allocated to the
differently allocated dlls, which helps me run the same code in two
contexts.

Mar 6 '07 #1
Share this Question
Share on Google+
8 Replies


P: n/a

trooper wrote:
I have a situation where an application is present in the form of one
dll.
<snip>

This group deals only with ISO C that has no concept of DLLs. Try a
Windows group like comp.os.ms-windows.programmer.win32 or one of the
microsoft.* groups.

Mar 6 '07 #2

P: n/a
oho to add, I need such thing in linux ..

Mar 6 '07 #3

P: n/a
trooper wrote, On 06/03/07 11:17:
oho to add, I need such thing in linux ..
What makes you think Linux will be any more topical than Windows? I know
you saw Santosh's reply since you are replying to it.
--
Flash Gordon
Mar 6 '07 #4

P: n/a
trooper wrote:
>
.... snip ...
>
Now, I want two such sub-systems to run in my application. For
this I need two separate contexts of the same dll. Is it possible
to re-open the same dll twice, so that two memory areas will be
allocated to the differently allocated dlls, which helps me run
the same code in two contexts.
What's a dll? "grep dll /stds/n869.txt" produces no output.

--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>

"A man who is right every time is not likely to do very much."
-- Francis Crick, co-discover of DNA
"There is nothing more amazing than stupidity in action."
-- Thomas Matthews
Mar 6 '07 #5

P: n/a
CBFalconer <cb********@yahoo.comwrites:
trooper wrote:
>>
... snip ...
>>
Now, I want two such sub-systems to run in my application. For
this I need two separate contexts of the same dll. Is it possible
to re-open the same dll twice, so that two memory areas will be
allocated to the differently allocated dlls, which helps me run
the same code in two contexts.

What's a dll? "grep dll /stds/n869.txt" produces no output.
Try google.
Mar 10 '07 #6

P: n/a
"Richard" <rg****@gmail.comschrieb im Newsbeitrag
news:87************@gmail.com...
CBFalconer <cb********@yahoo.comwrites:
>trooper wrote:
>>>
... snip ...
>>>
Now, I want two such sub-systems to run in my application. For
this I need two separate contexts of the same dll. Is it possible
to re-open the same dll twice, so that two memory areas will be
allocated to the differently allocated dlls, which helps me run
the same code in two contexts.

What's a dll? "grep dll /stds/n869.txt" produces no output.

Try google.
What CBFalconer was trying to tell trooper in his inimitable way is that
DLLs are off-topic in this group, as they're not part of the C standard.

Bye, Jojo
Mar 10 '07 #7

P: n/a
On Sat, 10 Mar 2007 00:58:17 +0100, in comp.lang.c , Richard
<rg****@gmail.comwrote:
>CBFalconer <cb********@yahoo.comwrites:
>trooper wrote:
>>to re-open the same dll twice, so that two memory areas will be
allocated to the differently allocated dlls,

What's a dll? "grep dll /stds/n869.txt" produces no output.

Try google.
*whoosh*.
--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
Mar 10 '07 #8

P: n/a
In article <%n****************@news.cpqcorp.net>,
Joachim Schmitz <no************@hp.comwrote:
>"Richard" <rg****@gmail.comschrieb im Newsbeitrag
news:87************@gmail.com...
>CBFalconer <cb********@yahoo.comwrites:
>>trooper wrote:

... snip ...

Now, I want two such sub-systems to run in my application. For
this I need two separate contexts of the same dll. Is it possible
to re-open the same dll twice, so that two memory areas will be
allocated to the differently allocated dlls, which helps me run
the same code in two contexts.

What's a dll? "grep dll /stds/n869.txt" produces no output.

Try google.
>What CBFalconer was trying to tell trooper in his inimitable way is that
DLLs are off-topic in this group, as they're not part of the C standard.
No shit, Sherlock?

(aka) Whoosh!!

Mar 10 '07 #9

This discussion thread is closed

Replies have been disabled for this discussion.