Thread overview | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
August 16, 2006 Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
I've created a Windows XP executable file using 0.163, dbi, dwt. It executes on the development computer but nothing when i deploy it on another computer. Are there any files that I need to deploy with the executable? negerns |
August 16, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to negerns | Hi aren't there any error messages shown when you execute the program on another machine ? Are you using some additional libraries ( maybe you need to add these libraries .dll files with the executable) |
August 16, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to DMINATOR | > aren't there any error messages shown when you execute the program on another > machine? No, there was none. > Are you using some additional libraries (maybe you need to add these > libraries .dll files with the executable) Yes, i'm using ddbi and dwt, but i don't think i used other DLL files. |
August 17, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to negerns | Are you running it from the command line?
If not, does anything happen when you do? Do you get the prompt back immediately or no?
-[Unknown]
> I've created a Windows XP executable file using 0.163, dbi, dwt. It executes on the development computer but nothing when i deploy it on another computer. Are there any files that I need to deploy with the executable?
>
> negerns
|
August 17, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Unknown W. Brackets | > Unknown W. Brackets wrote:
> Are you running it from the command line?
>
> If not, does anything happen when you do? Do you get the prompt back immediately or no?
>
> -[Unknown]
I copied the \dm and \dmd folders to the client machine and setup my PATH environment variable. I tried running it at the command line too but nothing happens. When I tried running it nothing happens and I do get the prompt back right away. I tried executing the sample hello.exe and it worked.
I built the executable in the client machine and it executed. It's weird!
|
August 17, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to negerns | Does the same executable work on the other machine?
How sure are you that the file was transferred between the two machines correctly?
Oh well, I guess it's a bad idea to complain about success, but it'd be good to know what went wrong.
-[Unknown]
> > Unknown W. Brackets wrote:
>> Are you running it from the command line?
>>
>> If not, does anything happen when you do? Do you get the prompt back immediately or no?
>>
>> -[Unknown]
>
> I copied the \dm and \dmd folders to the client machine and setup my PATH environment variable. I tried running it at the command line too but nothing happens. When I tried running it nothing happens and I do get the prompt back right away. I tried executing the sample hello.exe and it worked.
>
> I built the executable in the client machine and it executed. It's weird!
|
August 26, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to Unknown W. Brackets | I'm not really sure what is happening when i execute the application on another computer. Does anybody know how I could check what's happening during the initialization of the application and/or during startup? |
August 26, 2006 Re: Creating executable file in WinXP | ||||
---|---|---|---|---|
| ||||
Posted in reply to negerns | Not a lot happens on startup. You could modify the initialization code, but that's not very easy or very fun.
What happens if you prune everything out of main(), and have it only writefln("I work"); or something? Then run it from the command line.
Or open a file, and see if the file is created. If it's just doing nothing, it sounds like it's crashing and Error Reporting is disabled in Windows.
-[Unknown]
> I'm not really sure what is happening when i execute the application on another computer. Does anybody know how I could check what's happening during the initialization of the application and/or during startup?
|
Copyright © 1999-2021 by the D Language Foundation