April 29, 2005 at 8:27 am #5505April 29, 2005 at 8:28 am #5506April 29, 2005 at 5:31 pm #5509DanHughesParticipant
As Michal stated, you could use the Multi-Edit COM interface to control it from your program. This might eliminate the problems you are having.
I just uploaded to our download area some sample Delphi source code to show how to communicate with each of our latest Multi-Edit products, Multi-Edit 9.10, Multi-Edit Lite 9.10 and Multi-Edit for SAS 9.10. Along with the demo program is included some of the actual source code that we use in all of our IDE Add-On packages.
You can download this code from http://www.multieditsoftware.com/downlo … Obj910.zipApril 30, 2005 at 3:04 am #5512Michal VodickaParticipant
I found the problem with our app: it diplayed the dialog outside of my desktop so it was invisible and inaccessible. You shouldn’t expect everybody is using 1600×1200 screen resolution and place dialog in the right bottom corner Well, hexaeditor cured it. I haven’t reproduced the problem and never encountered it although use MEW from a file manager similar way. So I suspect it is timing issue on faster CPUs and maybe start from the network.
I don’t know anything about install and network version; you could try download trial version which is installable locally. Just for the matter of the test. I’ll look at it when have time.
BTW, using COM would not only avoid this problem (hopefully) but also remove overhead with app starting. This is the way to go when you have control over the app which wants to communicate with MEW. Write a simple macro which loads requested file and jumps to the line and then call it using COM interface from the app.May 3, 2005 at 8:50 am #5519
Sorry about the placement of the window – I normally put some code in to place the window in the center of the screen, whatever the resolution but didn’t bother with this app
I will have a look at that code and get back to you.May 3, 2005 at 12:25 pm #5520David MorrisParticipant
Sorry about the placement of the window – I normally put some code in to place the window in the center of the screen, whatever the resolution but didn’t bother with this app [/quote:3li1mnrg]
Kind of OT but just thought I’d mention in case you weren’t aware: since you’re using C++Builder there is a TForm property called Position that will allow you to center your form on the screen or desktop. No code required!May 3, 2005 at 12:37 pm #5521
Cheers – I didn’t know that.
I tried the COM route and that seems to work well.
- You must be logged in to reply to this topic.