Hello, André!
I saw in your group entry message that you plan to use the Designer with xHarbour. Just to clarify: the Designer was developed with a focus on Harbour, but that doesn’t mean you can’t adapt it.
To do this, you’ll need to replace Harbour in the folder with xHarbour or adjust the configuration accordingly. Additionally, you must do the same with MiniGUI by downloading the version compiled for xHarbour from the official site.
It's essential to ensure that you have the correct combination: xHarbour compiled with a compatible version of BCC and MiniGUI compiled for xHarbour. Without this setup, you might run into tedious errors.
If you're already used to compiling everything yourself, you'll likely understand what to do just by looking at the Designer’s structure.
The Designer automatically generates all scripts for hbmk2, which, by default, is set up for Harbour. However, since xHarbour has libraries with different names, my suggestion is:
This will save you a lot of time, especially if your project is large. Later, you can use the modified .BAT file to recompile your project. Just keep in mind that whenever you add new files, you’ll need to update them in your scripts manually.
This way, you can still take advantage of the Designer’s development features. If you encounter any issues, feel free to post them here, and either I or another member will respond as soon as possible.
Also, remember that hbmk2 is a tool designed for Harbour but works very well with xHarbour.
In the future, once you're comfortable with the tool, you can even implement your own automated compilation process within the Designer. However, I recommend leaving that for later—diving into complex customizations too soon might give you the wrong impression of what the tool offers.
Welcome to the group, and best regards!
BR;
Olá, André!
Vi que você mencionou na mensagem de entrada do grupo que pretende usar o Designer com xHarbour. Só para esclarecer: o Designer foi desenvolvido com foco no Harbour, mas isso não significa que você não possa adaptá-lo.
Para isso, você precisará substituir o Harbour na pasta pelo xHarbour ou ajustar a configuração correspondente. Além disso, será necessário fazer o mesmo com a MiniGUI, baixando a versão compilada especificamente para xHarbour disponível no site.
É importante garantir que você tenha a combinação correta: xHarbour compilado com uma versão compatível do BCC e MiniGUI compilada para xHarbour. Sem essa correspondência, você pode enfrentar erros difíceis de solucionar.
Se você já está acostumado a compilar tudo por conta própria, ao analisar a estrutura do Designer, provavelmente já saberá como proceder.
O Designer gera automaticamente todos os scripts para o hbmk2, que por padrão considera o Harbour. No entanto, como o xHarbour tem bibliotecas com nomes diferentes, minha sugestão é:
Isso facilitará bastante, especialmente se o seu projeto for grande. Depois, você pode usar esse .BAT ajustado para recompilar seu projeto. Só fique atento para incluir manualmente novos arquivos nesses scripts conforme necessário.
Dessa forma, você mantém as facilidades do Designer no seu fluxo de trabalho. Caso encontre algum problema, é só postar aqui no grupo que eu ou algum outro membro responderemos assim que possível.
Vale lembrar que, embora o hbmk2 seja uma ferramenta do Harbour, ele funciona muito bem no xHarbour também.
No futuro, quando estiver mais confortável com a ferramenta, você pode até implementar sua própria automação de compilação no Designer. Mas recomendo deixar isso para depois, para evitar confusões antes de entender bem o básico.
Seja bem-vindo e grande abraço!