Home All Groups Group Topic Archive Search About
Author
17 Dec 2008 9:30 PM
BenMoshe
I use VS 2005 and develop in C# and C++ and use interoperability.
I have an application which is composed of a few components and dll's.
Problems is that sometimes, running under debugger it is stack in the middle
of the launch. Watching the output window I can see the following log when
it woks fine(it has some more lines which I neglected here for simplicity).
When its stack the last line that appears in the output window is the last
line - 1 , i.e
'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libvout_directx_plugin.dll',
Exports loaded.

Some other known facts-

1. The dll's libvout_directx_plugin.dll and  libhotkeys_plugin.dll is are
fine and located in the plugins folder as should be

2. Running without debugger it never stack

Is there any idea to this problem

Regards

Benmoshe

..

..

'VLCExample.exe': Loaded 'C:\WINXP\system32\rasadhlp.dll', Exports loaded.

'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\libvlc.dll',
Exports loaded.

'VLCExample.exe': Loaded 'C:\WINXP\system32\winmm.dll', Exports loaded.

'VLCExample.exe': Loaded 'C:\WINXP\system32\shfolder.dll', Exports loaded.

'VLCExample.exe': Unloaded 'C:\WINXP\system32\shfolder.dll'

'VLCExample.exe': Loaded 'C:\WINXP\system32\shfolder.dll', Exports loaded.

'VLCExample.exe': Loaded 'C:\WINXP\system32\userenv.dll', Exports loaded.

'VLCExample.exe': Unloaded 'C:\WINXP\system32\shfolder.dll'

'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libdshow_plugin.dll',
Exports loaded.

'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libskins2_plugin.dll',
Exports loaded.

'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libvout_directx_plugin.dll',
Exports loaded.

'VLCExample.exe': Loaded 'C:\AAAA
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libhotkeys_plugin.dll',
Exports loaded.

..

..

..

Author
18 Dec 2008 7:26 AM
Peter Duniho
On Wed, 17 Dec 2008 13:30:05 -0800, BenMoshe <benmo***@john.com> wrote:

> I use VS 2005 and develop in C# and C++ and use interoperability.
> I have an application which is composed of a few components and dll's.
> Problems is that sometimes, running under debugger it is stack in the 
> middle
> of the launch.

When you write "stack", do you really mean "stuck"?

Show quoteHide quote
> Watching the output window I can see the following log when
> it woks fine(it has some more lines which I neglected here for 
> simplicity).
> When its stack the last line that appears in the output window is the 
> last
> line - 1 , i.e
> 'VLCExample.exe': Loaded 'C:\AAAA
> Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\Debug\plugins\libvout_directx_plugin.dll',
> Exports loaded.
>
> Some other known facts-
>
> 1. The dll's libvout_directx_plugin.dll and  libhotkeys_plugin.dll is are
> fine and located in the plugins folder as should be

Define "fine".  How do you know they aren't the problem?

> 2. Running without debugger it never stack
>
> Is there any idea to this problem

You should "break" in the debugger and see what each thread is doing.  Of 
particular concern, of course, would be what any threads executing code 
you wrote and which would otherwise produce output or a GUI that you 
expect to see are doing.

Without that information, it's practically impossible to suggest what 
might wrong.

Pete
Are all your drivers up to date? click for free checkup

Author
18 Dec 2008 9:47 AM
Mirs
Thanks Mr. Duniho,
and sorry for my mistakes in English. Please follow my answres...
Regards
Benmoshe
Show quoteHide quote
> > I use VS 2005 and develop in C# and C++ and use interoperability.
> > I have an application which is composed of a few components and dll's.
> > Problems is that sometimes, running under debugger it is stack in the
> > middle
> > of the launch.
>
> When you write "stack", do you really mean "stuck"?
Yes.
>
> > Watching the output window I can see the following log when
> > it woks fine(it has some more lines which I neglected here for
> > simplicity).
> > When its stack the last line that appears in the output window is the
> > last
> > line - 1 , i.e
> > 'VLCExample.exe': Loaded 'C:\AAAA
> >
Videolan\MyVlcFormApplication-UDP\MyVlcFormApplication_Last\VLCExample\bin\D
ebug\plugins\libvout_directx_plugin.dll',
> > Exports loaded.
> >
> > Some other known facts-
> >
> > 1. The dll's libvout_directx_plugin.dll and  libhotkeys_plugin.dll is
are
> > fine and located in the plugins folder as should be
>
> Define "fine".  How do you know they aren't the problem?
First, without debugger it is never stuck. Second, I recopied thses files
just in case something is wrong but nothing is changed.
Show quoteHide quote
>
> > 2. Running without debugger it never stack
> >
> > Is there any idea to this problem
>
> You should "break" in the debugger and see what each thread is doing.  Of
> particular concern, of course, would be what any threads executing code
> you wrote and which would otherwise produce output or a GUI that you
> expect to see are doing.
>
> Without that information, it's practically impossible to suggest what
> might wrong.
>
> Pete
Author
19 Dec 2008 2:58 PM
Peter Duniho
On Thu, 18 Dec 2008 01:47:52 -0800, Mirs <m***@giron.com> wrote:

> [...]
>> > Some other known facts-
>> >
>> > 1. The dll's libvout_directx_plugin.dll and  libhotkeys_plugin.dll is 
>> are
>> > fine and located in the plugins folder as should be
>>
>> Define "fine".  How do you know they aren't the problem?
> First, without debugger it is never stuck. Second, I recopied thses files
> just in case something is wrong but nothing is changed.

Neither of those observations can prove that the DLL's aren't the problem.

Pete

Bookmark and Share