Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / Am I doing this right ?

Author
Message
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 29th Jun 2005 03:01
Hi All

Trying to make an open dialog box for the printer have got so far but can't find out why I get a memblock error.

if you think you can follow it help me put it right.
p.s. modifed function of JessTicular open and save file.
{edit}
code update


If the above way is barking up the wrong tree lets us know and i go and cry in the corner.

I'm not getting you down am I, Ho Look! another fancy Door?
Eddie B
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location:
Posted: 29th Jun 2005 05:08
load dll "C:WINDOWSSYSTEM32user32.dll",user32
comdlg32 = _find_fee_dll()
load dll C:WINDOWSSYSTEM32comdlg32.dll",comdlg32

Change that bit to this:

load dll "user32.dll",user32
comdlg32 = _find_fee_dll()
load dll comdlg32.dll",comdlg32

!HI! : where can get the user32 dll from and how do i use it?
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th Jun 2005 03:05
Right Done as above, but it still won't open a gui for printing which is what I am hoping this will do.

If think I have missed something give a some info please.

if I put back into the program line

`Write MemBlock Dword PRINTDLGEX,40,_get_str_ptr(Pages) :`lpPageRanges
and

`Write MemBlock Dword PRINTDLGEX,52,_get_str_ptr(Copies) :`nCopies

they break the function they call , and I don't see why?

So if anyone has and idea on how to get it going they are very welcome to try.



I'm not getting you down am I, Ho Look! another fancy Door?

Login to post a reply

Server time is: 2024-11-21 14:02:07
Your offset time is: 2024-11-21 14:02:07