Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.sys.apple2    |    Discussion about Apple II micros    |    56,720 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 55,597 of 56,720    |
|    Renaud Malaval to All    |
|    Re: Programming the GS    |
|    08 Jul 22 09:23:34    |
   
   From: renaud.malaval@free.fr   
      
   LOL !   
      
   in fact, the generated file is a resource file, I could generate it on orca on   
   GSPlus simulator.   
      
   my software is not in desktop mode...   
   I declare in my main.rez file 2 resources rVersion and rToolStartup.   
      
   resource rToolStartup (1)   
   {   
    $C000, /* set master SCB to mode320 + fFastPortAware + fUseShadowing */   
    {   
    4, $0307, /* Quick Draw II */   
    6, $0301, /* Event Manager */   
    8, $0303, /* Sound Manager */   
    11, $0300, /* Integer Math Toolset */   
    30, $0100, /* Resource Manager */   
    100, $0000 /* myTool Toolset */   
    }   
   };   
      
   but new problem is in my C code source :   
      
    long gStartStopAddr;   
    Word gStartStopRez = refIsResource;   
    long gStartStopID = TOOL_STARTUP;   
      
    TLStartUp(); /* Tool Locator */   
    pContext->iMasterID = MMStartUp(); /* Memory Manager */   
    MTStartUp(); /* Miscellaneous Tool */   
      
    (long )gStartStopAddr = StartUpTools( (Word)pContext->iMasterID,   
   gStartStopRez, (long )gStartStopID);   
      
   at compilation times, I got an error, I didn't understood why ???????   
      
   Compiling MyStartTools   
    635 (long )gStartStopAddr = StartUpTools( (Word)pContext->iMasterID,   
   gStartStopRez,   
   (long )gStartStopID);   
    ^ l-value required   
   Compiling MyStopTools   
   Compiling main   
      
   Any idea, svp ?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca