.dll doesn't work under XP

Hello!

I've written a straightforward .dll for a program that I use (VISSIM) and testing it on Win2000 succeeds, but when I try that under XP the program (VISSIM) won't accept the .dll.

I've programmed other .dll's that run on both systems, but this one doesn't work.
So I wanted to ask, what can be wrong with my code, so that XP doesn't accept it. (The XP-PC is a Dualcore and the Win2000 is singlecore)

Shall I post the code here? It´s about 5 pages.
Is it Windows XP 32bit or 64bit?
It's most likely the 2k DLL is calling some function that doesn't exist in XP. This would be pretty odd, since 2k is also based on the NT kernel.
It's 32 bit. I can make a list of functions in my .dll that could cause this:

1) std::ofstream file
for(int i = 0; i < sizeX; i++)
{
for(int j = 0; j < sizeY; j++)
{

file << TTCworldCoord[i][j] << ", ";
}
}
file << endl;

When I remote this function of my dll, it works.
Last edited on
What WIN32 Error Code does LoadLibrary return?
Topic archived. No new replies allowed.