Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Adding Menus to Someone else's executable | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Thayer

Fuzz Ball
Level: 38

Posts: 112/988
EXP: 349428
For next: 21019

Since: 06-28-05

Since last post: 1 day
Last activity: 1 day
Posted on 08-29-05 12:39 AM Link | Quote
I admit I am extremely limited in knowing how to program anything, particularly, so I am asking for help. I am not certain really where to even look this up on Google, I've already tried and I'm quite certain I'm not really finding what I need to know. Basically, I'll detail my problem below.

PAUP* 4.0

PAUP is a program used for phylogenetic analyses, the Macintosh version is very versatile, and useful. All of the commands can be accessed from the taskbar menus. However, the Windows version is little more than a glorified DOS command line, and annoying to use for many people. I want to make modifications to the Windows version so that I do not have to type all of these annoying command lines and that it will be similiar to the Macintosh version. I assume I need to make the menus for the taskbar, and that they will be linked into performing the command lines, I've had a little bit of classes in VisualBasic, and some minor work with RM2k, so I feel very overwhelmed in this. I've already gotten ahold of ResourceHacker, and I see it lets me do a few changes to the menus, and I'm curious, if anyone else has ever done anything like this before, perhaps if you could point me in the direction of any good Websites with tutorials and other resources. Thank you.

---> Edit: I worry I have put this in the wrong forum. Does this belong in Hardware/Software?

---> Edit 2: To make it even further how different the versions are between OS, please look at the Quick Start Tutorial. Notice all the Macintosh commands work from a menu and the Windows are done almost entirely through commandline input.



(edited by Thayer on 08-28-05 03:42 PM)
(edited by Thayer on 08-28-05 03:42 PM)
(edited by Thayer on 08-28-05 04:06 PM)
neotransotaku

Baby Mario
戻れたら、
誰も気が付く
Level: 87

Posts: 3844/4016
EXP: 6220548
For next: 172226

Since: 03-15-04
From: Outside of Time/Space

Since last post: 11 hours
Last activity: 1 hour
Posted on 08-29-05 01:30 AM Link | Quote
For command line style, you mean you are entering commands into the program right? not from say the DOS command line. Otherwise, I'd recommend you to write scripts to simplify your job or use Python to build an interface (i recommend Phython because it has the ability to run external command line)

I've never done such a thing, but just point out an alternative solution based on my interpretation of how you are using command line
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 6628/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 08-29-05 02:21 AM Link | Quote
It sounds like what you want to do is make a frontend. Basically you'd just make a program with menus laid out however, that when you choose a menu option your program sends commands to the other program.
Originally posted by Thayer
I worry I have put this in the wrong forum. Does this belong in Hardware/Software?

Nope.
Thayer

Fuzz Ball
Level: 38

Posts: 113/988
EXP: 349428
For next: 21019

Since: 06-28-05

Since last post: 1 day
Last activity: 1 day
Posted on 08-29-05 09:05 AM Link | Quote
Originally posted by neotransotaku
For command line style, you mean you are entering commands into the program right? not from say the DOS command line. Otherwise, I'd recommend you to write scripts to simplify your job or use Python to build an interface (i recommend Phython because it has the ability to run external command line)

I've never done such a thing, but just point out an alternative solution based on my interpretation of how you are using command line


I'm not really sure, commands are input through command lines for the program, most of which are retardedly long, no recall if you make a mistake, etc.

Originally posted by HyperHacker
It sounds like what you want to do is make a frontend. Basically you'd just make a program with menus laid out however, that when you choose a menu option your program sends commands to the other program.


That's basically what I want to do, either make a new one or alter the existing one, only, I really am not certain how I should go about this which is why I was asking for help in knowing the direction of what type of on-line resources I should be looking at. Also, is Resource Hacker any good? I already have it.


Nope.


Ah okay.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 6635/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 08-29-05 10:09 AM Link | Quote
It's good, but there's generally no resources to edit (at least, no dialogs) in a command-line program.
rg_

Goomba
Level: 8

Posts: 13/26
EXP: 1964
For next: 223

Since: 03-27-05

Since last post: 21 hours
Last activity: 12 hours
Posted on 08-30-05 07:13 PM Link | Quote
The easiest way would be to ask the original developers to add the extra functionality. This is what you should do.

If that fails I have good news and bad news for you. Theoretically it's possible to do what you want. The problem is that you, however, won't be able to do it.

Adding menus is easy with ResHacker or a comparable program. The problem is to add code that handles clicks on the new menus. This is not a trivial task, you probably need at least 12 - 18 months of solid Win32 assembler programming knowledge.

But just in case you're a natural talent I've bothered to google for some essays that do comparable things (adding functionality to existing programs):

Minesweeper: http://www.the-interweb.com/serendipity/index.php?/archives/2-Skinmine-Elaborating-on-Jeffrey-Richters-Trojan-DLL-method-for-API-hooking.html
Notepad: http://web.textfiles.com/computers/hnpad.txt
Adding functionality to the Windows Calculator: http://www.chirizzi.com/fravia/LAZCALC.HTM
Notepad again: http://www.codebreakers-journal.com/viewarticle.php?id=28&layout=abstract
General stuff: http://www.codebreakers-journal.com/viewarticle.php?id=26&layout=abstract

Considerably easier than extending the program itself would be to send messages (the commands) to the program. Write another program that has some buttons and when those buttons are pressed a certain command is sent to the original program. This could be pretty easy.
Thayer

Fuzz Ball
Level: 38

Posts: 127/988
EXP: 349428
For next: 21019

Since: 06-28-05

Since last post: 1 day
Last activity: 1 day
Posted on 08-30-05 10:32 PM Link | Quote
Originally posted by rg_
The easiest way would be to ask the original developers to add the extra functionality. This is what you should do.


It is what I should do, but the original developers are far more concerned with expanding their Macintosh version than they are with bringing Windows up to that standard.


If that fails I have good news and bad news for you. Theoretically it's possible to do what you want. The problem is that you, however, won't be able to do it.

Adding menus is easy with ResHacker or a comparable program. The problem is to add code that handles clicks on the new menus. This is not a trivial task, you probably need at least 12 - 18 months of solid Win32 assembler programming knowledge.


Okay. I will read this, and try it out. Who knows, I might be able to give this a go. I am very thankful for all of this help, links like these were what I was after

EDIT: After writing some e-mails and asking around, supposedly the programmers are going to make the Windows version better in the next round of updates... so I no longer really need to worry over this.


(edited by Thayer on 09-05-05 08:51 PM)
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Adding Menus to Someone else's executable | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.007 seconds.