Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
July 30, 2002 Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
I am the maintainer of an OpenSource product called Eraser see http://www.heidi.ie/eraser While looking for a way to compile the DOS version I came upon Digitalmars. What I would like to do is recompile the entire product with DM. This task has proven to be bigger than I anticipated as almost all the files fail to compile in DM. Eraser has about a 1million downloads a year. Making eraser compilable with DM would allow many more people to make their own changes to the code. Currently the need to own VC6 or VC7(.Net) makes playing with eraser's source accessible only to those with large $$$ to spend. This I would like to change. Kind regards Garrett Trant http://www.heidi.ie |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Garrett Trant | Garrett Trant wrote: > I am the maintainer of an OpenSource product called Eraser see > http://www.heidi.ie/eraser > > While looking for a way to compile the DOS version I came upon Digitalmars. > > What I would like to do is recompile the entire product with DM. > > This task has proven to be bigger than I anticipated as almost all the files > fail to compile in DM. What kind of error/failer messages do you get? Why do you want to make a dos version? It seems to be a Windows program? Or did you mean to make a win32 console version? > > Eraser has about a 1million downloads a year. Making eraser compilable with > DM would allow many more people to make their own changes to the code. > Currently the need to own VC6 or VC7(.Net) makes playing with eraser's > source accessible only to those with large $$$ to spend. This I would like > to change. > > > Kind regards > > Garrett Trant > http://www.heidi.ie > > > |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Garrett Trant | Indeed you are talking about a DOS version in this newsgroup, but all that seems
to be available on sourceforge is a Windows version.
Do you want to compile both versions with DM?
Should not be to much of a big deal, but I guess it will be a bit of work.
If almost all files fail to compile with DM, let us know what the errors are and
if they are the same. It might be just one simple thing in one header file
included in the majority of sources files...
Jan
Garrett Trant wrote:
> I am the maintainer of an OpenSource product called Eraser see http://www.heidi.ie/eraser
>
> While looking for a way to compile the DOS version I came upon Digitalmars.
>
> What I would like to do is recompile the entire product with DM.
>
> This task has proven to be bigger than I anticipated as almost all the files fail to compile in DM.
>
> Eraser has about a 1million downloads a year. Making eraser compilable with DM would allow many more people to make their own changes to the code. Currently the need to own VC6 or VC7(.Net) makes playing with eraser's source accessible only to those with large $$$ to spend. This I would like to change.
>
> Kind regards
>
> Garrett Trant
> http://www.heidi.ie
|
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | > Do you want to compile both versions with DM? Yes very much so. > If almost all files fail to compile with DM, let us know what the errors are and I was going to do that except I felt a DM guru might see quick solutions to some of the problems. > if they are the same. It might be just one simple thing in one header file All different. e.g Compiling the verify app I get in .rc file >FONT 8, "MS Sans Serif", 0, 0, 0x1 error expected begin Later in same file TCS_MULTISELECT is undefined in Launcher.h I get // SHEmptyRecycleBin >>typedef HRESULT (STDAPICALLTYPE *SHEMPTYRECYCLEBIN)(HWND, LPCTSTR, DWORD); ')' expected Garrett |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to user | I have the DOs version working. It is the windows version my request is about; > What kind of error/failer messages do you get? Many different types all MFC related. I have after 2 days not got a single component (DLL or EXE) fully compiled. > Why do you want to make a dos version? It seems to be a Windows There is a DOS & Win32 Console version as well All versions are included in the one package on sourceforge. Garrett |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Garrett Trant | Garrett Trant wrote: > > Do you want to compile both versions with DM? > Yes very much so. > > > If almost all files fail to compile with DM, let us know what the errors > are and > I was going to do that except I felt a DM guru might see quick solutions to > some of the problems. > > > if they are the same. It might be just one simple thing in one header file > All different. > e.g Compiling the verify app I get in .rc file > >FONT 8, "MS Sans Serif", 0, 0, 0x1 > error expected begin The M$ resource editor breaks definitions in two lines. RC can not handle those putting the definition on one line will solve the problem. > Later in same file TCS_MULTISELECT is undefined That should be defined in commctrl.h, but I might be using a newer version. > in Launcher.h I get > // SHEmptyRecycleBin > >>typedef HRESULT (STDAPICALLTYPE *SHEMPTYRECYCLEBIN)(HWND, LPCTSTR, DWORD); > > ')' expected This is defined in a 'newer' Win32 header file, not yet included with DMC++ Jan |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | On Tue, 30 Jul 2002 10:17:09 -0400, Jan Knepper <jan@smartsoft.cc> wrote: ------------8< big snip >8------------ >That should be defined in commctrl.h, but I might be using a newer version. ------------8< another snip >8------------ >This is defined in a 'newer' Win32 header file, not yet included with DMC++ > >Jan > I really need to get newer Win32 header files and libraries, too, but I can't download the Platform SDK from Microsoft because I am not running a version of NT. All I have is Win98SE. Will more recent headers and libraries eventually be included in DMC? Is there even a tentative timeframe? Thanks! ../frank |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Frank Albe | Frank Albe wrote: > On Tue, 30 Jul 2002 10:17:09 -0400, Jan Knepper <jan@smartsoft.cc> wrote: > > ------------8< big snip >8------------ > >That should be defined in commctrl.h, but I might be using a newer version. > ------------8< another snip >8------------ > >This is defined in a 'newer' Win32 header file, not yet included with DMC++ > > > >Jan > > > > I really need to get newer Win32 header files and libraries, too, but I can't download the Platform SDK from Microsoft because I am not running a version of NT. All I have is Win98SE. > Will more recent headers and libraries eventually be included in DMC? I certainly hope so! > Is there even a tentative timeframe? <g> Not that I am aware of. Jan |
July 30, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Garrett Trant | "Garrett Trant" <gtrant@-nospam-heidi.ie> wrote in message news:ai5sn0$2fhi$1@digitaldaemon.com... > I am the maintainer of an OpenSource product called Eraser see http://www.heidi.ie/eraser Eraser is a pretty cool program. I think it's great that you're working on a Digital Mars port of it. The problems you're having appear to be caused by dependencies on newer Windows SDK header files than are shipped with DMC. The easiest workaround is to create your own header, say, mywin32.h, and insert into it any missing definitions needed by eraser. Then #include that file. |
August 01, 2002 Re: Help wanted to compile an app with DM + MFC | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | Walter Thanks for the tip. I believe Jan has newer versions of MFC available. I'll wait until then. Thanks for the reply. Garrett "Walter" <walter@digitalmars.com> wrote in message news:ai76uh$1i17$3@digitaldaemon.com... > > "Garrett Trant" <gtrant@-nospam-heidi.ie> wrote in message news:ai5sn0$2fhi$1@digitaldaemon.com... > > I am the maintainer of an OpenSource product called Eraser see http://www.heidi.ie/eraser > > Eraser is a pretty cool program. I think it's great that you're working on a > Digital Mars port of it. > > The problems you're having appear to be caused by dependencies on newer Windows SDK header files than are shipped with DMC. The easiest workaround is to create your own header, say, mywin32.h, and insert into it any missing > definitions needed by eraser. Then #include that file. > > |
Copyright © 1999-2021 by the D Language Foundation