| Author |
Message |
Mike Warren
Guest
|
Posted:
Mon Jan 03, 2005 5:13 am Post subject:
Is EWF enabled? |
|
|
Hi,
Is there any way (apart from EWF API) from a Win32 program to
find out if EWF (RAM Reg mode) is enabled?
I'm hoping there might be a registry entry I can read.
The problem with using the EWF API for me is the application that
needs this information is written in Delphi.
I also don't want the users to see a console window if I were to call
EwfMgr and examine its text output.
-Mike |
|
| Back to top |
|
 |
Slobodan Brcin (eMVP)
Guest
|
Posted:
Mon Jan 03, 2005 5:29 am Post subject:
Re: Is EWF enabled? |
|
|
Hi Mike,
HKLM\SYSTEM\ControlSet001\Services\EWF\Parameters\Protected\Volume0\Enabled
You can easily accedd dll functions from Delphi also.
Also you can redirect console output to pipe so user will never see any console created and you can parse text internaly.
First method is the simplest.
Regards,
Slobodan
"Mike Warren" <miwaNOSPAM@iprimus.com.au> wrote in message news:evouckS8EHA.3416@TK2MSFTNGP09.phx.gbl...
| Quote: | Hi,
Is there any way (apart from EWF API) from a Win32 program to
find out if EWF (RAM Reg mode) is enabled?
I'm hoping there might be a registry entry I can read.
The problem with using the EWF API for me is the application that
needs this information is written in Delphi.
I also don't want the users to see a console window if I were to call
EwfMgr and examine its text output.
-Mike
|
|
|
| Back to top |
|
 |
Mike Warren
Guest
|
Posted:
Mon Jan 03, 2005 5:44 am Post subject:
Re: Is EWF enabled? |
|
|
Hi Slobodan,
| Quote: | HKLM\SYSTEM\ControlSet001\Services\EWF\Parameters\Protected\Volume0\Enabled
You can easily accedd dll functions from Delphi also.
Also you can redirect console output to pipe so user will never see
any console created and you can parse text internaly.
First method is the simplest.
|
Thanks
-Mike |
|
| Back to top |
|
 |
KM
Guest
|
|
| Back to top |
|
 |
Mike Warren
Guest
|
Posted:
Mon Jan 03, 2005 7:10 am Post subject:
Re: Is EWF enabled? |
|
|
Hi Konstantin,
I was under the impression that a LIB file had to be compiled ito the program.
Even so, I would have to translate the headers which is more work than reading
the registry. BTW, where do I find the API files?
| Quote: | Regarding the ewfmgr (I don't really understand why you need to parse
its results
|
Oh, I don't. The registry key will do me fine. If I want more control later, I'll
go the API route.
-Mike |
|
| Back to top |
|
 |
KM
Guest
|
Posted:
Mon Jan 03, 2005 7:26 am Post subject:
Re: Is EWF enabled? |
|
|
Mike,
How about just dynamic linking (LoadLibrary/GetProcAddress)?
| Quote: | Even so, I would have to translate the headers which is more work than reading the registry.
|
Well.. This is true. No Pascal source/headers from MS available. :-(
| Quote: | BTW, where do I find the API files?
|
SP1: http://www.microsoft.com/downloads/details.aspx?FamilyId=A27234A8-14E6-4509-A8AC-572836A8B373&displaylang=en
SP2: It is in the install pacage (see in the installation menu). However, there is a known bug with the LIB from there that was not
properly built. According to MS, this had to be resolved in December last year but I failed yet to find new QFE.
So, unless you want to use two new API functions that appeared in EWF/SP2 you can go with SP1 headers/libraries.
Or, again, dynamic linking will fix everything for you.
Konstantin |
|
| Back to top |
|
 |
Richard
Guest
|
Posted:
Mon Jan 03, 2005 8:59 am Post subject:
Re: Is EWF enabled? |
|
|
Mike,
Go over to XPeFiles.com and get the 3rd party EWF Code.
A guy name Dan Goldberg I believe put together some DLL calls already so you
don't have to convert the headers.
I use these from within my shell to do a few things.
'Written by Dan Goldenberg
'Demonstrates use of the EwfWin.dll for Windows XP embedded systems.
Now write my name down so if you ever get around to converting the headers
you could shoot me a copy <grin>
Richard
"Mike Warren" <miwaNOSPAM@iprimus.com.au> wrote in message
news:u6C5blT8EHA.1524@TK2MSFTNGP09.phx.gbl...
l/xetbsewfapifunctions.asp
| Quote: |
I was under the impression that a LIB file had to be compiled ito the
program.
Even so, I would have to translate the headers which is more work than
reading
the registry. BTW, where do I find the API files?
Regarding the ewfmgr (I don't really understand why you need to parse
its results
Oh, I don't. The registry key will do me fine. If I want more control
later, I'll
go the API route.
-Mike
|
|
|
| Back to top |
|
 |
Mike Warren
Guest
|
Posted:
Tue Jan 04, 2005 1:38 am Post subject:
Re: Is EWF enabled? |
|
|
Hi Konstantin,
I just hadn't looked into it properly. :-(
Thanks
-Mike |
|
| Back to top |
|
 |
Mike Warren
Guest
|
Posted:
Tue Jan 04, 2005 1:43 am Post subject:
Re: Is EWF enabled? |
|
|
Hi Richard,
| Quote: | Go over to XPeFiles.com and get the 3rd party EWF Code.
A guy name Dan Goldberg I believe put together some DLL calls already
so you don't have to convert the headers.
I use these from within my shell to do a few things.
'Written by Dan Goldenberg
'Demonstrates use of the EwfWin.dll for Windows XP embedded systems.
|
Ok, I'll have a look at it. Thanks.
| Quote: | Now write my name down so if you ever get around to converting the
headers you could shoot me a copy <grin
|
I'll post it to xpefiles.com and place a message here if I ever do it. At the
moment I have the tools that do the job for me and can't afford the time.
-Mike |
|
| Back to top |
|
 |
|
|
|
|