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 / 12694
12693  |  12695
Subject: 
Re: LPub
Newsgroups: 
lugnet.cad
Date: 
Sat, 21 May 2005 18:21:18 GMT
Viewed: 
1132 times
  
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.

--
Anders Isaksson, Sweden
BlockCAD:  http://web.telia.com/~u16122508/proglego.htm
Gallery:   http://web.telia.com/~u16122508/gallery/index.htm



Message has 1 Reply:
  Re: LPub
 
(...) 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 (20 years ago, 21-May-05, to lugnet.cad)

Message is in Reply To:
  Re: LPub
 
(...) <snip> (...) Hi Travis, I used to do a CreateProcess on LDView (rather than the batch file) with the same parameters as I provide in the batch file, and I get blank images. This is why I reverted to a bach file. Here is the code that I use: (...) (20 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