FbEdit hack

Started by jcfuller, February 06, 2020, 02:41:34 PM

Previous topic - Next topic

jcfuller

Kevin,
  Something to chew on.
I have been using RadAsm3 as my bcx ide and it has issues.
It dawned on me I'll just use the hacked FbEdit I use for bc9.
Not so fast..
FbEdit sends options first then  quoted basic file and finally quoted rc file.

Any chance .... ???
James

MrBcx


jcfuller

Kevin,
To allow bcx to accept this format.
I hacked bc9 to accept it but it is a mess.

James

dgarner

I don't think BCX should be adapted to fit an editor.  The tools should adapt to (or support) the translator, compilers, linkers, etc.

MrBcx

#4
Ditto David ...

Mike Henning's unfinished but still quite capable scintilla-based BCX-Ide which is CODED IN BCX
and compiling with BCX 7.4.2 (beta) is much more to my liking.

Besides donating time to BCX, I have several labor-intensive projects that will continue to demand
portions of my attention and effort.  So unless some folks want to collaborate on taking up Mike's
BCXIDE project, any more discussion on this thread is wasted breath, as far as I'm concerned.


jcfuller


Enough said and I do agree  Just had to try:). Topic closed!!
Kevin,
Is Mike's source available. I checked the archives and did not find it.

James


Robert

Quote from: jcfuller on February 07, 2020, 07:04:35 AM

Enough said and I do agree  Just had to try:). Topic closed!!
Kevin,
Is Mike's source available. I checked the archives and did not find it.

James

Hi James:

After Mike Henning put BCXIDE aside, Doyle Whisenant picked it up and worked on it for quite a while. I have a copy of Doyle's work somewhere and can attach it here to a post or send it to you. Let me know if you want it. I also have a bunch of Mike's versions. I will look through them and see which is the latest if MrBCX can't fix you up.

MrBcx

Robert,

I only have one version of Mike's BCXIDE and I don't know if it is his last update, so I would like a copy too.

I had to fix an number of things in the version that I have to even get it to compile, so if I can get a copy
of the the latest version, I should be able to make the updates and upload it to the forum pretty quickly.

I tried Doyle's version a while ago and there are aspects that I liked about it but Mike's version, although far
from complete, seemed a lot more stable to me, so I stuck with it.  I use several editors depending on what
I'm doing and I'd love to be able to simplify to just one but that goal has been frustratingly elusive.

Robert

Quote from: MrBcx on February 07, 2020, 08:42:21 AM
Robert,

I only have one version of Mike's BCXIDE and I don't know if it is his last update, so I would like a copy too.

I had to fix an number of things in the version that I have to even get it to compile, so if I can get a copy
of the the latest version, I should be able to make the updates and upload it to the forum pretty quickly.

I tried Doyle's version a while ago and there are aspects that I liked about it but Mike's version, although far
from complete, seemed a lot more stable to me, so I stuck with it.  I use several editors depending on what
I'm doing and I'd love to be able to simplify to just one but that goal has been frustratingly elusive.

Mike Henning's March 1 2007 BCX Editor is attached to this post.

MrBcx

#9
Attached is a revised version of MIke Henning's last BCXIDE.

I fixed some bugs and silenced some warnings.

This project uses a 32-bit scintilla dll, so compile BCX-IDE only for 32-bit

This (currently) only compiles (for me) using Pelles C 9.0 --

MINGW coughs up a bunch of errors that I cannot investigate right now.

I added a BCXHelp.chm, Win32.chm, and an ABOUT box and sanitized the bcxide.ini file

I also added my Build.bat which calls my Pelles batch file which is also attached.

Tinkerer's can now hit the ground running ...

Thanks,
MrBcx


PS - the Win32 help file from Mike was not working, so I threw in a hack in BCXIDE.bas

This is all setup for C:\BCXIDE

Path changes may be necessary.



MrBcx

The attached contains updated source files that enable BCX-IDE to compile with MINGW and Pelles C

Robert

Quote from: MrBcx on February 07, 2020, 12:48:41 PM
The attached contains updated source files that enable BCX-IDE to compile with MINGW and Pelles C

F.Y.I. I just tried to compile BCXIDE with the Embarcadero bcc32.exe compiler and got this.



bcxide.cpp:
Error E2015 bcxide.cpp 9300: Ambiguity between 'std::fabs(double)' and 'std::fabs(float)' in function ProcSplitWindow(HWND__ *,unsigned int,long,unsigned int)
Error E2015 bcxide.cpp 9305: Ambiguity between 'std::fabs(double)' and 'std::fabs(float)' in function ProcSplitWindow(HWND__ *,unsigned int,long,unsigned int)
Error E2015 bcxide.cpp 9355: Ambiguity between 'std::fabs(double)' and 'std::fabs(float)' in function ProcSplitWindow(HWND__ *,unsigned int,long,unsigned int)
Error E2015 bcxide.cpp 9359: Ambiguity between 'std::fabs(double)' and 'std::fabs(float)' in function ProcSplitWindow(HWND__ *,unsigned int,long,unsigned int)
*** 4 errors in Compile ***
Turbo Incremental Link 6.91 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Fatal: Unable to open file 'BCXIDE.OB



She's saying, "You're just not my type!".  I understand the problem,  I just thought I would just pass this along as another reminder of the ease of C vs. C++. Earlier today I was ranting at James about C++ overloaded functions and how much I disliked them. And now this ...  Arrrgh!

Ian Casey (RIP)

I looked at what I have and Doyle's BME (BCX Mini Editor) from 2009 looks like it is almost a finished item. I'm not sure why Doyle stopped.
We need to encourage Doyle to look at it again.

MrBcx

Quote from: Robert on February 08, 2020, 03:46:58 AM

She's saying, "You're just not my type!".  I understand the problem,  I just thought I would just pass this along as another reminder of the ease of C vs. C++. Earlier today I was ranting at James about C++ overloaded functions and how much I disliked them. And now this ... 

C > C++


MrBcx

Quote from: iancasey on February 08, 2020, 09:29:55 AM
I looked at what I have and Doyle's BME (BCX Mini Editor) from 2009 looks like it is almost a finished item. I'm not sure why Doyle stopped.
We need to encourage Doyle to look at it again.

I fixed some obvious errors in Doyle's editor and got it to compile with PellesC -- it seemingly runs okay -- needs testing.
Pelles reported a boatload of warnings - mostly unused variables and possible usage before initialization warnings that I'd like
to clean up before I upload an updated version -- maybe later today or this evening.  (I'm installing a new kitchen floor this weekend, so no promises.)


I attempted compiling it with Mingw -- it compiles but instantly dies when I run it -- the UI never displays, not even briefly.