On Windows XP, using TDM's GCC/MinGW32 for basic development i.e. gcc 4.4.x with gdb. Which unit testing framework to use for test driven development?
Apparently Check's unit tests don't yet work on Windows.
The questions at Unit Testing Frameworks for C and Unit Testing C Code are similar but not specifically about using gcc 4.4.x on ...
I´ve an desktop aplication using VS2005.
The application write a XML document into a application´s folder.
When a run with a administrator the application run OK, but when a run like simple user (haven´t access rights) I receive the access denied message error.
My application will be distributed to multiple users, and therefore could ...
I am trying to create a .bat file that starts the ASP.NET Dev Server outside of Visual Studio, and then opens the site in a browser. What I have so far does successfully start the Dev Server, but then it stops there and doesn't open the browser.
Here is what I have in my .bat file:
"C:\Program Files\Common Files\Microsoft Shared\DevSe...
I have a WCF Server running on IIS 6 using a application pool with a custom identity
right now the I looked on the web for two days and I can't find the exact answer to my problem. I know there are a lot of similar ones outer there
On IIS6 the virtual directory has anonymous access disable and Integrated Windows authentication enabled...
I know Windows uses LLP instead of the LP data model, but is there a predefined variable or something? on OS X/Linux you can use __LP64__.
...
Hello,
I got a program written in unmanaged C++, I need to get the cultural info from the system and set that info to the current execution thread in my c++ application.
Thanks.
...
I have the desire to benchmark a Client/Server application (GUI) written in Java, on a Windows platform. I'm doing this so I can identify where the Application platform will break when scaled to 100s of users. This is not my application, I do not have source code.
I know packages like selenium exist for web apps, but I haven't seen ...
Hi,
I am creating a new Desktop in Windows XP/Vista and 7 using win32 API.
This is more like having a secure Desktop and I don't want let any other application to be executed in that Desktop.
Well, in Windows XP if I press strg+shift+Esc or strg+alt+ent, in the Desktop which I created, I don't see the task manger on my Desktop but inst...
So I'm participating in one of the Code Golf competitions where the smaller your file size is, the better.
Rather than manually removing all whitespace etc, I'm looking for a program or website which will take a file, remove all whitespace (including new lines) and return a compact version of the file. any ideas?
...
This should be a simple one:
I have a CDialog with 2 buttons.
The dialog is always opened in full screen (No title bar \ Status, etc...) using m_pMainWnd->ShowWindow(SW_MAXIMIZE);
I want my buttons to snap to the edge of the screen.
There are no resizing or anything.
...
I'm printing using CreateDC, passing in a valid DEVMODE structure and getting NULL returned which indicates an error but GetLastError returns 0.
m_hDC = ::CreateDC(L"WINSPOOL", PrinterName, NULL, pDevMode);
if (m_hDC == NULL)
{
throw Exception(GetLastError(), __LINE__, _T(__FILE__));
}
This is working for all of my customers apart f...
Hi,
I wish to build my own application which can send keyboard commands(messages) to the Windows OS.
For example when I press ctrl+shit+n, I wish to launch the notepad.exe . How can I do that? Do you have some advices for me about the concept used.
I've read that is possible when are used keyboard hooks? That's the only way? Do you ...
When a COM+ application is created the wizard offers to choose between a library and a server application.
A server application is activated in a separate process and this can be used to cheaply interop 64-bit consumers with 32-bit in-proc COM components.
What's the use of library applications that are activated right in the caller pro...
Ok, I'm getting crazy and I don't know what else to do, I've tried several things and nothing is working.
Look at this sample code (test.cmd):
setlocal enabledelayedexpansion enableextensions
set VAR=before
if "%VAR%" == "before" (
set VAR=after;
if "%VAR%" == "after" @echo If you see this, it worked
)
This is the generated o...
We're having problems on windows creating a video file from gource (gource). We can run gource and watch the video live but don't seem to be able to get any useful physical output.
...
Suppose I have a static library libx.a. How to I make some symbols (not all) from this library to be always present in any binary I link with my library? Reason is that I need these symbols to be available via dlopen+dlsym. I'm aware of --whole-archive linker switch, but it forces all object files from library archive to linked into resu...
Hi...,
I am trying to add appointment to calendar (using pimstore.lib n .h) using win ce...I am trying as follows:
CoCreateInstance(CLSID_Application, NULL, CLSCTX_INPROC_SERVER,
IID_IPOutlookApp, reinterpret_cast(&polApp))
polApp->Logon(NULL);
polApp->CreateItem(olAppointmentItem, (IDispatch**)&pAppt);
...
Hi,
Is there an available tool which hooks the windows COM runtime?
I want to be able to see all the instances which get created, view queries to their interfaces, method calls, etc.
Thanks!
...
What is the preferred unit testing tool for C development in Visual Studio?
...
How do I setup a message queue that automatically sends all it's messages to another server?
I'm working on a proof of concept for a system that needs to run on multiple servers, writing to local message queues, then have a central service on another server running that reads its local queue to pick up all the messages from the other se...