1. Problems binding a DOS32 Euphoria program
Hello everyone,
I am having a problem binding a DOS32 Euphoria program with the registered
version 2.2 of Euphoria. I am running on Windows NT 4.0 (service pack 6a).
I open a "DOS box" and, after getting into the correct directory, I type:
BIND REPLICON.EX
The system responds with:
You can only replace the icon in pdexw.exe (WIN32)
and the program does not get bound.
However, if I just type:
bind
it prompts:
Name of Euphoria file to bind:
I type in:
REPLICON.EX
It then asks about hiding strings as ASCII codes - I reply 'y'
It asks about leaving routine names clear - I reply 'n'
It asks whether to scramble = I reply 'y'
Low and behold my REPLICON.EX DOS32 Euphoria source is bound into an
executable REPLICON.EXE so now I'm confused.
Even more confusing is that I can happily bind other programs. For example:
CD C:\EUPHORIA\DEMO
BIND ANIMAL.EX
works as expected. Hence it looks like something in my program must be
confusing the bind process but I can't imagine what. Here are the includes
it uses:
include machine.e
include wildcard.e
include file.e
include get.e
Nothing wild but I am making calls to DOS interrupts with dos_interrupt to
perform low level IDE and floppy disk stuff.
If you need to see the full source then email me privately and I'll bounce
it back -I don't want to clog the list with attachments.
Regards,
FP.
2. Re: Problems binding a DOS32 Euphoria program
FP writes:
> I open a "DOS box" and, after getting into the correct directory, I type:
>
> BIND REPLICON.EX
>
> The system responds with:
>
> You can only replace the icon in pdexw.exe (WIN32)
That's a bug. I'll fix it for the next release.
It has to do with your file name containing
the string "ICON". Thanks for reporting it.
As you noticed already,
it will work ok if you let bind prompt you
for the filename and options.
Regards,
Rob Craig
Rapid Deployment Software
http://www.RapidEuphoria.com
3. Re: Problems binding a DOS32 Euphoria program
At 12:18 PM 5/20/01 -0400, you wrote:
>FP writes:
>> I open a "DOS box" and, after getting into the correct directory, I type:
>>
>> BIND REPLICON.EX
>>
>> The system responds with:
>>
>> You can only replace the icon in pdexw.exe (WIN32)
>
>That's a bug. I'll fix it for the next release.
>It has to do with your file name containing
>the string "ICON". Thanks for reporting it.
>As you noticed already,
>it will work ok if you let bind prompt you
>for the filename and options.
I find a bug? Surely not
I was trying to do the bind within a batch file but now I know the problem
is to do with the file name I can copy replicon.ex to, say, reptemp.ex,
bind reptemp.ex to get reptemp.exe and then rename reptemp.exe to
replicon.exe - job done.
Thanks for loking at this so quickly Rob - much appreciated.
Regards,
FP.