|
Thanks an aweful lot. I appreciate your help
|
|
|
|
|
Loved to help!
Papa
Murex Co.
|
|
|
|
|
hi,
is it dangerous usnig pointers and mfc containers in a dll?
does using regular stl in a mfc dll cause any memory leak?
bye.
|
|
|
|
|
You've got to be careful about the version of the C run-time library you're using. For the main app and all the DLLs involved this has to be of type DLL (be it multi- or single-threaded, debug or release), and it has to be exactly the same version. Taking this precaution, things should be OK (I think.)
As for the pointers, it is the same situation as with STL with respect to allocation/deallocation in different componenents of the program.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
hi,
I have 2 files-myclass.h & myclass.cpp.
The .h,as usual,contains the declarations and the .cpp the implementation.the class is a hand coded class which doesnot derive from any mfc or others.
Now,i think the compiler is not finding the implementation because I get lnk2001 error.
Why?should i set some project settings or something.i dont see any reason for this everything seems normal.I am really getting kranky with this.
please help.
|
|
|
|
|
Please post the entire message error you're getting, this might help us spot the problem.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
none of the functions are recognised and undefined external link(the general lnk2001) is given.
I have also declared the functions inline but no use
|
|
|
|
|
1. is the file in your project?
2. if the functions are _inlne, then they're probably in a .H file. is anything #including this file?
-c
30% of your base are belong to the IRS!
|
|
|
|
|
I would like to know to things:
Is it possible to write a program that shows a flash movie?How
Is it possible to launch the browser in full screen from a program?I dont mind if this is not in c++.
The problem with javascript is that it does it whenyou click a botton.
Santiago Suárez R.
|
|
|
|
|
Santiago Suárez wrote:
Is it possible to write a program that shows a flash movie?How
When you buy Flash, it comes with an activex control. Worst-case scenario, you could embed the Flash Player window into your own app and send it messages, but I'm not sure about the legal issues with that method.
Santiago Suárez wrote:
Is it possible to launch the browser in full screen from a program?
See my above post.
Jeremy L. Falcon<nobr>
Homepage : Sonork = 100.16311
"It was a blind man who taught me how to see." - Aerosmith
|
|
|
|
|
I must connect to a USB port on a Web Embedded Device.
Anybody know how I can do this?
Thanks
Diego
|
|
|
|
|
|
They are screen coords.
Look at the documentation it is very clear.
|
|
|
|
|
Hi. Another question,
I currently call ResizeParentToFit(false); in my CView::OnDraw. It resizes my windows to fit the dimension of the image I draw inside it.
However the CView screen becomes too big when I display an image that is larger than the screen, and user has no access to the lower/right borders of the window. What are the function calls I can do to make sure that the CView window's right and bottom border only becomes as big as the ParentWindow?
Thanks!
|
|
|
|
|
try these two functions:
SetScrollSizes()
MoveWindow()
|
|
|
|
|
Hi guys,
I have a MDI program with CView and CDocument. The CView windows popup with white background. Does anyone know how I can change that into gray, or for that matter, any color other than white? Thanks for the help.
|
|
|
|
|
I think this is the proccess:
Overriden OnEraseBck .Use GetClientDC to get bound of your white window and change the color with GDI tools.
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
Thanks! Worked like a charm.
|
|
|
|
|
Hi everybody,
I wonder how can I insert a set of records once in Ole Db. I've refered to MSDN but I can't found out the corresponding document.
I know the CRowset has a method named Inset, but there is no detailed example. So please help and give me some codes illustrating the typical use.
Thank you.
|
|
|
|
|
There are some articles about Ole DB in CP.I've not read them but maybe they help you.
http://codeproject.com/database/#OLE%20DB
Mazy
"The more I search, the more my need
For you,
The more I bless, the more I bleed
For you."The Outlaw Torn-Metallica
|
|
|
|
|
Hi Guys,
I have a Win32 Conole application that simply continously displays a 'results' file. and at the bottom of console I give the user option to enter X to exit.
I want the console window to totally disappear/shutdown when the user enters 'X'
I don't want to see the 'Press any key to continue' prompt
If I use 'exit' or 'return' in my code I still get the 'Press any key to continue' prompt.
How can I get my app to just exit with out gettong the 'any key' prompt???
Cheers
Zed's dead, baby. Zed's dead.
|
|
|
|
|
Sounds like you are calling the console app from a batch file. If so, you need to change the batch file, not the app.
|
|
|
|
|
Checl out the FreeConsole() API
Dylan Kenneally
London, UK
|
|
|
|
|
Guess ur launching the application from Visual C++ am i right?
Papa
Murex Co.
|
|
|
|
|
I use the MS VCC+ 6.0 Compiler. After a system-crash i have
great problems, to open the project. During opening the
project uses nearly 100% of CPU an i can wait a long time.
The same by changing in the project.
What can i do?
|
|
|
|