Re: Write-once with DLL shared memory
From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 12/04/04
- Next message: Gary Chang[MSFT]: "RE: detecting cached credentials on NT/2K/XP/03"
- Previous message: Doron Holan [MS]: "Re: IgnoreHWSerNum redux"
- In reply to: Tim Crews: "Re: Write-once with DLL shared memory"
- Next in thread: alarix: "Re: Write-once with DLL shared memory"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 3 Dec 2004 23:57:14 -0500
"Tim Crews" <tim.crews.nospambots@gecoinc.com> wrote in message
news:MPG.1c1a77048efe5794989699@news.cox.net...
>
> Now I have a further mystery. I just ran dumpbin on my DLL, only to find
out
> that there was no Shared section in my Release version of the DLL. Only
the
> Debug version had the Shared section. Apparently, even though I thought I
was
> launching the Debug version, I was launching the Release version, which
was not
> properly sharing the data. A rebuild of the Release version fixed my
problem.
>
> However, that leads to a second question: If the data _wasn't_ shared,
how did
> I get the inter-process synchronization to work, even once? I am quite
sure of
> this. I have confirmed it a dozen different ways, including with loud
> annoying Beeps. The first time I set the (apparently un-shared) flag, the
> destination process did see the flag being set, and it beeped in response.
>
> Hmmmmm. I suppose you don't believe me. Things like that are easy to not
> believe.
I believe you but I have no idea what was happening. Sometimes it's not
easy to account for what a program does when it's tripping over a bug.
-- -GJC [MS Windows SDK MVP] -Software Consultant (Embedded systems and Real Time Controls) - http://www.mvps.org/ArcaneIncantations/consulting.htm -gchanson@mvps.org
- Next message: Gary Chang[MSFT]: "RE: detecting cached credentials on NT/2K/XP/03"
- Previous message: Doron Holan [MS]: "Re: IgnoreHWSerNum redux"
- In reply to: Tim Crews: "Re: Write-once with DLL shared memory"
- Next in thread: alarix: "Re: Write-once with DLL shared memory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|