Download MetaTrader 5
To add comments, please log in or register
Add our channel to friends and follow the news!
patrickkw
14
patrickkw 2014.08.04 03:21 

Dir Sir, 

I found the "Access violation read to 0x09A45000" for the ChartSymbol(), ChartPeriod() after issuing the "PostMessageW(hwnd,WM_COMMAND,CHART_CMD_UPDATE_DATA,0);" in release 670. Is there any way to fix?

Great Thanks,

qjol
3243
qjol 2014.08.04 03:43  

the error "Access violation read to 0x09A45000" has nothing to do with ChartSymbol() or ChartPeriod()

it's something with the dll you are importing

patrickkw
14
patrickkw 2014.08.04 20:26  

Thanks for reply, but why I can use them before the PostMessageW but cannot after it?

I use only one DLL as follows:-


#import "user32.dll"

int RegisterWindowMessageA(string lpString);

#import

whroeder1
13589
whroeder1 2014.08.05 01:40  
patrickkw: I use only one DLL as follows:-
#import "user32.dll"

int RegisterWindowMessageA(string lpString);

#import
  1. Don't paste code
    Play video
    Please edit your post.
    For large amounts of code, attach it.

  2. Since build 600 strings are Unicode and you are passing it to a function expecting a char array.
/
To add comments, please log in or register