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 / Open/Save dialogs? GetOpenFileName? C++

Author
Message
N3wton
14
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 29th Jul 2009 15:51
Hi,

I'm making my first ever dll for dbpro, I have made it work with messageboxs, which I know isn't hard, but still made me proud

so next I thought Open and Save dialogs. but I don't even know where to start I figured it had something to do with GetOpenFileName?

I really have no idea

so anyhelp, or tutorials people no off are more than welcome

Yours
N3wton

Phjon
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location:
Posted: 29th Jul 2009 16:41
N3wton,

I found a short while ago this code snippet made by Jess T. It shows how you can access Open/Save file dialogs:



It is written in DBPro, but it might help you to work out how this sort of thing could be done as a dll.
N3wton
14
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 29th Jul 2009 16:57
Yer i've seen that before, infact its what i was using before i thought i'd make a dll

yours
N3wton

N3wton
14
Years of Service
User Offline
Joined: 3rd Jun 2009
Location: Leeds, UK
Posted: 29th Jul 2009 17:47
Well after 8 hours of trial and error, 12 cups of coffe, 4 pints and a bacon sandwhich...

I did it

yeys

Yours
N3wton

chunks chunks
17
Years of Service
User Offline
Joined: 2nd Jan 2007
Location: ackworth uk
Posted: 29th Jul 2009 18:07
cool well done , you have blue gui don`t you , you can now download the plugins source that will give you plenty of info , but you must be able to understand classes to make sense of it all .

chunks.

nvidia geforce 9500gt + amd athlon 64
windows vista ultimate.
PJSB_DK
17
Years of Service
User Offline
Joined: 11th Mar 2007
Location: Denmark
Posted: 5th Aug 2009 23:08
I've already made such a dll.
You can get it using the link below,if you're interested.
It contains a lot of other functions too.

Best regards
Peter.

http://forum.thegamecreators.com/?m=forum_view&t=121276&b=1

To control yourself, use your head; to control others, use your heart.

Login to post a reply

Server time is: 2024-04-18 07:25:38
Your offset time is: 2024-04-18 07:25:38