Anyone tell me how can I comment out some of the line of the code from existing .ex4 (MQL4 language) file ?. I know people are doing but just don't know how to do it. I would really appreciate if someone tell me what tool I need and procedure to go about making it happen. Note: I am not looking for decompile entire code. I just want to add some line and comment some line to ex4 executable file.
You cannot edit a ex4 file without decompiling/recompiling. If you can get the source mq4 file, then you could edit it and compile to a valid ex4 with MetaEditor.
Related
I wanna try to make a ".exe" file using lua code.
I've tried lua.org but i don't understand anything about it.
i've followed tutorials but they all don't help.
It would help me alot if there was a setup file that does all the setup and
lets me able to make .lua files.
Thank you for trying to help!
There's nothing built in to Lua that will let you do this, so you need to either write some C code yourself or use a third-party tool. If you want to go the third-party route, https://github.com/PG1003/dogfood is an example of such a tool.
I have a tab-delimited text file, but I have absolutely no idea what to do to: include the file in the project so I can use it, read the text, and parse the text. I'm using a Xamarin PCL so I cannot use File class. I don't even know where to start, so if anyone could help me out with this, that would be amazing. Thank you so much.
I keep writing codes in gedit but at the end of the week we need to submit a lyx literal programming file. Copying and pasting or importing is painful, since , we need to keep pressing tabs or enters. Can anyone suggest a simple alternative to this? Please keep in mind that we need to export the c file from the lyx file.
With the help of my friend, i have written a python code to convert the python or c or any other code, as it is to a lyx file. you can later add whatever you want to the lyx file
Here is the link: http://dpaste.com/hold/671718/
The aforementioned link is broken, but here's the original.
The script essentially takes code and creates LyX scrap from it. It requires that scrap and noweb be installed on the machine in question. Also, I believe I'd made this for LyX v.1.6. Not sure how it will hold up against newer versions. Then again, one can select and indent using tab in scrap code in the newer versions, so the OP's problem is somewhat mitigated.
I'm currently porting a rather big project from C++ Builder 5 to the newest version, C++ Builder XE. It's my first experience with C++ Builder. I'm stuck with an error in a file, but I don't want to include this file anyway (it's code of a component not required anymore). I was not able to find out where and how this file is included, however. The compiler error does not give any hint at all apart from the error itself. How do you usually find out where a file is included?
The preprocessor is perfect for this. Right click on the cpp file which gives you the error in the project manager then choose "preprocess"
The output from this tells you every file and line number in the order they are processed. You can then search for the file in question, and the line above it is the file that included it.
This could conceivably be another header file as well, so it could be a long chain, but you can determine exactly where it comes from.
In the Project Options, enable the compiler's general messages. When the compiler encounters an error, you will be able to see the chain of includes that lead to the erroneous code.
If the files in question are rather sizable, a tool like Doxygen can be helpful in showing you the include dependencies (as well as call paths, etc.).
If it's just once or twice you'll have to do this, David Dean's suggestion of the preprocessor is golden.
While compling Delphi application there is an error
"file not found "htmlview.dcu".
The errror is not on my system ,but someone else's.
I checked it my system and its there in " C:\Program Files\PBear\Thtml\package".
Whats the remedy if there is an error
"file not found "htmlview.dcu".
Generally, if it tells you it can't find a DCU file, what it really means is that it can't find the unit at all, i.e. neither the source nor the DCU. Make sure the other person has htmlview.pas, and that they have it either included in the DPR or in a folder that's either on the Library Path for their Delphi installation or the Search Path for the project that needs it.
If you found the error on someone else's system, but not yours, and found the missing .DCU on your own system, you need to give them the .DCU from your system.
If you think about the error message before posting here, it would be pretty clear I'd think. "File not found " very clearly tells you it can't find the file , so you need to give it to them. Doesn't it?