1
vote
1answer
49 views

Statically measuring the maximum stack memory required for a method in C

I have a large number of methods written in C spread across multiple files and all of them create local variables (mostly structure instances). After compiling these with ARM EABI GCC compiler on ...
0
votes
2answers
29 views

How to Detect Maximize event on multi-monitor system

On windows, C/C++ how do I detect the "maximize event" on WM_WINDOWPOSCHANGING message when the system has multiple monitors? That is, when the window is maximized on any display? (Code for other ...
0
votes
1answer
30 views

Can I fopen with shared read write?

Can I create a file in C that will be accessible at any time in user mode? I mean like zwcreatefile(...shareread||sharewrite...) Can I make it with fopen in user mode ? I want my log file ...
0
votes
1answer
63 views

How to watch winapi dll function calls with C++

I'm trying to write a program which should catch WinAPI dll calls, such as Registry reading/editing or file reading/writing. I know that reading a registry record is done by using the RegOpenKeyExW ...
1
vote
1answer
23 views

Compile Openssl with MinGW on Windows - fatal error: openssl/md4.h: No such file or directory

I did: Installed MinGW+MSYS Installed ActivePerl Added all I need to the PATH Downloaded latest Openssl and unzipped it into C:\openssl Did in my cmd.exe: perl Configure mingw shared ...
0
votes
1answer
17 views

execl() causes an application crash

I compiled and ran the following program with TCC under Windows 7 and got an application crash: #include <process.h> int main(void) { if (execlp("c:\\windows\\system32\\whoami.exe", ...
-1
votes
1answer
34 views

How to set minimum and maxiumum window size

Thanks for your response, I looked into SendMessage but got a little stuck, I am now using this code: HWND hwnd = GetForegroundWindow(); MINMAXINFO info; POINT minSize = {500, 500}, maxSize = {600, ...
1
vote
1answer
64 views

How to output unicode characters in C/C++ [duplicate]

I have problems with outputing unicode characters in Windows console. I am using Windows XP and Code Blocks 12.11 with mingw32-g++ compiler. What is the proper way to output unicode characters in ...
0
votes
1answer
37 views

Documentation on virtual folders

I am looking for documentation for the Windows API on how to make virtual folders. I am going to make sort of my own file system and would like to have an icon under "Computer" for that file system. I ...
-1
votes
1answer
42 views

Convert const char* to LPCTSTR

I have a function that returns me a string as const char *: const char* get_text(); I need to call a function AfxMessageBox(LPCTSTR text). How can I convert the string that I got by get_text()?
-2
votes
0answers
50 views

Develop an education application or game [on hold]

I want to create an application for Windows (only). My background is in shell scripting (ksh-Unix). Pretty weak in C++, no idea of Java. I learnt SDL on C and developed a reasonable app which plays ...
-2
votes
3answers
55 views

Where does one actually write the code for C? [on hold]

Pretty straightforward. Is it in notepad? I read somewhere it was in a compiler, but I just wanted to verify this. If it is in a compiler can anyone recommend a good one? I'm on Windows by the ...
0
votes
1answer
22 views

Reading audio stream to output device

I was curious if there is a way to read the data that is being sent to an audio output. My end goal is to capture the audio and then send it over serial for audio processing. I'm using a Windows ...
1
vote
3answers
64 views

Serial communication between linux and windows

I am sending data bytes from linux to windows in serial RS232 then everything is ok, only i have to handle 0xa send from linux, because windows read it as 0xd + 0xa. but when i am sending data bytes ...
1
vote
0answers
27 views

Obtaining MinGW installation with GCC 4.1.1

I need to use the GCC compiler version 4.1.1 on Windows, from a MingGW distribution if possible. I've been looking for a way to install an older version with the mingw-get installer but I don't find ...

1 2 3 4 5 188
15 30 50 per page