NEED HELP: Create DLL with fprintf function but gets weird bug

 

Hello, i create a dll that write a file to specific directory, the bug happen when i run mt4 from desktop's shortcut .. it crashed the mt4, but if i run mt4 directly from windows explorer everything works perfectly.


Any idea how to solve this problem... needs help !

 

no one gives the idea yet... so i hope someone can read this post and provide idea on how to solve fprintf problem i face..

thanks a lot

 
veeco:

no one gives the idea yet... so i hope someone can read this post and provide idea on how to solve fprintf problem i face..

thanks a lot

Not without seeing your DLL code. The problem sounds as though it might be something like a buffer which is used to store a filename, and which isn't biggest enough depending on what the "current directory" is. But it's impossible to be certain without seeing the code.