From: serj@hea.iki.rssi.ru
To: cygwin@cygwin.com
Subject: using MFC with cygwin
Date: Thu, 22 Aug 2002 09:51:00 -0000 [thread overview]
Message-ID: <133253712409.20020822172902@hea.iki.rssi.ru> (raw)
Hello,
I have unix console application. I want to use this application as a
back-end for windows GUI application. This GUI application is written
using MFC. I find out that there is no way to use cygwin *.o objects
and *.dll libraries in VC++ projects because of gcc and msvc compiler
uncompatibilities.
So i cannot use cygwin+gcc to compile my back-end and msvc to compile
GUI front-end. Am i right?
I cannot use msvc to compile entire project.
Can i compile MFC GUI application using cygwin+gcc? I tried to do it
but i have some problems:
Compiler cannot find MFC headers and some win32 headers like tchar.h.
I copy tchar.h to cygwin's win32 include directory and use gcc with
-I<path_to_mfc_headers> option.
But i still have problems:
/cygdrive/c/visualstudio/vc98/mfc/include/afx.h:621: variable or field `__fastca
ll' declared void
/cygdrive/c/visualstudio/vc98/mfc/include/afx.h:621: parse error before `('
/cygdrive/c/visualstudio/vc98/mfc/include/afx.h:1523: confused by earlier errors
, bailing out
So can i combine cygwin API functions with MFC?
--
Best regards,
Serj mailto:serj@hea.iki.rssi.ru
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next reply other threads:[~2002-08-22 13:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-22 9:51 serj [this message]
2002-08-22 11:15 lhall
2002-12-11 22:55 ` Samuel
2002-12-12 7:51 lhall
2002-12-12 8:48 Michael D. Crawford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=133253712409.20020822172902@hea.iki.rssi.ru \
--to=serj@hea.iki.rssi.ru \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).