|
corina.beer wrote: I checked with a breakpoint and all the values for time were all right - no weird looking data...I will run in in Debug and put a TRACE
You can't break and look at values on a release version (data will be bogus).
|
|
|
|
|
Albert Holguin wrote: You can't break and look at values on a release version Are you sure? I've debugged a release build before. All it needed was the PDB file.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
Not completely sure... I know you can break, but the values it shows you won't always be accurate (at least that's what I've found). So I don't do it at all anymore... I only use breaks in debug builds.
|
|
|
|
|
There is OutputDebugString() function I can use to display the values in Release mode. I will try it...
|
|
|
|
|
Helloo..
Help me plz............
I have two different applications (SDI).
I want to call the second application from the button click of the first (without calling the EXE).
Let me know how I can call?????
|
|
|
|
|
sachanratnesh wrote: without calling the EXE Then you need to convert it to a DLL, or a COM server.
Veni, vidi, abiit domum
|
|
|
|
|
thanks for your reply..
if i dont want to use the DLL or COM as well as the EXE, is there is any other way to execute the application???
as we know that application will open by calling the "CreateWindow" and "ShowWindow" function.
can we call such function from another application??????????
|
|
|
|
|
sachanratnesh wrote: can we call such function from another application Short answer: No. Longer answer: You can use the CreateProcess [^] function, but that seems not to be what you want. Perhaps you could explain in better detail exactly what you are trying to do.
sachanratnesh wrote: ?????????? A single question mark is sufficient.
Veni, vidi, abiit domum
|
|
|
|
|
I am using VC++/C++ in my product, in which i want to add one functionality (Picture Viewer).
Which I got from NET, shown in the following link.
http://www.codeproject.com/Articles/5065/Thumbnails-viewer-and-image-processing-using-GDI-a
Now I want to add this functionality in my product (simply when user clicks the button).
|
|
|
|
|
Then you need to take the source code from the article and modify it to your needs.
Veni, vidi, abiit domum
|
|
|
|
|
I am with Richard - He forgot to mention that you could also make it a static library (*.lib).
In other news:
A Java backend, Windows Service or RESTful API would probably do the job, too - You get the idea.
|
|
|
|
|
thanks for your reply..
if i dont want to use the DLL or COM as well as the EXE, is there is any other way to execute the application???
as we know that application will open by calling the "CreateWindow" and "ShowWindow" function.
can we call such function from another application??????????
|
|
|
|
|
|
Marco Bertschi wrote: He forgot to mention that you could also make it a static library No, I deliberately did not mention it since very few people seem to understand that such a thing exists, even though in practically every case, it would be more efficient than a DLL.
Veni, vidi, abiit domum
|
|
|
|
|
Alright, I didn't want to accuse you of anything wrong - I think it is easier to use, and, in most cases it is faster.
|
|
|
|
|
Marco Bertschi wrote: I didn't want to accuse you of anything wrong You didn't; I was just explaining why I only suggested a DLL - but I may also suggest .LIB in future.
Veni, vidi, abiit domum
|
|
|
|
|
+1
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
pkfox wrote: +1 Is that down vote or just a minor up?
Veni, vidi, abiit domum
|
|
|
|
|
Good morning, I don't get the option of upvoting on my tablet so its my way of saying "I agree with you"
We can’t stop here, this is bat country - Hunter S Thompson RIP
|
|
|
|
|
Veni, vidi, abiit domum
|
|
|
|
|
I have an MFC C++ desktop application (unmanaged code)that still uses DBGrid. What control would be a good replacement. I am displaying record sets in the control, fixing the number of rows in the control and range checking each cell value when leaving the cells. Vertical scrolling may be necessary.
Thanks for your input
Clayton
|
|
|
|
|
Is there something specific that DBGrid (I'm not familiar with it) doesn't give you, or is it looking dated, or ...?
|
|
|
|
|
DBGrid is dated. I have a number of annoyances with it, I have listed some of my issues below.
Documentation is scarce.
It is not well supported in VS2012. One can crash VS2012 by editing through the Property Pages dialog (try setting the headfont to bold).
Trying to provide error checking on a cell basis when leaving a cell seems dependent on what method you chose to leave the cell(Tab key versus arrow key).
It is slow to fill from a database.
The necessity to change rows before an update is done to the data.
Clayton
|
|
|
|
|
|
Hi,
I'm reading this old article about window regions from file: CreateRegionFromFile[^]
Sice this article is very old, I'd like to know if there is a better solution for this, and also if there is a quick way to do this using Codeblocks instead of VC++ dependant code.
Thanks for the help,
Luca
|
|
|
|