Alaska Software Inc. - ARC Error
Username: Password:
AuthorTopic: ARC Error
Carlos Antonio BelingARC Error
on Wed, 20 Jan 2010 11:33:53 -0200
Good night:
ARC compiler is giving error message as the attachment ARCError.ico when run through the Project 
File attached (xpj.zip). At the command line compiler ARC compiles without problems. I checked and 
all files are present.
Can someone show me how to fix?

Beling
TIA


XPJ.ZIP
ARCError.jpg
Jack DuijfRe: ARC Error
on Thu, 21 Jan 2010 00:10:07 +0100
Hello Carlos,

Was able to repro your problem.
This is caused by INCLUDE  = .\
It seems as this is included in the call of arc.exe  embeded between quotes.

arc /v "/i:.\" "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
arc assumes "/i:.\" as the arc file.
should be
arc /v /i:.\ "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"

If you remove INCLUDE  from your project file, all work ok.

If this is a problem for you, you should report this to Alaska.


Regards,
Jack Duijf









"Carlos Antonio Beling" schreef in bericht 
news:72abbc04$72c2297a$4c4f@news.alaska-software.com...
> Good night:
> ARC compiler is giving error message as the attachment ARCError.ico when 
> run through the Project
> File attached (xpj.zip). At the command line compiler ARC compiles without 
> problems. I checked and
> all files are present.
> Can someone show me how to fix?
>
> Beling
> TIA
>
Carlos Antonio BelingRe: ARC Error
on Thu, 21 Jan 2010 09:49:44 -0200
Hello Jack:
good morning.
Many thanks.
I think I must do it because sometimes I need working with include files for testing purpose.

Beling
Best regards

Jack Duijf escreveu:
> Hello Carlos,
> 
> Was able to repro your problem.
> This is caused by INCLUDE  = .\
> It seems as this is included in the call of arc.exe  embeded between 
> quotes.
> 
> arc /v "/i:.\" "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
> arc assumes "/i:.\" as the arc file.
> should be
> arc /v /i:.\ "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
> 
> If you remove INCLUDE  from your project file, all work ok.
> 
> If this is a problem for you, you should report this to Alaska.
> 
> 
> Regards,
> Jack Duijf
> 
> 
> 
> 
> 
> 
> 
> 
> 
> "Carlos Antonio Beling" schreef in bericht 
> news:72abbc04$72c2297a$4c4f@news.alaska-software.com...
>> Good night:
>> ARC compiler is giving error message as the attachment ARCError.ico 
>> when run through the Project
>> File attached (xpj.zip). At the command line compiler ARC compiles 
>> without problems. I checked and
>> all files are present.
>> Can someone show me how to fix?
>>
>> Beling
>> TIA
>>
>
Jack DuijfRe: ARC Error
on Thu, 21 Jan 2010 16:15:30 +0100
Hello Carlos

How about:
compile_flags=/b /coff /err:15 /ga /m /n /q /w /wi /wl /wu /d_TEST_MODE_ /a
Notice the /d

Create a central ch file that include ALL you header files.

\myapp\AppCons.ch (or other name)
#include "Common.ch"
#include "os.ch"
#ifdef _TEST_MODE_
  #include \myapp\test\xyz.ch
#else
  #include \myapp\production\xyz.ch
#endif

Replace all includes in all your prg's 1 line: #include "\myapp\Appcons.ch"

Regards,
Jack Duijf




"Carlos Antonio Beling" schreef in bericht 
news:11873434$2cdcb9e0$7887@news.alaska-software.com...
> Hello Jack:
> good morning.
> Many thanks.
> I think I must do it because sometimes I need working with include files 
> for testing purpose.
>
> Beling
> Best regards
>
> Jack Duijf escreveu:
>> Hello Carlos,
>>
>> Was able to repro your problem.
>> This is caused by INCLUDE  = .\
>> It seems as this is included in the call of arc.exe  embeded between 
>> quotes.
>>
>> arc /v "/i:.\" "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
>> arc assumes "/i:.\" as the arc file.
>> should be
>> arc /v /i:.\ "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
>>
>> If you remove INCLUDE  from your project file, all work ok.
>>
>> If this is a problem for you, you should report this to Alaska.
>>
>>
>> Regards,
>> Jack Duijf
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> "Carlos Antonio Beling" schreef in bericht 
>> news:72abbc04$72c2297a$4c4f@news.alaska-software.com...
>>> Good night:
>>> ARC compiler is giving error message as the attachment ARCError.ico when 
>>> run through the Project
>>> File attached (xpj.zip). At the command line compiler ARC compiles 
>>> without problems. I checked and
>>> all files are present.
>>> Can someone show me how to fix?
>>>
>>> Beling
>>> TIA
>>>
>>
Carlos Antonio BelingRe: ARC Error
on Thu, 21 Jan 2010 16:08:42 -0200
Hello Jack:
good afternoon.
Many thanks. I'll do it, but I sent the problem to Alaska because I think it a Pbuild error.

Beling
Best regards.

Jack Duijf escreveu:
> Hello Carlos
> 
> How about:
> compile_flags=/b /coff /err:15 /ga /m /n /q /w /wi /wl /wu /d_TEST_MODE_ /a
> Notice the /d
> 
> Create a central ch file that include ALL you header files.
> 
> \myapp\AppCons.ch (or other name)
> #include "Common.ch"
> #include "os.ch"
> #ifdef _TEST_MODE_
>  #include \myapp\test\xyz.ch
> #else
>  #include \myapp\production\xyz.ch
> #endif
> 
> Replace all includes in all your prg's 1 line: #include "\myapp\Appcons.ch"
> 
> Regards,
> Jack Duijf
> 
> 
> 
> 
> "Carlos Antonio Beling" schreef in bericht 
> news:11873434$2cdcb9e0$7887@news.alaska-software.com...
>> Hello Jack:
>> good morning.
>> Many thanks.
>> I think I must do it because sometimes I need working with include 
>> files for testing purpose.
>>
>> Beling
>> Best regards
>>
>> Jack Duijf escreveu:
>>> Hello Carlos,
>>>
>>> Was able to repro your problem.
>>> This is caused by INCLUDE  = .\
>>> It seems as this is included in the call of arc.exe  embeded between 
>>> quotes.
>>>
>>> arc /v "/i:.\" "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
>>> arc assumes "/i:.\" as the arc file.
>>> should be
>>> arc /v /i:.\ "\MSI\GUI\RESOURCE\ARC\CABRES.ARC"
>>>
>>> If you remove INCLUDE  from your project file, all work ok.
>>>
>>> If this is a problem for you, you should report this to Alaska.
>>>
>>>
>>> Regards,
>>> Jack Duijf
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> "Carlos Antonio Beling" schreef in bericht 
>>> news:72abbc04$72c2297a$4c4f@news.alaska-software.com...
>>>> Good night:
>>>> ARC compiler is giving error message as the attachment ARCError.ico 
>>>> when run through the Project
>>>> File attached (xpj.zip). At the command line compiler ARC compiles 
>>>> without problems. I checked and
>>>> all files are present.
>>>> Can someone show me how to fix?
>>>>
>>>> Beling
>>>> TIA
>>>>
>>>
>