MQL4, ORACL, MSSQL, MySQL에서 데이터베이스에 액세스하는 방법 - 페이지 2

 
공장!!! 여러분, 사랑해요!! :)
 

모든 사람? :))))))))))))))))) 또는 차례대로....?


한 가지 질문은 lib를 어디에 넣을지와 경로를 설정하는 방법입니다.
#가져오기 "libmysql.dll"

보통? MetaTrader 4\experts\files\

 
kombat :

모든 사람? :))))))))))))))))) 또는 차례대로....?


한 가지 질문은 lib를 어디에 넣을지와 경로를 설정하는 방법입니다.
#가져오기 "libmysql.dll"

보통? MetaTrader 4\experts\files\


전문가/도서관/
 

여기에 또 다른 질문이 있습니다. 아마도 이미 논의되었지만 찾아볼 수 있습니다. 테스터가 dll을 사용할 수 없습니까?

 
Red.Line писал (а):
전투 :

모든 사람? :))))))))))))))))) 또는 차례대로....?


한 가지 질문은 lib를 어디에 넣을지와 경로를 설정하는 방법입니다.
#가져오기 "libmysql.dll"

보통? MetaTrader 4\experts\files\


전문가/도서관/

libmysql.dll - MySQL 버전에 따라 다르며 배포판에서 가져옵니다.
 

선택 요청을 처리하는 방법을 알려주시겠습니까???

 

수입처

문자열 mysql_fetch_row(int MySQL);

처음에는 다음과 같이 호출합니다.

 string result = mysql_fetch_row ( querry ) ;
 
Print ( " Result: " , result ) ;
 
그렇다면 오류가 발생합니다.
'mysql_fetch_row' - 함수 가 정의되지 않았습니다

#import "libmysql.dll"을 사용합니다.
mysql_real_query 함수 - 작동...

그리고 그것이 어렵지 않더라도, 줄을 따라 반복하는 코드를 게시하십시오.
 
Red.Line писал (а):

여기서 #import "libmysql.dll"

문자열 mysql_fetch_row(int MySQL);

나는 말하고있다.
 
Red.Line писал (а):
레드 라인 은 다음과 같이 썼습니다.

여기서 #import "libmysql.dll"

문자열 mysql_fetch_row(int MySQL);

나는 말하고있다.

크래시 로그가 있고 MT4 크래시가 있습니다.

plz는 무슨 일인지 말해줘

나는 충돌 로그를 가져옵니다

치명적인 오류가 발생 했습니다
시간 : 2008.03.27 17:05
프로그램 : 클라이언트 터미널
버전 : 4.00 (빌드: 213, 2008년 3월 13일)
OS : Windows XP Professional 5.1 서비스 팩 2(빌드 2600)
프로세서: 1 x X86(레벨 6)
메모리 : 523764/30888kb
예외: C0000005
주소 : 02A55C18
액세스 유형 : 읽기
접속주소 : 0000000C

레지스터: EAX=01874008 CS=001b EIP=02A55C18 EFLGS=00010246
: EBX=00000000 SS=0023 ESP=01DAFAD4 EBP=01DAFF08
: ECX=02A55C10 DS=0023 ESI=00000000 FS=003b
: EDX=01874008 ES=0023 EDI=000001D0 GS=0000

스택 추적: 004630B7 00454D13 7C80B50B 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000
: 00000000 00000000 00000000 00000000

모듈:
1 : 00400000 002A8000 f:\program files\3 whc trader 4\terminal.exe
2 : 01220000 00008000 c:\windows\system32\timgook.dll
3 : 02A50000 00199000 f:\program files\3 whc trader 4\experts\libraries\libmysql.dll
4 : 10000000 00056000 f:\program files\agnitum\outpost 방화벽\wl_hook.dll
5 : 16080000 00019000 c:\program files\bonjour\mdnsnsp.dll
6 : 20000000 002CD000 c:\windows\system32\xpsp2res.dll
7 : 5B260000 00038000 c:\windows\system32\uxtheme.dll
8 : 5BD50000 00054000 c:\windows\system32\netapi32.dll
9 : 61EC0000 0000E000 c:\windows\system32\mfc42loc.dll
10 : 698B0000 00058000 c:\windows\system32\hnetcfg.dll
11:71A30000 00040000 c:\windows\system32\mswsock.dll
12 : 71A70000 00008000 c:\windows\system32\wshtcpip.dll
13:71A80000 00008000 c:\windows\system32\ws2help.dll
14:71A90000 00017000 c:\windows\system32\ws2_32.dll
15 : 71AB0000 0000A000 c:\windows\system32\wsock32.dll
16 : 72CD0000 00008000 c:\windows\system32\msacm32.drv
17 : 72CE0000 00009000 c:\windows\system32\wdmaud.drv
18 : 73D90000 000FE000 c:\windows\system32\mfc42.dll
19 : 75DA0000 00091000 c:\windows\system32\mlang.dll
20 : 76350000 00005000 c:\windows\system32\msimg32.dll
21 : 76380000 00049000 c:\windows\system32\comdlg32.dll
22 : 76B20000 0002E000 c:\windows\system32\winmm.dll
23:76C20000 0002E000 c:\windows\system32\wintrust.dll
24 : 76C80000 00028000 c:\windows\system32\imagehlp.dll
25 : 76D50000 00019000 c:\windows\system32\iphlpapi.dll
26 : 76F10000 00027000 c:\windows\system32\dnsapi.dll
27 : 76F50000 0002D000 c:\windows\system32\wldap32.dll
28 : 76FA0000 00008000 c:\windows\system32\winrnr.dll
29:76FB0000 00006000 c:\windows\system32\rasadhlp.dll
30 : 76FC0000 0007F000 c:\windows\system32\clbcatq.dll
31 : 77040000 000C7000 c:\windows\system32\comres.dll
32 : 77110000 0008C000 c:\windows\system32\oleaut32.dll
33 : 77250000 0009C000 c:\windows\system32\urlmon.dll
34 : 773C0000 00102000 c:\windows\winsxs\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
35 : 774D0000 0013C000 c:\windows\system32\ole32.dll
36:77910000 000F4000 c:\windows\system32\setupapi.dll
37 : 77A70000 00095000 c:\windows\system32\crypt32.dll
38 : 77B10000 00012000 c:\windows\system32\msasn1.dll
39 : 77BC0000 00007000 c:\windows\system32\midimap.dll
40 : 77BD0000 00015000 c:\windows\system32\msacm32.dll
41 : 77BF0000 00008000 c:\windows\system32\version.dll
42 : 77C00000 00058000 c:\windows\system32\msvcrt.dll
43 : 77D30000 00090000 c:\windows\system32\user32.dll
44 : 77DC0000 000AC000 c:\windows\system32\advapi32.dll
45 : 77E70000 00091000 c:\windows\system32\rpcrt4.dll
46 : 77F10000 00046000 c:\windows\system32\gdi32.dll
47 : 77F60000 00076000 c:\windows\system32\shlwapi.dll
48 : 77FE0000 00011000 c:\windows\system32\secur32.dll
49 : 7C800000 000F6000 c:\windows\system32\kernel32.dll
50 : 7C900000 000B1000 c:\windows\system32\ntdll.dll
51 : 7C9C0000 00818000 c:\windows\system32\shell32.dll

호출 스택:
0045F260:3E57 [004630B7]?ExecuteStaticAsm@CExpertInterior(터미널.exe)
00454C00:0113 [00454D13]?RunExpertInt@CExpertInterior(터미널.exe)

사유: