Windows launcher

From FreeMind

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
There is a Windows launcher for FreeMind, written in C.
+
There is a Microsoft Windows launcher for FreeMind, written in C.
 +
 
 +
==Function==
 +
 
 +
This launcher provides the following.
 +
 
 +
{| {{Table style}}
 +
! Feature
 +
! Detail
 +
|-
 +
| Icon
 +
| Has an icon.
 +
|-
 +
| Droping a file
 +
| When a file is dragged and dropped over the launcher, it is passed to Java application as a parameter.
 +
|-
 +
| Argument passing
 +
| When the launcher is run from a DOS console and given multiple arguments, all are passed to the Java application.
 +
|-
 +
| Changing to directory
 +
| The launcher has to reside in a directory relative to the application directory. However, it can be run from any other directory. Therefore, if you assign the launcher to a file type, the application is run correctly with the file passed as an argument.
 +
|}
 +
 
 +
==Compilation==
 +
 
 +
This launcher for Microsoft Windows was compiled using [http://www.bloodshed.net/devcpp.html Dev-C++].
 +
To download Dev-C++, go to [http://sourceforge.net/projects/dev-cpp/ project page at SourceForge].
 +
To recompile it, open the project ''Freemind.dev'' with Dev-C++, and compile the project.
 +
 
 +
==Gotchas==
 +
 
 +
Things to watch
 +
 
 +
# FreeMind.ico must be a real icon, not an icon created by changing the extension of a file from  bmp to ico.
 +
# Icon1.rc is the file telling where the icons is stored. It is a resource file. This resource  file is compiled into Icon1.o (object file), which is then linked with freemind.o to create  Freemind.exe
==Links==
==Links==
* [http://freemind.cvs.sourceforge.net/freemind/freemind/windows-launcher/ Windows launcher in CVS]
* [http://freemind.cvs.sourceforge.net/freemind/freemind/windows-launcher/ Windows launcher in CVS]
 +
* [http://sourceforge.net/projects/dev-cpp/ Dev-C++ at SourceForge]
[[Category:Development]]
[[Category:Development]]

Revision as of 08:51, 21 February 2008

There is a Microsoft Windows launcher for FreeMind, written in C.

Contents

Function

This launcher provides the following.

Feature Detail
Icon Has an icon.
Droping a file When a file is dragged and dropped over the launcher, it is passed to Java application as a parameter.
Argument passing When the launcher is run from a DOS console and given multiple arguments, all are passed to the Java application.
Changing to directory The launcher has to reside in a directory relative to the application directory. However, it can be run from any other directory. Therefore, if you assign the launcher to a file type, the application is run correctly with the file passed as an argument.

Compilation

This launcher for Microsoft Windows was compiled using Dev-C++. To download Dev-C++, go to project page at SourceForge. To recompile it, open the project Freemind.dev with Dev-C++, and compile the project.

Gotchas

Things to watch

  1. FreeMind.ico must be a real icon, not an icon created by changing the extension of a file from bmp to ico.
  2. Icon1.rc is the file telling where the icons is stored. It is a resource file. This resource file is compiled into Icon1.o (object file), which is then linked with freemind.o to create Freemind.exe

Links

Personal tools