Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.44/5 (2 votes)
I am currently developing some addition code as dll for one third party executable. For debug of my DLL using third party exe, I am providing executable path in debugging property.
Project property


All things are working properly unless they release new version of executable. They released new version of executable may be with updated Visual studio version or .NET framework or new thread with new component. With new executable when I run exe from my DLL solution, exe gets stop with following information:
C++
The thread 0x2778 has exited with code 255 (0xff).
The thread 0x1330 has exited with code 255 (0xff).
The thread 0x207c has exited with code 255 (0xff).
The thread 0x10e8 has exited with code 255 (0xff).
The thread 0x874 has exited with code 255 (0xff).
The thread 0x2788 has exited with code 255 (0xff).
The thread 0xef4 has exited with code 255 (0xff).
The thread 0x2548 has exited with code 255 (0xff).
The program '[8004] abc.exe' has exited with code 255 (0xff).


My last 2 hours of google give me following links but not fruitful to give a solution.

Kindly provide more information about why exe gets stop?

What I have tried:

program.exe: Native' has exited with code 255 (0xff)[^]

Native' has exited with code 3 (0x3)[^]
Posted
Updated 12-Sep-16 23:30pm
Comments
[no name] 12-Sep-16 10:26am    
Magic 8 Ball says, "Cannot predict now"
Richard MacCutchan 12-Sep-16 10:58am    
I would guess there is a bug in someone's code. However, since we have no idea what any of the code is trying to do, that's the best guess. You need to do some debugging to isolate where the error is occurring.
Richard MacCutchan 13-Sep-16 5:38am    
Updating your question without providing more information is not going to help. As I said yesterday, we have no idea what your program or libraries are doing so it is impossible to make any suggestion other than getting together with your third party and doing some debug testing.

1 solution

Using some dlls with an exe should be from the same version of Visual Studio. So use the same VS as the dlls are build on.

One minute of Google led my to such error 255 cause. It also can be some linking mismatch (static/dynamic). Maybe the other party changed it.

Send them your files and asked for comments..
 
Share this answer
 
Comments
CPallini 13-Sep-16 5:54am    
5.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900