www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++.windows.32-bits - Help wanted to compile an app with DM + MFC

↑ ↓ ← "Garrett Trant" <gtrant -nospam-heidi.ie> writes:
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
Jul 30 2002
user domain.invalid writes:
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
 
 
 

Jul 30 2002
↑ ↓ → "Garrett Trant" <gtrant -nospam-heidi.ie> writes:
I have the DOs version working. It is the windows version my request is
about;
 What kind of error/failer messages do you get?

component (DLL or EXE) fully compiled.
 Why do you want to make a dos version? It seems to be a Windows

All versions are included in the one package on sourceforge. Garrett
Jul 30 2002
Jan Knepper <jan smartsoft.cc> writes:
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

Jul 30 2002
↑ ↓ "Garrett Trant" <gtrant -nospam-heidi.ie> writes:
 Do you want to compile both versions with DM?

 If almost all files fail to compile with DM, let us know what the errors

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

e.g Compiling the verify app I get in .rc file
FONT 8, "MS Sans Serif", 0, 0, 0x1

Later in same file TCS_MULTISELECT is undefined in Launcher.h I get // SHEmptyRecycleBin
typedef HRESULT (STDAPICALLTYPE *SHEMPTYRECYCLEBIN)(HWND, LPCTSTR, DWORD);


')' expected Garrett
Jul 30 2002
↑ ↓ Jan Knepper <jan smartsoft.cc> writes:
Garrett Trant wrote:

 Do you want to compile both versions with DM?

 If almost all files fail to compile with DM, let us know what the errors

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

e.g Compiling the verify app I get in .rc file
FONT 8, "MS Sans Serif", 0, 0, 0x1


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
Jul 30 2002
↑ ↓ Frank Albe <falbe mindspring.com> writes:
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.

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
Jul 30 2002
↑ ↓ → Jan Knepper <jan smartsoft.cc> writes:
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.

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
Jul 30 2002
"Walter" <walter digitalmars.com> writes:
"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.
Jul 30 2002
↑ ↓ "Garrett Trant" <gtrant -nospam-heidi.ie> writes:
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

 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

 definitions needed by eraser. Then #include that file.

Aug 01 2002
↑ ↓ Jan Knepper <jan smartsoft.cc> writes:
Does erase use MFC?
If so, which version?

Jan



Garrett Trant wrote:

 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

 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

 definitions needed by eraser. Then #include that file.


Aug 01 2002
↑ ↓ → "Garrett Trant" <gtrant -nospam-heidi.ie> writes:
eraser will was compiled with VC6 and I have recompiled the current version
with VC7. The VC6 version of MFC should work.

One of the errors is with CArray. I have downloaded the versions (4.21 Head)
from the DM website and tried those.

Garrett

"Jan Knepper" <jan smartsoft.cc> wrote in message
news:3D498698.4502B2FB smartsoft.cc...
 Does erase use MFC?
 If so, which version?

 Jan



 Garrett Trant wrote:

 Walter
 Thanks for the tip. I believe Jan has newer versions of MFC available.


 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



 a
 Digital Mars port of it.

 The problems you're having appear to be caused by dependencies on



 Windows SDK header files than are shipped with DMC. The easiest



 is to create your own header, say, mywin32.h, and insert into it any

 definitions needed by eraser. Then #include that file.



Aug 01 2002