PureZip -> Programm hängt sich komplett auf ?!?

Für allgemeine Fragen zur Programmierung mit PureBasic.
Benutzeravatar
Thorsten1867
Beiträge: 1360
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

PureZip -> Programm hängt sich komplett auf ?!?

Beitrag von Thorsten1867 »

Seit 2 Tagen bin ich auf der Suche nach einem mysteriösen Fehler, der mein Programm sich aufhängen lässt und kann inzwischen wohl nicht mehr klar denken.
Beim Debuger-Lauf funktioniert alles bestens, allerdings sobald ich eine EXE erstellen und diese laufen lassen, reagiert das Programm nicht mehr (auch kein OnError funkioniert).
Inzwischen habe ich folgende Zeile als Übeltäter ausgemacht:

Code: Alles auswählen

PureZIP_AddFile(ZipDatei$, TempFile$, #PureZIP_DontStorePath)
Nach dem Absturz existiert die Datei ZipDatei$ zwar, allerdings mit 0 Byte. Beim Debugerlauf erhalte ich eine gültige ZIP.

Vielleicht hat irgendjemand eine Idee oder einen Tipp.

(PureBasic 4.51 / Windows 7 Professional 64Bit)
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
c4s
Beiträge: 1235
Registriert: 19.09.2007 22:18

Re: PureZip -> Programm hängt sich komplett auf ?!?

Beitrag von c4s »

Thorsten1867 hat geschrieben:Vielleicht hat irgendjemand eine Idee oder einen Tipp.
Im englischen Forum gnozal (den Ersteller dieser Lib) fragen. :wink:
"Menschenskinder, das Niveau dieses Forums singt schon wieder!" — GronkhLP ||| "ich hogffe ihr könnt den fehle endecken" — Marvin133 ||| "Ideoten gibts ..." — computerfreak ||| "Jup, danke. Gruss" — funkheld
Benutzeravatar
Thorsten1867
Beiträge: 1360
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

Re: PureZip -> Programm hängt sich komplett auf ?!?

Beitrag von Thorsten1867 »

Ich habe die MiniZip-Include von TS-Soft gefunden und ausprobiert.

Kein Absturz mehr! <) Wäre ich nur vor 2 Tagen schon darauf gekommen, hätte mir das eine Menge Zeit und Nerven gespart.
Wieder Mal DANKE an TS-Soft!
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Benutzeravatar
gnozal
Beiträge: 219
Registriert: 04.12.2004 13:01
Wohnort: Frankreich (67)
Kontaktdaten:

Re: PureZip -> Programm hängt sich komplett auf ?!?

Beitrag von gnozal »

Thorsten1867 hat geschrieben:Seit 2 Tagen bin ich auf der Suche nach einem mysteriösen Fehler, der mein Programm sich aufhängen lässt und kann inzwischen wohl nicht mehr klar denken.
...
Inzwischen habe ich folgende Zeile als Übeltäter ausgemacht:

Code: Alles auswählen

PureZIP_AddFile(ZipDatei$, TempFile$, #PureZIP_DontStorePath)
Hi Thorsten1867,

PureZIP is x86 but should run on x64 (if compiled with PB x86).
Without code and some details (library version, thread-safe / unicode mode, ...) I can't fix the issue (if any).

However, note that PureZIP does support umlauts (and french accents).
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
Benutzeravatar
Thorsten1867
Beiträge: 1360
Registriert: 04.02.2005 15:40
Computerausstattung: [Windows 10 x64] [PB V5.7x]
Wohnort: Kaufbeuren
Kontaktdaten:

Re: PureZip -> Programm hängt sich komplett auf ?!?

Beitrag von Thorsten1867 »

Sorry, I'm not able to reproduce the error with a short code and the complete program has over 40.000 code lines.

- OS: Win 7 Prof. 64Bit
- PureBasic X86
- PureZip: last Version for PB V4.51
- no thread-safe
- no unicode
- no "Umlaute"
Download of PureBasic - Module
Download of PureBasic - Programmes

[Windows 11 x64] [PB V6]

Bild
Antworten