When running my freshly built application, I get the following error message:
Ordinal 12345 could not be located in dynamic link library mfc90u.dll
Apparently, my application calls a function that is not present in the given .DLL. Is there a way to determine which part of my source code that calls this function?
Update: I think I'm b...
Hello,
I need to print a CMYK Tif from Windows to a HP Color LaserJet 5550 (PCL and PS driver installed), best via CMDLine util. When using built-in Print-/Fax viewer, the Tif prints, but I see no difference between mixed black of CMY and pure black of K. I can verify the Tif is CMYK by seperating channels with ImageMagick (convert cmyk...
I've always been curious about
How exactly the process looks in memory?
What are the different segments(parts) in it?
How exactly will be the program (on the disk) & process (in the memory) are related?
My previous question: http://stackoverflow.com/questions/1966920/more-info-on-memory-layout-of-an-executable-program-process
In m...
I tried to paint on my windows desktop using GetDesktopWindow().
But i failed because desktop repaints itself rapidly and my painting doesn't appear.
So I need to replace my desktop window obtained by GetDesktopWindow() with ownerdraw application window
Can anyone has an idea, how to do this ?
Thanks in advance,
Milan
...
When a graphical user interface is documented, it usually include a screenshot. In the screenshot different buttons and interactive objects are marked with a letter and below, in a list, its explained what the "button marked with a red A" actually does.
I currently do this myself in Paint .Net, its really hard to make it look even decen...
Is there a Windows equivalent to Linux's readahead syscall?
EDIT:
I would like a full function signature if possible, showing the equivalent offset/count parameters (or lower/upper).
Eg:
The Linux function signature is:
ssize_t readahead(int fd, off64_t *offset, size_t count);
and an example of it's use is
readahead(file, 100, 500...
A few of my users have problems starting up my Java application on Windows XP and 7. I cannot reproduce the bug on my systems.
On Mac, the next step would be to ask them to send their system profile to me by going to Apple Menu > About This Mac > More Info and then saving the system profile.
Is there an equivalent on Windows? I would l...
Please Note: Portable as in portableapps.com, not in the traditional sense of a language that can be used on multiple architectures or operating systems. Whoever coined this usage of the word portable should be whacked. :)
I'm a DBA and sysadmin, mostly for Windows machines running SQL Server. I'm looking for a programming/scripting lan...
Windows API/C/C++
1. ....
2. ....
3. ....
4. while (flag1 != flag2)
5. {
6. SleepEx(100,FALSE);
//waiting for flags to be equal (flags are set from another thread).
7. }
8. .....
9. .....
If the flags don't equal each other after 7 seconds, I would like to continue to line 8.
Any help is appreciated. ...
I'm starting to modify my app, which uses all hardcoded strings for errors, GUI, etc. I'm considering these two approaches, but let me know if there is an even better way:
-Put all string in ressource (.rc) files.
-define all strings in a file, once for each language. Use a preprocessor define to decide which strings get compiled i...
I've been considering using mmap for filereading, and was wondering how portable that is.
I'm developing on a linux platform, but would like my program to work on osx and windows.
Can I assume mmap is working on these platforms?
thanks
...
Like crontab in linux,is there a solution?
I mean,it's run at a specific time,for instance,12 o'click every day.
So it's not services.msc
...
I created a java program that will pop up a dialog, and scheduled it as a task. Everything works fine except when the scheduled java program runs and the dialog pops up, there is another window (svchost.exe) hanging behind the dialog box and doesn't go anywhere until the java program finishes its execution. The program is running in Wind...
I'm working on a network stack at the moment, and I'm trying to implement IPv4 fragmentation. Whilst I have an implementation which works in theory, I would like to actually test that it works by throwing actual fragmented packets at it.
Is there any software or perhaps an easy way to write code to do this? I'd rather not go and modify ...
What are the recommended colors for an application's background, button faces, etc.?
In the past I've just chosen a color scheme but I'd like to be more compatible with the Windows Accessibility Options, etc.
I see that VB6 has System Colors like Application Workspace.
Edit: I'd like to find an explanation of all of those colors (lik...
Hi all,
I'd like to create a script that will toggle between setting the DNS settings of my wireless card between automatic selection and a particular IP (openDNS).
Can this be done, and if so what should I look in to?
Thanks!
...
Hello
I want to copy/save file in php script from one Windows Server (source) to second Windows Server (dist). I cant use anonymous "Guest" account, I need to authorize on dist server by user and pass.
Have you any idea how to do this?
I tried to to this with UNC paths like this: "\path\to\dist\file.txt" but I cant force user authoriz...
This is a real shot in the dark, however maybe someone had a similar issue. Some console apps are being invoked by either SQL Server 2008, or Autosys (job schedule) under Windows Server 2008; output results of execution are being saved into .txt files. Every so often, with no definite pattern as far as I can tell saved output is display...
Windows OS defines the following constants as thread priority:
THREAD_PRIORITY_IDLE (-15)
THREAD_PRIORITY_LOWEST (-2)
THREAD_PRIORITY_BELOW_NORMAL (-1)
THREAD_PRIORITY_NORMAL (0)
THREAD_PRIORITY_ABOVE_NORMAL (1)
THREAD_PRIORITY_HIGHEST (2)
THREAD_PRIORITY_TIME_CRITICAL (15)
And Linux has sched_get_priority_max() and sched_get_priorit...
I'm having problems getting thin working on my Windows 7 machine (I've already installed eventmachine v0.8.1):
>gem install thin --ignore-dependencies
checking for main() in -lc... no
creating Makefile
make
'make' is not recognized as an internal or external command, operable program or batch file.
Are there not meant to...