www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Creating executable file in WinXP

reply negerns <negerns2000 gmail.com> writes:
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
Aug 15 2006
next sibling parent reply DMINATOR <kna_int mail.ru> writes:
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)
Aug 16 2006
parent negerns <negerns gmail.com> writes:
 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.
Aug 16 2006
prev sibling parent reply "Unknown W. Brackets" <unknown simplemachines.org> writes:
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
Aug 16 2006
parent reply negerns <negerns2000 gmail.com> writes:
 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!
Aug 16 2006
parent reply "Unknown W. Brackets" <unknown simplemachines.org> writes:
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!
Aug 16 2006
parent reply negerns <negerns gmail.com> writes:
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?
Aug 25 2006
parent "Unknown W. Brackets" <unknown simplemachines.org> writes:
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?
Aug 26 2006