Emerald Editor Discussion
May 26, 2017, 02:43:32 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: main() function  (Read 4284 times)
0 Members and 1 Guest are viewing this topic.
BOBR12
Prospector
*
Posts: 2


« on: August 22, 2009, 01:37:25 am »

Sorry if this seems like a foolish question. I am not a professional programmer but I am writing a Forth IDE and would like to use Crimson/Emerald Editor as my editor. It will save me months of work. I am using Visual Studio 2008 Professional, and I have downloaded the Crimson/Emerald Editor source code and it compiles without errors in VS 2008. My question is that I cannot find the main() function using File Search in VS 2008. I would appreciate any help. Thank you.
Logged
pn8830
Global Moderator
Jeweller
*****
Posts: 252



« Reply #1 on: August 25, 2009, 02:01:30 am »

I'm not a C++ guru either but it looks like in MFC WinMain function is used instead of main(). I was able to find id in Microsoft Platform SDK include directory - WinBase.h. If you try to work with Crimson Editor look into cedtapp.cpp creation of CCedtApp.

PN
Logged

Entities should not be multiplied beyond necessity
Phil
Administrator
Master Jeweller
*****
Posts: 427


« Reply #2 on: August 25, 2009, 04:00:57 am »

This post is similar to the one I answered at http://forum.emeraldeditor.com/index.php?topic=698.0 (on a CE forum).

I didn't delete this as a duplicate because I thought maybe he was looking for Emerald Editor's main function in this thread.

I have never looked at the EE codebase.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.135 seconds with 18 queries.