windows « visualstudio « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » visualstudio » windows 

1. Creating Windows service without Visual Studio    stackoverflow.com

So creating a Windows service using Visual Studio is fairly trivial. My question goes a bit deeper as to what actually makes an executable installable as a service & how ...

2. what is this command in c# "C:\\WINDOWS\\system32\\vsjitdebugger.exe -p %ld -e %ld -g %ld\"    stackoverflow.com

Hi i came across this command, i want to know what this command for, and what are the options for? i am looking for brief introduction & any source links for basic explanation. Thanks, ...

3. Compiling C-code from the Command Prompt in Windows?    stackoverflow.com

I want to compile C code from the Command Prompt in Windows. I have added the environment variable to the PATH and I can compile .cs files with: csc app.cs That's OK, ...

4. Visual Studio Designer: problem with custom component selection change    stackoverflow.com

I have a component derived from IComponent (also tried to derive from Component) The problem:
If I have 2 my custom components on the form, and one of them is selected, then ...

5. What is the preferred unit testing tool for C development in Visual Studio?    stackoverflow.com

What is the preferred unit testing tool for C development in Visual Studio?

6. Using a separate version control system for changes when main version control is not accessible    stackoverflow.com

Here is my situation:

The project I'm working on right now uses a version control system (Microsoft Team Foundation) that's hosted and managed remotely by the ...

7. how to write unicode hello world in C on windows    stackoverflow.com

im tyring to get this to work:


#define UNICODE
#define _UNICODE
#include <wchar.h>

int main()
{
    wprintf(L"Hello World!\n");
    wprintf(L"£?, ?, ?!\n");
    return 0;
}
using visual studio 2008 express ...

8. how to view printf output in win32 app on visual studio 2010?    stackoverflow.com

How can you view printf output in a win32 application (entering with a WinMain) on visual studio 2010?

9. Idiots Guide to compiling curl with ssh in Windows    stackoverflow.com


I am not a c developer, but I have been asked to to compile curl with ssh. I have downloaded the source for curl, libssh2 and openssl. I have ...

10. Include directory precedence in VS2010    stackoverflow.com

Just installed VS2010 on Windows 7 and am having an issue with include directories while attempting to compile existing C code. VS2010 appears to search the project directory first for ...

11. Mouse cursor bitmap    stackoverflow.com

i am trying to get bitmap from mouse cursor, but with next code, i just can't get colors. Please a little help... Thanks in advance :)

CURSORINFO cursorInfo = { 0 };
cursorInfo.cbSize = ...

12. serial communication in visual studio using windows.h    stackoverflow.com

I m new to the visual studio I want to trnsfer and receive some data from LPC2148 kit for thisI want to do the serial communication in Visual studio. I have used ...

13. Compiling C with Emacs on windows system    stackoverflow.com

I have a little bit of C programming experience from school, but it was all Unix. I want to compile some C with Emacs, using Emacs as a second IDE. ...

14. After compiling a release version my application is started acting weird    stackoverflow.com

I made an application in Visual Studio 2010 Express. First i compiled a debug version, and it worked perfectely, but after compiling a release version it freezes.
My application should work like ...

15. Way to differentiate between cmd line args and drag-onto-icon args in Windows?    stackoverflow.com

I have a Windows GUI app written in C (MinGW) and would like to have the app perform different tasks depending on whether it was launched via the command line with ...

16. How to register a font correctly?    stackoverflow.com

In my company we have an application for software deploying (WinInstall). I wanted to create a small paket to install a barcode font to the user, so he/she doesn't had to ...

17. What is the default generator for CMake in Windows?    stackoverflow.com

When running CMake on one PC, CMake generates NMake files by default. On another, it generates a Visual Studio project. I know I can override the default by adding -G "NMake Makefiles" ...

18. how to use time api in C under VS 2010 for windows    stackoverflow.com

i am using srand function to generate random values as below on MS VS 2010.

srand( (unsigned)time( NULL ) ); 
i have been thrown with following error.
error C3861: 'time': identifier not found
Am ...

19. My Windows Service Application is not running when onStart (ODBC, C#, Visual Studio 2008)    stackoverflow.com

I have just written a program to run as a Windows Service Application, GasMeterMonitoring; however when I start this application on my local machine, nothing happens at all.
The Program is ...

20. Included directories not being found when using CMake on Windows    stackoverflow.com

This project compiles find when run under Linux, but fails when I try to make a VC solution for Windows. The error is:

e:\src\audio\audio.h(5): fatal error C1083: Cannot open include file: 'portaudio.h': ...

21. Visual Studio 2010 runtime check failure # 3    stackoverflow.com

It looks like that Microsoft is backfiring again in VS2010. Here's my code

#include "string.h"
typedef struct s_test
{
    unsigned char a[20];
} t_test, *p_test;
void initialize(t_test t)
{
    memset(t.a, 0, ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.