calling command-line preprocessor in code?
Wed, 13 Aug 2008 10:50:59 -0700 (PDT)
I have a program that uses flex and yacc to interpret a C-like
scripting language. The first step is a system call to the command-
line compiler for preprocessing. For example:
FILE * yyin ;
yyin = _popen ("cl.exe /nologo /E myScript.c", "r") ;
and then the flex/yacc magic takes over.
This of cours ...
|
SharePoint
Wed, 13 Aug 2008 08:48:07 -0700
Can I use Visual Studio 2005 to work on sites built in Windows SharePoint
Server?
Thanks,
Joel ...
|
Thread suspend count
Wed, 13 Aug 2008 15:12:51 +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 i ...
|
VS 2008 sp1 crashes
Wed, 13 Aug 2008 06:52:38 -0700
I cannot install vs2008 sp1 (VS90sp1-KB945140-ENU.exe) on Win XP.
The problem seems to be related to .NET framework 3.5 sp1 (which is included
in vs2008 sp1). -I get the same error when I install sp1 for .Net framework
3.5. Heres what's in dd_dotnetfx35error.txt:
[08/13/08,13:48:01] XPSEPSC Installer: [2] Er ...
|
aspnet_wp.exe
Wed, 13 Aug 2008 11:29:24 +0300
Debugger error,
error message:
Cannot detact from one or more processes:
[3016] aspnet_wp.exe: The debugger is still attaching to the process.
Do you want to terminate them instead
Click Yes,
error message:
Unable to start debugging on the web server. The Operation has timed out
Click Help for more inf ...
|
validating COM pointers in release builds
Wed, 13 Aug 2008 00:26:13 -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() ...
|
can't set break on all exceptions
Tue, 12 Aug 2008 18:04:32 -0600
Hi;
Under debug the menu item that lets me select if I want to break on
all exceptions has disappeared. I am running VS2005 (have to - J#) but
with the Team Edition pack for it installed.
Any ideas?
thanks - dave
david@at-at-at@windward.dot.dot.net
Windward Reports -- http://www.WindwardReports.com
m ...
|
|
|
VB.Net 2008 run project
Tue, 12 Aug 2008 10:57:56 -0400
How do you create a formless program? I have a project now that has a
button to fire off an event. Is there away when you run the project to fire
the button click event when you run the project?
...
|
Debugging unusable in SP1
Tue, 12 Aug 2008 04:26:47 -0700 (PDT)
Hi,
just installed SP1 for .net 3.5 and vs 2008.
Now when I am debugging, devenv uses 100% cpu, and the text editor
window is inactive. So for example on breakpoints the code I am
stopped at is not displayed. Scrollbars can be adjusted but the text
shown in the text area is not updated, i can click on other t ...
|
transferring files with windows XP
Tue, 12 Aug 2008 01:03:01 -0700
Hi - and a very early good morning to you. I recently purchased a Dell which
is loaded with windows XP and cannot for the life of me figure out how to
tranfer files (gif, jpg, ttf, etc.) from my hard drive to my hosted files
(private and paid host). How do I do this? Can it be done? Do I need some
software? ...
|