I wrote my own reference counted memory manager c++ (for fun) and I'm sure it isn't perfect ;) . And now when I'm trying to use it I got random SIGTRAP signals. If I comment out every line which are in connection with that memory manager everything runs fine. Getting SIGTRAP-s instead of SIGSEGV is quite strange.
I know that SIGTRAP-s ar...
I will be building a server/client software on Windows, where many machines need to communicate with a Postresql database running on the server. This is C++ software so I will use libpq to connect to the database.
If I do this, will there be issues with the firewall? I'd like to make configuration as easy as possible and not have us...
I've been looking into the implementation of a device library that doesn't explicitly support my operating system. In particular, I have a disassembled DLL, and a fair amount of supporting source code. Now, how is the function table/export table structured?
My understanding is that the first structure of the .data section is a table of ...
I've been seeking for JPG saving library for long time for c++, but i cant seem to get anything to work. Now i am trying use LibGD:
What im doing wrong ? It seems to work, but the saving crashes. Code:
...
#pragma comment(lib, "bgd.lib")
#include <gd/gd.h>
...
void save_test(){
gdImagePtr im;
FILE *jpegout;
int black;
...
I need to profile a real time C++ app on Windows. Most of the available profilers are either terribly expensive, total overkill, or both. I don't need any .NET stuff. Since it is a real time app, I need the profiler to be as fast as possible. It would be excellent if it integrated in some way with Visual Studio 2005/2008, but that's not ...
I'm switching over to EC2 and obviously it's easiest to manage instances through a command line rather than some crappy web interface, but I work on a PC and have everything set up in Windows. What is the best way to work with dev server instances? Putty? Is there an alternative? What do you guys use?
Thanks!
...
I have created a Windows service with using that service. How will I call a Windows application?
...
Hi,
We plan to sell a Windows portable application. By 'portable' I mean that it can be run from any Windows computer without installing it. For example from an USB stick etc. However the application while (theoretically) it can work anywhere, is targeted to LAN environments.
What solutions do you see that while keeping this advantage ...
Hi,
I'm having trouble sending mail using PHP mail() on IIS 7 using Windows 2008 Server.
The server is dedicated, thus I have full control over my machine.
php.ini looks fine - ([mail function] is configured)
I don't get any error from mail() (with the right parameters of course)
btw - I got ASP and ASP.NET sending mails without any pro...
Hi,
Is it possible to show parent node "without any lines or plus sign" and adding child nodes under same parent node which have showplusMinus enalbed.
like :
(ParentNode)
+Child1
+Child2
+Child3
...
I need to get list of sounds registered for applications. For instance I need to play sound for Visual Studio in case build failed. How to do it?
...
Hi all,
I have a problem while drawing with both GDI and GDI+ interchangably. The page transformationin particular scalingseems to be a little bit off between the two. Which properties of the GDI context affects the scaling of the output other than SetViewportExt and SetWindowExt?
The code uses almost exclusively GDI for its drawing, b...
On Windows/.NET can you think of a way of somehow launching an existing application in the background so the user can not see it but I can interact with it with regular API calls (clicking buttons and such)?
This would come in really useful for "wrapping" old applications that I cannot modify.
...
Here is a copy of the datasheet from a microcontroller:
Break characters are a full character
time of logic 0 (including a 0 where
the stop bit would be normally).
This is what I want to generate with the windows COM port (Windows SDK). The problem is I don't see a way to have the stop-bit set to zero. Any ideas?`
SetCommBreak...
Is there a way to determine that a process that my program started has crashed?
Currently, the solution I found is to look at Process.ExitCode and examine the value:
this.STProcess = Process.Start(this.CreateProcessStartInfo());
this.STProcess.WaitForExit();
if (STProcess.ExitCode != 0)
{
//ra...
I'm using the MoveFileEx function of the Windows API on Windows 2008 with the MOVEFILE_DELAY_UNTIL_REBOOT option when trying to move a file: C:\a.txt to C:\b.txt. I can see, when using regedit.exe, that the entries are inserted in the correct registry location (System\CurrentControlSet\Control\Session Manager\AllowProtectedRenames) as pe...
What does the following %1 means (in a .bat file)?
jsmin <%1 >%2
...
I am trying the windows shell file which will be inserted in the folder where it will analyze folders content.
Now i would like to know how can i detect which is the current path ? i.e. location where the vbs file is placed using FileSystemObject?
Set objFSO = CreateObject("Scripting.FileSystemObject")
...
Is there a way to get geoip_city, the Ruby gem, running on Windows?
...
Hi,
I'm trying to create COM component, where it will be frequently call by a excel application (excel will load the COM at its initialization) and another process (let say procA) also sends (with high frequency) windows messages to this component. Currently I implemented COM as a STA, however, I experienced that while COM is busy with ...