| |
|
|
| Hello Frank, Hello Community, following question have I. at that attempt one Image with a others as BMP-stature To loading, fractures the program always with a Exception Error ex. subesquent code have I with BMP uses, the functions:
$H ProSpeed.ph Declare name# Dim name#, 8 Declare hBMP& Window 0, 0 - 640, 480 String name#, 0 = AL1.BMP hBMP& = ~LoadExtBMP(name#, %HDC) ~CopyExtBMP(%HDC, 0, 0, 400, 268, hBMP&, 0, 0, 0) WaitKey ~FreeExtBMP(hBMP&) End
try I gleiches with GIF and following Änderung:
$H ProSpeed.ph Declare name# Dim name#, 8 Declare hBMP& Window 0, 0 - 640, 480 String name#, 0 = AL1.GIF here other stature hBMP& = ~LoadExtImage(name#, %HDC) here another commands ~CopyExtBMP(%HDC, 0, 0, 400, 268, hBMP&, 0, 0, 0) WaitKey ~FreeExtBMP(hBMP&) End
exit the Error on.
One attempt The interface the DLL auszulesen, end with the Error: Internal error at 0x42213f with base 0x400000. The CRC the ProSpeed.DLL (Size of 24064 Bytes, date of 21.06.2002, Uhrzeit 22.23) is 300332aa. make I something wrong? Tschüss Stefan |
|
|
| |
|
|
|
| Hello Stefan,
LoadExtImage() has only one parameter, during LoadExtBmp() two Parameter own.
~LoadExtImage(name#) must it means correctly. hot, then ought to it klappen.
---
The ProSpeed.dll is with ASPack gepackt, The tatsächliche Size lying with ca. 50kb.
Greeting, Frank |
|
|
| |
|
|
|
| Funktionierts now ?
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank, first thanks for your response. so is the, there have I already a Documentation, and read only the I reading wants or. what me so The menschliche analogy unterjubelt. will be me better or. it try.
now sees the program so from:
$H ProSpeed.ph Declare name$, hBMP& Window 0, 0 - 640, 480 name$ = AL1.GIF hBMP& = ~LoadExtImage(Addr(name$)) ~CopyExtBMP(%HDC, 0, 0, 400, 268, hBMP&, 0, 0, 0) WaitKey ~FreeExtBMP(hBMP&) End
it diving now no Exception Error More on, separate the image appear simply not. I have it with GIF89a and GIF87a probiert and the wide the Bildes is through 4 divisible. have You Perhaps yet a good hint, Why it lying could? Tschüss Stefan |
|
|
| |
|
|
|
| Hi,
I use almost never Header-Files. do you need The Dll lest to open ? have you got time attempts, a solid way for the Image To use ? wide / 4 is to that loading of Images not necessary. If everything nothing helps, could you me the image send what about me try it by me time To loading. usually go any Gif-Standarts supported.
Greeting, Frank |
|
|
| |
|
|
|
| Hello Frank, Hello Community, around the Topic to that end To bring, two Erkenntnisse having itself yield:
1. ProSpeed runs under windows 95 B first entire, if the DCOM95 Update installs is.
2. its always necessary ProSpeed through UseDLL einzubinden, too with the usage of Header-Files.
Tschüss Stefan |
|
|
| |
|
|
|
| thanks Stefan.
the DCom95 Update becomes only for functions LoadExtImage(), LoadExtMemory() and LoadExtResource() coercive needed.
Greeting, Frank |
|
|
| |
|
|