Suspending threads
Thu, 14 Aug 2008 14:31:32 +0100
Hi,
If I create a thread in the non-suspended state and then call:
SuspendThread(hThread);
how do I know that the thread isn't already suspended when I call this?
Ideally, I'd like something like this:
if (GetThreadSuspendCount(hThread) == 0)
SuspendThread(hThread);
but the MSDN documentation is ...
|
validation COM pointers in release builds
Wed, 13 Aug 2008 00:25:01 -0700
I am using a piece of code like this:
CDOCSObject * pObject = NULL;
map<CString, CDOCSObjectCacheItem *>::iterator cacheItr =
m_DOCSObjectCache.find(strID);
if ( cacheItr != m_DOCSObjectCache.end() )
{
pObject = (*cacheItr).second->m_pObject;
pObject->AddRef();
}
return pObject;
pObject->AddRef() ...
|
validating COM pointer in release builds
Wed, 13 Aug 2008 00:25:01 -0700
I am using a piece of code like this:
CDOCSObject * pObject = NULL;
map<CString, CDOCSObjectCacheItem *>::iterator cacheItr =
m_DOCSObjectCache.find(strID);
if ( cacheItr != m_DOCSObjectCache.end() )
{
pObject = (*cacheItr).second->m_pObject;
pObject->AddRef();
}
return pObject;
pObject->AddRef() ...
|
SlideShow "*.jpg" files developing in C# "OutOfMemoryException"
Thu, 7 Aug 2008 11:55:01 -0700
I´m developing a digital portrait photos for my pocket pc in C# whit .NET CF
2.0.
And i have a problem with memory when my board working with high resolution
photos in jpg, i have a big problem because my board don´t have graphics
aceleration and i need to solve this problem in software.
i was create an ...
|
Using Visual Studio as an IDE for VxWorks
Wed, 6 Aug 2008 10:10:02 -0700
Hello,
I was wondering if anyone here has used Visual Studio 2008 for development
of VxWorks programs. I've been scouring the web and trying to figure out what
the build file would look like.
Any one have a direction to point me towards?
Thanks, ...
|
CSS and MasterPages in VS2008
Tue, 5 Aug 2008 07:05:36 -0700 (PDT)
Hi,
I've inherited a web application built in VS2008 on the 2.0 framework.
The previous designer has introduced MasterPages to the application
and applied a CSS style through the MasterPage. It seems that this
style isn't being applied through to the ContentPages as all my
CssStyle and class tag values are ma ...
|
Data is posted back every time when usng F5
Tue, 5 Aug 2008 07:03:02 -0700
Hi,
In my web application when hiting the F5 the data is posted again and again.
Button is a User Control and is been used many places, problem is with only
one palce.
The button is used to generate report, on clicking that the data will be
posted to SQL to insert a record and a process is started to g ...
|
|
|
Split a cell?
Mon, 4 Aug 2008 12:08:40 -0700 (PDT)
VS 2005 (using VB). Silly question, but while VS does have a way to
quickly merge cells, to my knowledge, it doesn't have the
corresponding SPLIT cell command. Does this even exist in VS?
I've been copying the code into FrontPage (which does the split and
merge quite easily), then pasting it back to VS.It's cu ...
|
Automatic features
Sun, 3 Aug 2008 18:56:18 -0700
I typed ********** and a dashed line appeared.
I wanted to make an area that I pasted information into for a referance.
Once I obtained the informaiton I attempted to erase the dotted line. It
will not erase, and keeps moving. I erased what I originally pasted, but it
remains.
--
dbach ...
|
How create wizard on Visual Basic?
Fri, 1 Aug 2008 13:48:35 -0400
Hello am noob on Visual basic 2008 can any one please help me how Create a
Wizard aplication ?
...
|