Re: Search path in LoadLibrary problem ...
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Tue, 25 Jul 2006 10:42:34 -0700
Please don't separately post the same message to multiple groups. It's
annoying for those of us who read several groups to see the same message
over and over, and it also leaves many orphaned threads in the archives,
making searches more frustrating, also. If you feel for some reason that
you need to post to several groups (this question does *not* require that),
list them in the To field of a *single* message, and the readers and
archivers will do the right thing.
I replied in one of your other targets...
Paul T.
"Petr Svoboda" <petr.svoboda@xxxxxxxxxxxx> wrote in message
news:uHw%23o4AsGHA.4176@xxxxxxxxxxxxxxxxxxxxxxx
Hello!
I have problem with LoadLibrary function on windows CE.
I have library, a.dll that contain b.dll library (static linked).
"a.dll" and "b.dll" library I have in \testA\ directory
(\testA\a.dll and \testA\b.dll).
And i have main executable (main.exe) program, that run "a.dll" library
in \testB directory (\testB\main.exe). "main.exe" contain
::LoadLibrary(_T("\\testA\\a.dll"));
Result of "LoadLibrary" is failed, because a.dll windows OS found,
but b.dll not...
In windows XP (or 98, 95 ...) exist SetCurrentDir(...) function, that
solve it (SetCurrentDir(_T("\\testA"))). But on windows CE don't exist it.
This is a problem. I can load library dynamically or put b.dll into
a.dll and "destroy" b.dll, but these solutions do not like me...
Thanks for answers,
Petr
.
- References:
- Search path in LoadLibrary problem ...
- From: Petr Svoboda
- Search path in LoadLibrary problem ...
- Prev by Date: Search path in LoadLibrary problem ...
- Next by Date: Re: FATSystem "BUG"?
- Previous by thread: Search path in LoadLibrary problem ...
- Next by thread: problem with active sync
- Index(es):
Relevant Pages
|