User Tag List

Results 1 to 5 of 5

Thread: Getting the MMF2 directory

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Getting the MMF2 directory

    Hi!

    What would be the easiest way to retrieve the MMF2 directory?
    I'm thinking it would be to read the path from the registry, but I'm not that familiar when it comes to the registry.

    Could anyone give a tip or two? Maybe a snippet of how to retrieve the path into a string!?

    Thanks in advance

  2. #2
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting the MMF2 directory

    You could use GetModuleFileName?

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting the MMF2 directory

    That might work, I'll give it a try!

    Thanks!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting the MMF2 directory

    Not sure what it returns (might be the extensions directory?) - if it returns the path of MMF2.exe -

    Code:
    inline void RemoveFilename(char * Path)
    {
    	for(char * Iterator=Path+strlen(Path);Iterator>Path;--Iterator)
    	{
    		if(*Iterator=='\\')
    		{
    			*++Iterator=0;
    			return;
    		}
    	}
    }
    will remove the MMF2.exe from the path.

  5. #5
    No Products Registered

    Join Date
    Jul 2006
    Location
    Umeå, Sweden
    Posts
    1,090
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Getting the MMF2 directory

    Yes, I got this working a couple of days ago =)
    GetModuleFileName did the trick! ^__^

    Thanks!

Similar Threads

  1. MMF2 - Saving Current Directory
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 14th December 2015, 03:47 PM
  2. Directory
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 21st October 2009, 12:51 PM
  3. [Solved]Open a directory with MMF2
    By GabSt in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 18th July 2008, 06:31 PM
  4. UP Directory
    By 8u8n in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 22nd September 2007, 03:49 AM
  5. UP Directory
    By 8u8n in forum File Archive
    Replies: 2
    Last Post: 21st September 2007, 05:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •