The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: stalker on July 26, 2008, 08:12:35 AM

Title: Could I know the .qsc files syntax
Post by: stalker on July 26, 2008, 08:12:35 AM
As we all know,we can use QEditor to generate a ASM Model
I wonder if I can edit the .qsc file to make it generate the date and author's name automatically

PS:Sorry for my poor English,I am a MASM32 lover from China
Title: Re: Could I know the .qsc files syntax
Post by: hutch-- on July 26, 2008, 08:36:06 AM
Hi stalker,

The QSC macro engine is shortly to be replaced with a far more powerful one in a new version of QE. The notation in QSC will not do that for you and you would have to write a simple DLL and call it from a QSC file.
Title: Re: Could I know the .qsc files syntax
Post by: stalker on July 26, 2008, 08:40:59 AM
call DLL from a QSC file?
Title: Re: Could I know the .qsc files syntax
Post by: hutch-- on July 26, 2008, 12:28:56 PM
Yep,

This is the notation.


plugin      filename                    ; run a QE plugin DLL
            EXAMPLE: plugin f:\pb\bblockc.dll


I have attached a sample DLL that does what you require, just call the DLL in the location of the script where you want your name and the data and it will be inserted like a normal script command. Just modify the DLL to do what you need.

[attachment deleted by admin]
Title: Re: Could I know the .qsc files syntax
Post by: stalker on July 27, 2008, 04:10:33 AM
thx a lot hutch :U