You need to enable JavaScript in order to visit our site!
 
Logo PTMC
NAVIGATION
CANCEL
 
or via PTMC account
Restore password
or via PTMC account
Logo PTMC
NAVIGATION
or via PTMC account
Restore password
or via PTMC account
or via PTMC account
Restore password
or via PTMC account
Mac Mac 26.08.2016

Plug-in development in PTMC "on the fly"

For all coders which are or ever will be engaged in PTMC plug-in development, our team is pleased to issue feature, that grants no longer need to restart terminal for code updates to be seen. Revamp on the fly allows to increase productivity and save the most decent resource, called time.Whatever environment is used for developing main steps for the add-on to function remains same:

1) Open either root\plug-ins\panels or Documents\ProtraderMC\My plug-ins and add compiled DLL file for production use.

2) During debugging also add PDB file to same folder. This will allow to see live changes in terminal without restarting it.

In case you code in Visual Studio environment, which is most likely you do, simply paste path to Post-build event command line (click Solution Explorer`s properties → Build Events).

First line is for your .dll file:

copy "$(TargetPath)" "Your DIR\Documents\ProtraderMC\My plug-ins"

And second for pdb file:

copy /y "$(TargetDir)$(TargetName).pdb" "Your DIR\Documents\ProtraderMC\My plug-ins".

You can also set path to your root directory to match same result. Any option is up to you, both would work fine without conflict.

VS post event path to PTMC

While plug-in is launched in terminal, new build version will overwrite it and inform you with message. If add-on is not running, a substitution will be done in the background. Same procedure is attained during removing plug-ins from folder.

PTMC plug-in on the fly

PLEASE NOTE THAT PDB FILE IS APPROPRIATE ONLY DURING DEBUGGING AND THERE IS NO NEED TO POST IT IN PRODUCTION.

Enjoy this new feature from PTMC DevOps and remember that your feedback is more than welcome.

Files
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.
PTMC 是一個專業的交易平台,結合了強大的圖表和分析工具,並可在不同的金融市場進行交易。 它是由 PFSOFT UK LTD 開發的,該公司是全球銀行和經紀商交易技術提供商
© 2024. PTMC 為基於 Protrader 技術的專業交易平台
地址
臺北市大安區羅斯福路3段273號5樓
聯絡我們
電話: +886-2-2367-8583
E-mail: service@kcdatanet.com
社群
© 2024. PTMC 為基於 Protrader 技術的專業交易平台