To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 12695
12694  |  12696
Subject: 
Re: LPub
Newsgroups: 
lugnet.cad
Date: 
Sat, 21 May 2005 19:22:58 GMT
Viewed: 
1004 times
  
In lugnet.cad, Anders Isaksson wrote:
Kevin L. Clague wrote:

if (CreateProcess(exec.c_str(),
                  cmd,

Don't know if this is significant, but I usually put everything in the
second argument, both the .exe name and the parameters. In this way even
16-bit programs can be started (and I think I've read about some program
having problems when started the way you show...)

  if CreateProcess(nil,                 {ApplicationName}
    PChar(aCmdLine),                    {lpCommandLine }
    etc.

Than you very much!  LDView now renders without using a batch file.  I cannot
test this on Windows 98 until tommorow when I get home, but this is very
promising.

Thanks again!
Kevin



Message has 1 Reply:
  Re: LPub
 
(...) Glad to hear Anders' suggestion worked. One other thing. I can't tell off-hand looking at your code, but the command line string must include the full path to the LDView executable as its first argument even when that's also in the first (...) (19 years ago, 21-May-05, to lugnet.cad)

Message is in Reply To:
  Re: LPub
 
(...) Don't know if this is significant, but I usually put everything in the second argument, both the .exe name and the parameters. In this way even 16-bit programs can be started (and I think I've read about some program having problems when (...) (19 years ago, 21-May-05, to lugnet.cad)

15 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR