Hi Team,

I have 2 questions:
1. If I create a DLL using VS 2005 for my application and then use the same DLL in some other machine which has vs 2005 redistibutables, it should work right? Please confirm.
2. I get debug assertion failed on a DLL. What could have gone wrong.. But the same DLL works in a machine which has dev version of vs 2005 installed.

Error: 
Debug Assertion Failed!!
Program:C:\Program files (x86)\ESL\ESLrun.exe
File:fprintf.c
Line:55
Expression:(str!=NULL)


---------------------------------------
This is what my application returned
Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: EslRun.exe
  Application Version:  11.20.11.0
  Application Timestamp:    4e7b402b
  **Fault Module Name:  pwsdstrm.dll**
  Fault Module Version: 0.0.0.0
  Fault Module Timestamp:   507fcbb8
  Exception Code:   4000001f
  Exception Offset: 0001d596
  OS Version:   6.1.7601.2.1.0.256.4
  Locale ID:    1033
  Additional Information 1: f37d
  Additional Information 2: f37d210bf3a358a1956bbb139642e82f
  Additional Information 3: 228c
  Additional Information 4: 228c3d94955864961950fb0ff39c5b05

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

What could have gone wrong..

Clearly you passed a null pointer to fprintf on line 55. Focus on what possible circumstances would result in that action when troubleshooting.

Thanks But How come the same DLL works with the same set of values keyed in my application on a different machine which has dev version of vs 2005? One more importan question although it might sound silly is ,for the DLLs and exe files to work in another machine Do we need vs 2005 redistributables compulsorily?

Do we need vs 2005 redistributables compulsorily?

Yes.

thanks much

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.