I am evidently not very good at C++ so please excuse me if this is a
dumb question...
I would like to create a common dialog modeled after something like
the windows file dialog, that would be in a dll and could be called by
multiple other software products; currently Powerbuilder and C++ apps
would be the caller. My attempts to do this so far have failed. Could
anyone point me to, or give me a simple example of, a modal dialog
program that can be invoked directly by a caller? Or, possibly at
least explain the steps involved to me?
Thanks,
Libby 13 5362
Libby wrote: I am evidently not very good at C++ so please excuse me if this is a dumb question... I would like to create a common dialog modeled after something like the windows file dialog, that would be in a dll and could be called by multiple other software products; currently Powerbuilder and C++ apps would be the caller. My attempts to do this so far have failed. Could anyone point me to, or give me a simple example of, a modal dialog program that can be invoked directly by a caller? Or, possibly at least explain the steps involved to me?
Thanks, Libby
Since you are not very good at C++, I will be gentle with you.
The C++ has an area of functionality described by the C++ standard.
Extra functionality can be added to a program by using platform
or compiler specific libraries. Dialog windows are in this area.
They are not part of the _standard_ C++ library and are not
discussed in this newsgroup. You will need to ask the experts
in a more appropriate newsgroup. The C++ FAQ and Welcome.txt
listed below will contain references to more appropriate
newsgroups.
--
Thomas Matthews
C++ newsgroup welcome message: http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq: http://www.raos.demon.uk/acllc-c++/faq.html
Other sites: http://www.josuttis.com -- C++ STL Library book
Two suggestions:
1. if you're developing for MS operating system, look into their
visual c++ or visual basic .NET. You can create DLLs with those.
2. look into wxWindows, a cross-platform GUI toolkit
( http://www.wxwindows.org/). They have a file dialog in their
library. Warning: you may need to dig around a little to set it up on
your system.
"Thomas Matthews" <Th**********************@sbcglobal.net> wrote in message
news:9g*******************@newssvr31.news.prodigy. com... Libby wrote: I am evidently not very good at C++ so please excuse me if this is a dumb question... I would like to create a common dialog modeled after something like the windows file dialog, that would be in a dll and could be called by multiple other software products; currently Powerbuilder and C++ apps would be the caller. My attempts to do this so far have failed. Could anyone point me to, or give me a simple example of, a modal dialog program that can be invoked directly by a caller? Or, possibly at least explain the steps involved to me?
Thanks, Libby
Since you are not very good at C++, I will be gentle with you. The C++ has an area of functionality described by the C++ standard. Extra functionality can be added to a program by using platform or compiler specific libraries. Dialog windows are in this area. They are not part of the _standard_ C++ library and are not discussed in this newsgroup. You will need to ask the experts in a more appropriate newsgroup. The C++ FAQ and Welcome.txt listed below will contain references to more appropriate newsgroups.
This is a beautiful response. My hat is tipped to you, Thomas.
--
Gary
"Libby" <Li**********@netscape.net> wrote in message
news:ae**************************@posting.google.c om... I am evidently not very good at C++ so please excuse me if this is a dumb question... I would like to create a common dialog modeled after something like the windows file dialog, that would be in a dll and could be called by multiple other software products; currently Powerbuilder and C++ apps would be the caller. My attempts to do this so far have failed. Could anyone point me to, or give me a simple example of, a modal dialog program that can be invoked directly by a caller? Or, possibly at least explain the steps involved to me?
Thanks, Libby
Libby. Get a decent windows compiler. Most will let you build dlls
Bloodshed dev c++ for one. :-)
"Starr" <St***@polaris.org> wrote in message
news:bp**********@pita.alt.net... "Libby" <Li**********@netscape.net> wrote in message news:ae**************************@posting.google.c om... I am evidently not very good at C++ so please excuse me if this is a dumb question... I would like to create a common dialog modeled after something like the windows file dialog, that would be in a dll and could be called by multiple other software products; currently Powerbuilder and C++ apps would be the caller. My attempts to do this so far have failed. Could anyone point me to, or give me a simple example of, a modal dialog program that can be invoked directly by a caller? Or, possibly at least explain the steps involved to me?
Thanks, Libby
Libby. Get a decent windows compiler. Most will let you build dlls Bloodshed dev c++ for one. :-)
Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version
of gcc.
--
Derek
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... "Libby" <Li**********@netscape.net> wrote in message news:ae**************************@posting.google.c om... I am evidently not very good at C++ so please excuse me if this is a dumb question... I would like to create a common dialog modeled after something like the windows file dialog, that would be in a dll and could be called by multiple other software products; currently Powerbuilder and C++ apps would be the caller. My attempts to do this so far have failed. Could anyone point me to, or give me a simple example of, a modal dialog program that can be invoked directly by a caller? Or, possibly at least explain the steps involved to me?
Thanks, Libby Libby. Get a decent windows compiler. Most will let you build dlls Bloodshed dev c++ for one. :-)
Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version of gcc.
its all one package and it's my preferred one. -- Derek
"Starr" <St***@polaris.org> wrote in message
news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net...
Yes, though Dev-C++ is actually the IDE. The compiler is the mingw
version of gcc. its all one package and it's my preferred one.
Yes, and it's mine too. Though the compiler's rather better for console apps
then GUI ones.
--
Derek
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net...
Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version of gcc. its all one package and it's my preferred one.
Yes, and it's mine too. Though the compiler's rather better for console
apps then GUI ones.
really? I write mostly gui stuff and it does well for me :-) not bad for a
freebie huh? -- Derek
"Starr" <St***@polaris.org> wrote in message
news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... > "Starr" <St***@polaris.org> wrote in message > news:bp**********@pita.alt.net... > > Yes, though Dev-C++ is actually the IDE. The compiler is the mingw
version > of gcc. > its all one package and it's my preferred one.
Yes, and it's mine too. Though the compiler's rather better for console apps then GUI ones.
really? I write mostly gui stuff and it does well for me :-) not bad for a freebie huh? -- Derek
In my current program, if I run it in the debugger and open a file the app
crashes. It runs perfectly from within Dev, or from Explorer.
Apart from that though, it's an excellent package. And the price is nice!
--
Derek
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... > > "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message > news:10***************@ananke.eclipse.net.uk... > > "Starr" <St***@polaris.org> wrote in message > > news:bp**********@pita.alt.net... > > > > Yes, though Dev-C++ is actually the IDE. The compiler is the mingw version > > of gcc. > > > its all one package and it's my preferred one.
Yes, and it's mine too. Though the compiler's rather better for
console apps then GUI ones.
really? I write mostly gui stuff and it does well for me :-) not bad for
a freebie huh? -- Derek
In my current program, if I run it in the debugger and open a file the app crashes. It runs perfectly from within Dev, or from Explorer.
Apart from that though, it's an excellent package. And the price is nice!
eesh. Have you done an update? the debugger could be faulty. ere let me look
at it <pulls out clumsy looking mallet> I see the problem <clank clank> yes
your chassis is bent <clank clank> whoops well it is now :-D -- Derek
"Jeff" <je********@yahoo.com> wrote in message
news:7b**************************@posting.google.c om... Two suggestions: 1. if you're developing for MS operating system, look into their visual c++ or visual basic .NET. You can create DLLs with those. 2. look into wxWindows, a cross-platform GUI toolkit (http://www.wxwindows.org/). They have a file dialog in their library. Warning: you may need to dig around a little to set it up on your system.
Jeff, MFC is specific to msdev and not to other windows compilers.
--
Derek
"Starr" <St***@polaris.org> wrote in message
news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... > In my current program, if I run it in the debugger and open a file
the app crashes. It runs perfectly from within Dev, or from Explorer.
Apart from that though, it's an excellent package. And the price is
nice! eesh. Have you done an update? the debugger could be faulty. ere let me
look at it <pulls out clumsy looking mallet> I see the problem <clank clank>
yes your chassis is bent <clank clank> whoops well it is now :-D
Just a few minutes ago upgraded to gdb 6.0 - both problems still there :(
Derek
"Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message
news:10***************@ananke.eclipse.net.uk...
-- Derek "Starr" <St***@polaris.org> wrote in message news:bp**********@pita.alt.net... "Derek Baker" <me@XYZderekbaker.eclipse.co.uk> wrote in message news:10***************@ananke.eclipse.net.uk... > > In my current program, if I run it in the debugger and open a file the app crashes. It runs perfectly from within Dev, or from Explorer.
Apart from that though, it's an excellent package. And the price is nice! eesh. Have you done an update? the debugger could be faulty. ere let me
look at it <pulls out clumsy looking mallet> I see the problem <clank clank> yes your chassis is bent <clank clank> whoops well it is now :-D
Just a few minutes ago upgraded to gdb 6.0 - both problems still there :(
<lneds yoou mallet> Derek
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: John Lauwers |
last post by:
Hello,
Is there a way to move the commondialog to a specific position ?
Greets John
|
by: Gord |
last post by:
Hello,
Does anyone know how to access the caption property on a command button
within the common dialog control? Specificaly, I'm trying to change the
caption of the 'Open' button in the 'Open...
|
by: Ron Nolan |
last post by:
Re: Access 2000
Has anyone been able to find information in the online help on the
topic of "Common Dialog Control?
If so, what did you type in your search to receive the information?
I've been...
|
by: George |
last post by:
Is there a way to customize the open file common dialog? I am trying to
modify the button text so I can create a delete file common dialog. I need
the same functionality of the open file common...
|
by: Adam |
last post by:
I have a form that has a timer running on it (System.Timers.Timer). On this form, I have a button that opens a Common Dialog box. As soon as this button is pressed, the timer stops running. When I...
|
by: Bo Gusman |
last post by:
A curious problem, one that I think I've seen before.
I have a .250 MLOC vb6 app that uses the common dialog control. If I
select File/Open in my app to display the file open dialog and then...
|
by: Steve Barnett |
last post by:
I need to include a wizard in my application that will, as one of the steps,
ask the user to select a file to open and (later) a file to save it as. The
naff way to do this would be to have a...
|
by: =?Utf-8?B?SmltIFdhbHNo?= |
last post by:
I have an VC++ MFC Win32 application that isn't working correctly when I
build it with VS2005. The problem seems to be in some ADO ActiveX controls
that came with VS6 and are now out of support....
|
by: =?Utf-8?B?TWlrZTE5NDI=?= |
last post by:
This is an example that is supposed to work in VB
http://support.microsoft.com/kb/175512/en-us
After spending a couple of hours downloading and installing VB Express 2008
after someone told me it...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |