Re: How can I get the local directory for my WinCE COM object?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Try GetModuleFileName()? You can pass in the hMod from your DllMain.

--
John Spaith
Development Lead, Windows CE
Microsoft Corporation

Check out the CE Networking Team Blog at http://blogs.msdn.com/cenet/.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2006 Microsoft Corporation. All rights
reserved.

"Simon L" <silangdon@xxxxxxxxxxx> wrote in message
news:1152195474.122479.258140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I've added a COM to an app - the app finds out where it is by getting
CWinApp->m_pszHelpFilePath

But my COM isn't a WinApp and can't access global variables in the host
app .. there must be an API somewhere that can return this info??

Thanks.



.



Relevant Pages

  • Re: MSMQ and MSXML in evc4 SP4
    ... This posting is provided "AS IS" with no warranties, and confers no rights. ... © 2003 Microsoft Corporation. ... > Does this mean that I cannot use MSMQ from an MFC app? ... >> Unless you have a real need to use the ActiveX stuff in MSMQ, ...
    (microsoft.public.windowsce.embedded.vc)
  • RE: OWA & IIS - HELP!!!! http: error 403
    ... name for newsgroup participation only. ... This posting is provided “AS IS” with no warranties, and confers no rights. ... © 2001 Microsoft Corporation. ...
    (microsoft.public.inetserver.iis.security)
  • RE: Certificate Store access problem
    ... Just for a quick test try setting the application pool to low and test and ... This posting is provided “AS IS” with no warranties, and confers no rights. ... © 2001 Microsoft Corporation. ...
    (microsoft.public.inetserver.iis.security)
  • Re: GPSAPI
    ... I don't know of any public website or what not where you can go for that, ... Microsoft Corporation ... This posting is provided "AS IS" with no warranties, and confers no rights. ...
    (microsoft.public.windowsce.embedded)
  • Re: How can I GetEnvironmentVariables in CE?
    ... couldn't find how to tie this into an app. ... This posting is provided "AS IS" with no warranties, and confers no rights. ... © 2003 Microsoft Corporation. ... > Developing a utilitiy that can operate at a cmd line. ...
    (microsoft.public.pocketpc.developer)