Tanto no 3.2 quanto no 3.4 não precisa da dll.
A dll é opcional.
Não sei o que fizeram no 3.2
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Talvez isso não compile no Borland c.... e aí tiraram de todos.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Pera aí... falei besteira.... justamente eu estou usando SEM DLL.
Não tiraram... mas dá erro no programa de teste.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
O modo default é com dll, gerando dlls
E no linux é mais dll ainda, se instalar o harbour padrão sem modificar nada, vai obrigar dlls do harbour, e não vai conseguir gerar aplicativo que não use dll.
Eu uso o modo "enfia dll no seu"
Não quero saber de nada do harbour em dll.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Olá!
Aqui pra mim no win10 tá tudo ok.
Compila e gera estático e via DLL.
Não sei como vc fez. Mas no manual precisa da linha indicando onde se encontra os arquivos .h para gerar a lib estática.
Só acrescentei o local da DLL para a lib não estática.
Itamar M. Lins Jr. escreveu:Não sei como vc fez. Mas no manual precisa da linha indicando onde se encontra os arquivos .h para gerar a lib estática.
Só acrescentei o local da DLL para a lib não estática.
Eu sempre faço do mesmo jeito.
Baixo fontes do github e compilo.
Se não tá nesse download não interessa.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
No meu aplicativo faço uso da harupdf, está funcionando normal.
O EXEMPLO DO HARBOUR é que está dando erro, deve usar coisas que não uso ou sei lá.
A harupdf fica dentro do EXE.
Usava assim no harbour 3.4 e uso assim no harbour 3.2
A diferença é que o exemplo do 3.4 funciona, e o do 3.2 não.
por falar nisso.... testar compilar o exemplo do 3.4 com 3.2 pra ver se funciona....
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Size: 104436
Saved: .F.
Some problems in creating the PDF!
Compilando o exemplo do 3.4 com 3.2 dá erro, mas não dá GPF.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Pelo que mostrou no post anterior, parece que tudo deu certo, só não salvou.
Size: 104436
Saved: .F.
Some problems in creating the PDF!
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Pera aí que agora o troço endoidou.
Fazer do zero pra tentar entender.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
source code: d:\github\harbour32
HB_INSTALL_PREFIX: d:\harbour
apaguei pasta harbour, menos compilador C, recriei o harbour
compilando \github\harbour32\contrib\hbhpdf\tests\harupdf.prg tudo ok
compilando \harbour\contrib\hbhpdf\tests\harupdf.prg GPF erro
Comparando fontes, tudo igual
comparando EXEs
d:\github\harbour32\contrib\hbhpdf\tests>fc harupdf.exe \harbour\contrib\hbhpdf\tests\harupdf.exe
Comparando os arquivos harupdf.exe e \HARBOUR\CONTRIB\HBHPDF\TESTS\HARUPDF.EXE
00000088: B6 A5
000000D8: 68 57
2 bytes diferentes, pode ser data/hora ou sei lá
Conferi antivírus pra ver se tem pasta inclusa na checagem ou fora, tudo igual
Posso repetir isso trocentas vezes, o resultado é sempre o mesmo, o compilado numa pasta funciona, o outro não.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/
Já apaguei as pastas, pra ver se podia ser algum temporário perdido.
Já tentei tudo possível.
Compilar numa pasta funciona, compilar na outra pasta não
O que não funciona, é na pasta de instalação do harbour, que o próprio harbour cria.
Mesmo assim, todo conteúdo bate com o original.
José M. C. Quintas
Harbour 3.2, mingw, gtwvg mt, fivewin 25.04, multithread, dbfcdx, MySQL, ADOClass, PDFClass, SefazClass, (hwgui mt), (hmg3), (hmg extended), (oohg), PNotepad, ASP, stored procedure, stored function, Linux (Flagship/harbour 3.2) "The world is full of kings and queens, who blind our eyes and steal our dreams Its Heaven and Hell" https://github.com/JoseQuintas/