[fpc-pascal]Re: How to resize window under win32? (Jeff Pohlmeyer)

2003-02-28 Thread Bernhard Steffen
> > I'm launching another program from Freepascal program through > > "exec" I need code that can set the position and size of the > > started program. > > I haven't used Windows in a while, but I think you need > CreateProcess() instead of WinExec() > [...] If you have access to the source code

[fpc-pascal]How to set focus to graph window?

2003-03-12 Thread Bernhard Steffen
I'm using the graph unit to provide graphing capabilities for my program (Win 32 platform). The graph window opens as a separate window, which is ok for me - except one point: The graph window gets opened with the least important position in Z-order (ie: all other windows are in front of this windo

Re: [fpc-pascal]How to set focus to graph window?

2003-03-13 Thread Bernhard Steffen
Thanks, Florian and Matt, for your help. I used Matt's approach to bring the window to the top (works), thus avoiding the need to change the original sources. And, I can print some additional information for the user before opening the graph window (I have a wrapper function for InitGraph, anyway)

Re: [fpc-pascal]How to set focus to graph window?

2003-03-13 Thread Bernhard Steffen
Thanks for the link, but that's not the case for me. My program is partly text-based and partly graph-based, so it's no "dummy" dos window for me... But I found a solution that works for me, thanks anyone for your input. Bernhard Marco van de Voort schrieb: > Or is he searching for a way to do >

Re: [fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-26 Thread Bernhard Steffen
> For all you Europeans, it is an American idiom meaning, > "my HUMBLE contribution". and that is why some of us Europeans tend to write "just my two Euro cents" or "just my two pence" ;-) Bernhard Mark Emerson schrieb: > > > > btw - please can you explain that idiom - "my 2 cents"? thanx. >

Re: [fpc-pascal]Runtime error 87

2003-06-16 Thread Bernhard Steffen
Hans MÃ¥rtensson wrote: OK, thank you. There is an error number list in the Borland win32 Programmer's Reference. Is that the relevant one (when Windows is the OS)? Only some of the errors seem to be in accordance with the corresponding numbers in the FreePascal error list. If this is a windows spec

Re: [fpc-pascal]Using FPC

2003-07-20 Thread Bernhard Steffen
Israel Simas wrote: Do i have to write code in a simple text editor and compile it in DOS mode?? My OS is Windows ME. No, you don't have to use "Notepad" as editor and compile from the command line. You can use the integrated editor, compiler & debugger instead: If you've set your PATH variable

Re: [fpc-pascal]MySQL 4.0 Files

2003-10-08 Thread Bernhard Steffen
IIRC, besides adding new data fields, they even changed the field order (!) in their communication structs between minor versions like from 3.22 to 3.23 - breaking the fpc mysql units every couple of month. Not very programmer friendly... Rainer Hantsch wrote: But why not include at least two m

[fpc-pascal]errors using FPC 1.9.4 (Win32)

2004-06-11 Thread Bernhard Steffen
After having used FPC 1.0.10 for the last months, today I switched to 1.9.4 (on a WinXP box), but cannot make it compile for most of my projects. Thanks for your help Bernhard - - scenario 1a) starting IDE in my source dir, not having changed fp.ini / fp.cfg / fp.dsk files from p

Re: [fpc-pascal]errors using FPC 1.9.4 (Win32)

2004-06-15 Thread Bernhard Steffen
Peter, thanks for your reply. I tried to break down the complete source code to send you a small code example, but wasn't able to reproduce it with those. (I cannot send you the complete source code.) The only additional bits of information I can give you are those: - I only got those errors whe

Re: [fpc-pascal] special meaning of -dRELEASE

2005-02-20 Thread Bernhard Steffen
Marc Santhoff wrote: >>This is no magic, see fpc.cfg > > But it looks that way, I was asking myself if I've left something out > because the binary shrunk from 520kB to 360kB. ;) IIRC, defining the symbol RELEASE means compiling in release mode. (Thus your internal switch does "interfere" with com

Re: [fpc-pascal] [OT] Mime attachments

2005-07-24 Thread Bernhard Steffen
I'm using Thunderbird as well, but not the digest form of free pascal mailing list. Works pretty good for me. Try using to receive each posting separately instead of a "blob" of digest - thus giving you the advantage of using the tree structure view of a subject thread. (each subject with every