MT build 190 bug?

 
Hi, I posted this quite a time ago on Alpari, no effective response.

Apologies, I thought it was much the same:
NB: I use experts with DLL imports, the Dll then call some COM functions. I now can still run when I restore the build 185.


There has been a critical error
Time : 2006.02.08 09:45
Program : Client Terminal
Version : 4.00 (build: 190, 6 Feb 2006)
Owner : Alpari Ltd. (MetaTrader - Alpari)
OS : Windows 2000 Server 5.0 Service Pack 4 (Build 2195)
Processors : 2, type 586, level 15
Memory : 1031660/431528 kb
Exception : C0000005
Address : 00462100
Access Type : read
Access Addr : 00000008

Registers : EAX=00000000 CS=001b EIP=00462100 EFLGS=00010246
: EBX=00000008 SS=0023 ESP=0980BC90 EBP=011B81B0
: ECX=00000000 DS=0023 ESI=00000000 FS=0038
: EDX=07C0C220 ES=0023 EDI=00000000 GS=0000

Stack Trace : 00000000 E5400000 C70C468A 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
Modules :
1 : 00400000 00285000 D:\dungpq\save\fx\MetaTrader 4\terminal.exe
2 : 0A700000 00007000 D:\dungpq\save\fx\MetaTrader 4\experts\libraries\mtguru1.dll
3 : 0A820000 00044000 D:\dungpq\save\fx\MetaTrader 4\experts\scripts\C++\dzGeneralTrade\Debug\dzGener alTrade.dll
4 : 10000000 00007000 D:\Program Files\Copernic Desktop Search\CopernicDesktopSearchSystem644.dll
5 : 60000000 00045000 C:\WINNT\system32\MSCTF.dll
6 : 60300000 00007000 D:\Program Files\Yahoo!\Messenger\idle.dll
7 : 6B2C0000 00005000 C:\WINNT\system32\MSIMG32.dll
8 : 6C370000 000FB000 C:\WINNT\system32\MFC42.DLL
9 : 70A70000 00066000 C:\WINNT\system32\SHLWAPI.dll
10 : 71710000 00084000 C:\WINNT\system32\COMCTL32.dll
11 : 74FD0000 0001E000 C:\WINNT\system32\msafd.dll
12 : 75010000 00007000 C:\WINNT\System32\wshtcpip.dll
13 : 75020000 00008000 C:\WINNT\system32\WS2HELP.DLL
14 : 75030000 00014000 C:\WINNT\system32\WS2_32.dll
15 : 76B30000 0003E000 C:\WINNT\system32\comdlg32.dll
16 : 770C0000 00023000 C:\WINNT\system32\CSCDLL.DLL
17 : 77570000 00030000 C:\WINNT\system32\WINMM.dll
18 : 77840000 0003E000 C:\WINNT\system32\cscui.dll
19 : 779B0000 0009B000 C:\WINNT\system32\OLEAUT32.dll
20 : 77D30000 00078000 C:\WINNT\system32\RPCRT4.dll
21 : 77E10000 00069000 C:\WINNT\system32\USER32.DLL
22 : 77F40000 0003C000 C:\WINNT\system32\GDI32.dll
23 : 77F80000 0007C000 C:\WINNT\system32\ntdll.dll
24 : 78000000 00045000 C:\WINNT\system32\MSVCRT.DLL
25 : 7C2D0000 00065000 C:\WINNT\system32\ADVAPI32.DLL
26 : 7C340000 00056000 D:\Program Files\Yahoo!\Messenger\MSVCR71.dll
27 : 7C570000 000B3000 C:\WINNT\system32\KERNEL32.dll
28 : 7C950000 0008F000 C:\WINNT\system32\CLBCATQ.DLL
29 : 7CE20000 000EF000 C:\WINNT\system32\ole32.dll
30 : 7CF30000 00245000 C:\WINNT\system32\SHELL32.dll

Call stack :
0045CC80:5480 [00462100] ?ExecuteRecursive@CExpertInterior
 
Do You provide _stdcall calling convention in your dll?
 
Hi slawa,
Thanks for quick answer, I think yes, as the following declarition seems equivalent:
__declspec(dllexport) int fnDzGeneralTrade(void)

woud I remind you that it still runs on build 185.

PS: for build 185 I am having a nonetheless critical problem when I cannot send orders live (OK for back testing), please refer my later post on it.

Thanks & regards,
PQDzung
 
To check problem call some internal function instead of dll-function
 
__declspec(dllexport) int __stdcall fnDzGeneralTrade(void)
 
you meant calling MT4 functions, like OrderSent, AccountBalance()... or those created in MQ4 expert files?
No problem with that of course.
 
Thanks Slawa,
It runs, apologies for the naive mistakes. Both problems closed.

Regards,
PQDzung
Reason: