I wrote a DLL for MT4. It does not work for any PC except the PC I compiled DLL. Its error say ' can't load DLL, Error 126". Please advice.
Follow me to the Promised Land
Forex Mentors/Gurus publish your accounts records 10 replies
Wininet.dll & user32.dll. Can we use it in Macintosh MT4/MT5? 0 replies
DLL c++ any examples ? 26 replies
Multiple EAs using single DLL with DLL Windows - Using Delphi 9 replies
VennD - Any Pairs - Any Style - Any Time 740 replies
DislikedI wrote a DLL for MT4. It does not work for any PC except the PC I compiled DLL. Its error say ' can't load DLL, Error 126". Please advice.Ignored
Disliked{quote} most likely issue is that some of the resources that it needs may not be available or shared on the other computers or the pathways are wrong. just google dll error 126 there are plenty of things to investigateIgnored
Disliked{quote} well always interested in understanding what concepts people use in their systems, so would be keen to read a post or message that outlined that. as for testing it, I would prefer to read the concept first regardsIgnored
DislikedI wrote a DLL for MT4. It does not work for any PC except the PC I compiled DLL. Its error say ' can't load DLL, Error 126". Please advice.Ignored
Disliked{quote} Did you build the dll for debug or release? If you built for debug it may be depending on debug versions of Windows redistrubables that are only on your build PC.Ignored
DislikedI build my dlls with msvc 2012 (express), so, there has to be the msvc 2012 redistributable package on the machine. You change the configuration (debug/release) in the standard toolbar..Ignored
Disliked{quote} Thanks. If I send dll to other people so I have to ask them to install msvc 2012 redistributable package on their PCs?Ignored
[highlight]/* asctime example */ #include <stdio.h> /* printf */ #include <time.h> /* time_t, struct tm, time, localtime, asctime */ int main () { time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ( "The current date/time is: %s", asctime (timeinfo) ); return 0; }[/highlight]
DislikedThe intermediate result in "timeinfo" contains the raw hour/minute/second month/day/year values in a struct /* asctime example */ #include <stdio.h> /* printf */ #include <time.h> /* time_t, struct tm, time, localtime, asctime */ int main () { time_t rawtime; struct tm * timeinfo; time ( &rawtime ); timeinfo = localtime ( &rawtime ); printf ( "The current date/time is: %s", asctime (timeinfo) ); return 0; }Ignored
Disliked{quote} How can I compare current date to specified date? Like below if(current date > 1/30/2014) doing something else do something elseIgnored
Disliked{quote} Thank you very much Steve. How can I compare current date to specified date? Like below if(current date > 1/30/2014) doing something else do something elseIgnored