473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

DLL throwing application error

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

Oct 15 '05 #1
1 1139
David wrote:
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
Oct 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Farooq Khan | last post by:
i'm writing a class library having following code snippet. i want this class to report an error (by throwing an Exception) to the application using this class library. the problem is that within...
40
by: Kevin Yu | last post by:
is it a bad programming design to throw exception in the try block then catch it??
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
3
by: Joel D. Kraft | last post by:
I've been logging a lot of fatal errors on my site lately, and I have not been able to figure out why. First, my site has error handling pages defined globally as shown below. They are not...
4
by: Maileen | last post by:
Hi, I did a VB.NET application but i don't want to deliver the .NET framework to each of my users. Instead of this, i just would like to do a big try and catch and in case of an error is...
5
by: john.halet | last post by:
This line of code had been working with out issue, now its throwing errors. In my case I have three items in the ComboBox. If I try to change the selected index it throw the error. Earler in...
5
by: GG | last post by:
Any thoughts on designing classes wheather to throw the exception and the consumer has to capture it on try catch or wrap all the methods in a main method This is the wrap logic MainMethod{ bool...
7
by: Sek | last post by:
Hi Folks! I was pondering over a code and noticed that exception handlers were present in the private, protected as well as public methods. And, ofcourse, public methods were calling priv/prot...
4
by: shantanu | last post by:
Hi all i am trying to imolement a code to run a batch file. But its throwing error "No application is associated with the specified file for this operation" The code which i am implementing...
21
by: Chris M. Thomasson | last post by:
Is it every appropriate to throw in a dtor? I am thinking about a simple example of a wrapper around a POSIX file... ________________________________________________________________________ class...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.