DLL throwing application error

D

David

Hi,
I am developing following
1. WIN32 DLL using Microsoft .NET VC++
2. Win32 EXE using Visual Studio VC 6.0
---------------------------------------
My exe linking this DLL using EXPLICIT link method. I am facing one
issue in which my EXE application throws application needs to be closed
error and when I check into the Debug I see that my DLL thread location
was 00000000.
This is happening when my application was calling one function, (which
in turn calls API s from DLL)
So to test whether issue with the DLL, I moved the that function inside
the DLL and called from test application, and it worked.
but I cannot do that for final release. So could someone explained what
could be wrong, why DLL thread location was 000000 ?

-David
 
V

Victor Bazarov

David said:
I am developing following
1. WIN32 DLL using Microsoft .NET VC++
2. Win32 EXE using Visual Studio VC 6.0
---------------------------------------
My exe linking this DLL using EXPLICIT link method. I am facing one
issue in which my EXE application throws application needs to be
closed error and when I check into the Debug I see that my DLL thread
location was 00000000.
This is happening when my application was calling one function, (which
in turn calls API s from DLL)
So to test whether issue with the DLL, I moved the that function
inside the DLL and called from test application, and it worked.
but I cannot do that for final release. So could someone explained
what could be wrong, why DLL thread location was 000000 ?

None of this is relevant in this newsgroup. Please ask in a forum
where DLL, EXE, .NET, VC++, thread, are on topic, I recommend the
'comp.os.ms-windows.programmer.win32' or one of 'microsoft.public.*'
hierarchy.

V
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,773
Messages
2,569,594
Members
45,124
Latest member
JuniorPell
Top