What code I should use to access current threadID and print it in TRACE statement when running a app in debugger mode?
I tried 'TRACE("+ + somewhere in a function=<%d> + +\n", @TIB + 0x24 );' and it did not work, though '@TIB + 0x24' worked in watch window.
Thanks.
Xiaoming
Hi, Jeffery:
My goal is to have one CControlBar-derived class object which shows two objects of CListCtrl derived classes in the CMDIFrameWnd of my application. One CListCtrl object will be at the left and the other CListCtrl object will be at the right of client area of the CContrlBar object...
Hi,
Our app's main frame contains a client window on left side and CSplitterWnd on right side of the Main frame's client area.
My question is that: is there way to create a second CSplitterWnd which is independent with the first CSplitterWnd? The second CSplitterWnd is expected to located at...
HI,
Is there any MS article which describes how to repeatly call a function of CMainFrm class in a .exe file from a function of a class in a .dll file?
Thanks.
Xiaoming
Hi,
We use Coldfusion Server 4.5 on Unix. The following code
produced unexpected date:
<cfoutput>
#DateFormat(now()-1,"mm/dd/yyyy")#<br>
#DateFormat(FirstDayOfMonth('01/01/1900'),"mm/dd/yyyy")#<br>
#DateFormat(FirstDayOfMonth('01/01/1950'),"mm/dd/yyyy")#<br>...
Hi,
Following is a coldfusion code that roughly calculates the time in second used by a stored procedure. If you want the formate in your post, you can further convert the time in second to hour, minute, and second.
<cfset smpstart=((hour(now()))*3600 + (minute(now()))*60 + second(now()))>...
Hi,
I am writing a cfm page, which calls four stored procedures to get info from Informix Database. My question is: do I get fast response/performance boost if I combine/integrate the four into one stored procedure, which return all info the page required.
Thanks.
Xiaoming
Hi,
I am writting a cfm page which queries data from informix databse and it takes a couple of seconds up to dozens of minutes dependent on input argments for the query.
From coldfusion admin page, we set up the timeout request as 30 seconds.
However, I like to know whether there is a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.