public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: API's that certainly do work. [was; Re: Windows API calls that don't work? (Was RE: Stupid stupid question :/)
       [not found] <33389B6F.1536@netcom.com>
@ 1997-03-26 10:43 ` A. Phillip Smith
  1997-03-27 15:33   ` linking with -mwindows DRS
  0 siblings, 1 reply; 4+ messages in thread
From: A. Phillip Smith @ 1997-03-26 10:43 UTC (permalink / raw)
  To: Jim Balter; +Cc: gnu-win32

> 
> DRS wrote:
> 
> -- stuff deleted --

I would prefer to think that the other Smith didn't try to link
with the -lkernel32 library. In which case, things probably did
work for him. If he ever is inclined to repeat the test with that
library, I'm sure he'll agree that this is not a figment of our
collective imaginations, and we can end this thread.

Phil Smith
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* linking with -mwindows
  1997-03-26 10:43 ` API's that certainly do work. [was; Re: Windows API calls that don't work? (Was RE: Stupid stupid question :/) A. Phillip Smith
@ 1997-03-27 15:33   ` DRS
  1997-03-27 15:33     ` A. Phillip Smith
  1997-03-27 22:51     ` Jim Balter
  0 siblings, 2 replies; 4+ messages in thread
From: DRS @ 1997-03-27 15:33 UTC (permalink / raw)
  To: A. Phillip Smith; +Cc: gnu-win32

A. Phillip Smith wrote:

> I would prefer to think that the other Smith didn't try to link
> with the -lkernel32 library. In which case, things probably did
> work for him. If he ever is inclined to repeat the test with that
> library, I'm sure he'll agree that this is not a figment of our
> collective imaginations, and we can end this thread.
> 
> Phil Smith

Of course you are right--the problem was not a "figment of your
imagination." But my question is, what happens when you 
use -mwindows instead of -lkernel32, -luser32, and -lgdi32? 
I thought -mwindows just rolled these into one script--but
I guess not. You see, somehow I *have* been linking to the 
functions in question (that's why my code has been working)
and you haven't. So perhaps you might like to re-phrase 
the above. The issue is not whether I have "tried linking" 
to the windows libraries. I have been doing this successfully
all along (apparently fools luck).

The issue is if *you* have tried linking using -mwindows. I 
posted some code earlier that I believe may work with the api
you wanted to employ. I hope you have tried it, and will verify my
conclusion.

Best Regards,
DRS
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linking with -mwindows
  1997-03-27 15:33   ` linking with -mwindows DRS
@ 1997-03-27 15:33     ` A. Phillip Smith
  1997-03-27 22:51     ` Jim Balter
  1 sibling, 0 replies; 4+ messages in thread
From: A. Phillip Smith @ 1997-03-27 15:33 UTC (permalink / raw)
  To: drs; +Cc: gnu-win32

> 
> A. Phillip Smith wrote:
> 
> > I would prefer to think that the other Smith didn't try to link
> > with the -lkernel32 library. In which case, things probably did
> > work for him. If he ever is inclined to repeat the test with that
> > library, I'm sure he'll agree that this is not a figment of our
> > collective imaginations, and we can end this thread.
> > 
> > Phil Smith
> 
> Of course you are right--the problem was not a "figment of your
> imagination." But my question is, what happens when you 
> use -mwindows instead of -lkernel32, -luser32, and -lgdi32? 
> I thought -mwindows just rolled these into one script--but
> I guess not. You see, somehow I *have* been linking to the 
> functions in question (that's why my code has been working)
> and you haven't. So perhaps you might like to re-phrase 
> the above. The issue is not whether I have "tried linking" 
> to the windows libraries. I have been doing this successfully
> all along (apparently fools luck).
> 
> The issue is if *you* have tried linking using -mwindows. I 
> posted some code earlier that I believe may work with the api
> you wanted to employ. I hope you have tried it, and will verify my
> conclusion.
> 
> Best Regards,
> DRS
> 
DRS,

I don't have your earlier code. Disambiguating my posting above,
let me make it clear that I also link with the APIs in my earlier mail
and others, and they work (as they did for you) ONLY when I link *implicitly*  
to KERNEL32.LIB using options '-mwindows' OR '-Wl, --subsystem,windows', but
NOT when using the '-lkernel32' gcc OPTION on NT. The option '-lkernel32' seems
to be the only library selection that causes the problem. It occurs with
or without the presence of the ld windows library selection options.

APS

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linking with -mwindows
  1997-03-27 15:33   ` linking with -mwindows DRS
  1997-03-27 15:33     ` A. Phillip Smith
@ 1997-03-27 22:51     ` Jim Balter
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Balter @ 1997-03-27 22:51 UTC (permalink / raw)
  To: drs; +Cc: A. Phillip Smith, gnu-win32

DRS wrote:
> 
> A. Phillip Smith wrote:
> 
> > I would prefer to think that the other Smith didn't try to link
> > with the -lkernel32 library.

> So perhaps you might like to re-phrase
> the above. The issue is not whether I have "tried linking"
> to the windows libraries.

The problem here is that you consistently fail to read what has actually
been written.

--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1997-03-27 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <33389B6F.1536@netcom.com>
1997-03-26 10:43 ` API's that certainly do work. [was; Re: Windows API calls that don't work? (Was RE: Stupid stupid question :/) A. Phillip Smith
1997-03-27 15:33   ` linking with -mwindows DRS
1997-03-27 15:33     ` A. Phillip Smith
1997-03-27 22:51     ` Jim Balter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).