In a Project of mine, I use a Delphi Application which dynamically loads a wrapper DLL (exporting C-Style functions) which in turn is statically link against a bunch of 3rd party DLLs.
It works fine on my test machines, but on my customers computer it failed to initialize with an error Message like "Couldn't find entrypoint _somefunctio...
My immediate need is to take a peek at the source for EditTextPreference and see what I need to do to implement support for preferences with more structure. Can I run Git or repo under cygwin perhaps? Is there an easier way?
...
Hi all,
I am using a masked edit text box in my windows application that was developed by using vb.net.
In normal text boxes (CTRL+Z- to revert back to original value) is working fine. But In case of Masked Edit Textboxes its not working fine.
Can any one please help me about this.
This ctrl+Z should provide the functionality as same...
hi,
Anyone knows other way to get a directoy's size, than calculate it's size by counting file with file? I'm interested on some win32 API function. I've google it about this, but i didn't found relevant information so i'm asking here.
Best regards,
PS: I know how to calculate a directory size by using findfirst and findnext and sum...
OK so my question is self explanatory, here is some code so you can understand a little more.
public Dictionary<string,VcardWindow> VcardWindowManager
= new Dictionary<string,VcardWindow>();'
And access like so:
public void ShowVcardWindow(string VcardOwner)
{
VcardWindow Window;
if(VcardWindowManager.ContainsKey(VcardOwne...
I need to query the peak memory usage by a running process from a C++ code. I looked at GetProcessmemoryInfo() function but it does not seem to give the information about peak memory usage by a process. Is there any function that does that and is it exported by kernel32.dll.
...
I'm trying to get a Mercurial in-process hook to run on Windows.
The problem is not how to write the hook (I want to use an existing one, in this case BugTracker.Net's hook for Mercurial integration - I didn't find a direct link to the file, but you can see it if you download BT.net here, it's in the "mercurial" subfolder).
The problem i...
I worked on a Unix app where two applicants ran and talked to each other using the command-line, i.e each had a loop something like (treat this as pseudo code):
bool stop=false;
do
{
stringstring cmdBuffer;
cin >> cmdBuffer
string ret = processCommand(cmdBuffer);
if(ret.length()==0)
stop=true;
else
cout << ret;
}
while...
I can open files from a mounted network drive, but not from an unmounted one e.g \\mycomp\folder2\hi.bmp
Any work around for this?
...
I have to write a key value pair in the registry. This is done using a tool. This fails sometimes.
Is there any windows utility available which can set the permissions of the registry? If the specific user does not have permission to the registry, I should be able to configure the permissions accordingly - from an administrator account....
I am using C#.net, Add Reference -> COM
What is this?
...
hey.
im working on a project with two clients ,one for sending, and the other one for receiving udp datagrams, between 2 machines wired directly to each other.
each datagram is 1024byte in size, and it is sent using winsock(blocking).
they are both running on a very fast machines(separate). with 16gb ram and 8 cpu's, with raid 0 drives.
...
I'm currently using MongoDB in a reporting system and have to delete a whole bunch of test documents. While I don't have too much trouble using the JSON-based command-line tools, it gets extremely tedious to have to keep searching for documents, copy-and-pasting OIDs, etc., especially from a command prompt window (ever tried to "mark" t...
I work for a trading company where our users interact with the primary trading application via a Remote Desktop connection to a server that's physically located within the exchange's facilities.
A feature of our software is that it disconnects and pulls all quotes automatically if something goes wrong with the network and the RD session...
Hello To All,
I am running a WCF Service as Windows Service.
I am having trouble getting log4net to do any actual logging
In what app.config should I place my configuration code for log4net.
The Service Host app.config the Service app.config or the underlying methods that the Service Calls?
-b
...
Hi,
For 32-bit Windows, following declaration of _SYSTEM_PROCESSES structure ( System Information Class 5 ) with ZwQuerySystemInformation works fine for my purpose to construct process tree.
typedef struct _SYSTEM_PROCESSES
{ // System Information Class 5
ULONG NextEntryDelta;
ULONG ThreadCount;
ULONG ...
Hi,
To construct a process tree in Windows "C" given a PID, which one is a good approach to go for Win2k, XP, Windows Server 2008, Windows 7.
ZwQuerySystemInformation
NtQuerySystemInformation
CreateToolhelp32Snapshot
I remember ToolHelp had issue in leaking memory for win2k. Please correct me if I am wrong.
And using ZwQuerySystemI...
Is there a way in command prompt to take one file and copy it into another folder and it's subdirectories based on it's name?
I have an image named 5.jpg that has been put in a sub-folder that is in every folder in a directory.
I want to do a search inside of the folder (with the old image) and its sub-folders and replace all of the res...
Apparently when I run some 32-bit apps I created using gtkD on Win64 systems with Symantec Endpoint Protection installed and network drives mapped, and try to bring up a file dialog, something in the runtime attempts to load SnacNp64.dll, a 64-bit DLL, into 32-bit address space. This DLL is a component of Symantec Endpoint Protection th...
I would like to make a simple batch application that does two things.
Asks the user to input a name, example "vega"
Runs "finger [email protected]" and displays the output of that command.
The following does the first thing, but I am not able to output the result from the finger.
@ECHO OFF
:begin
echo Enter the name of the ...