After trying everything I could think of to get this to link, I gave up.
However, I did manage to get this to work by using LoadLibrary() and GetProcAddress().
I then call the functions by using...
Type: Posts; User: Rutabega
After trying everything I could think of to get this to link, I gave up.
However, I did manage to get this to work by using LoadLibrary() and GetProcAddress().
I then call the functions by using...
I am linking the .lib file, and including the .h file where appropriate. Yet I still get an 'undefined reference' error when linking. I don't think Watcom is able to match up the names of the...
Hello all,
Basically I'm pretty clueless about DLLs. I know the theory, it's just linking to the functions in the DLL and using them that has me baffled.
This is my first attempt to do this,...
Yes, using mickeys.
Mickeys are individual movements of the mouse on the hardware level. The number of mickeys per pixel is configurable and this is one way that mouse acceleration can be done by...
The program:
I'm writing a program to ease typing of accented characters (i.e. á or ñ) so that the user doesn't have to repeatedly pick them from the character map.
In order to do this I...
If he's programming for DOS, then he almost certainly doesn't have any drivers for it, so the highest modes available are either 320x200x256 or 640x480x16. I would imagine that there have never nor...
If 640x480x16 is the highest your adapter can handle, then there is no way it can do 800x600x256.
Your likely choices are:
640x480x16
320x200x256
320x200x16
and maybe some 320x240 or...
I'm having problems getting child windows to behave correctly when creating them with CreateWindowEx. They never seem to take focus (though elements within the child such as edits will take focus)...
They are called 'mickeys'.
Try here> http://www.missouri.edu/~finaidtk/mcenter.htm
A tip: if you try to do any further googling, search for
mouse mickeys pixel
otherwise you get alot of...
Try this link
http://www.catch22.net/tuts/editor04.asp
I believe you should change your
Stud1_ptr->(Course_ptr->Number)
to
Stud1_ptr->CourseList->Number
since the Stud structure that is pointed to by Stud1_ptr does not contain an element...
Hmm, this is fun.
1. What is the output of printf("%d")
Who knows? (It gave me 48)
3. Difference between "C structure" and "C++ structure"
One is from C, the other from C++
17. Talk...
//constrains window size to 640x480
case WM_GETMINMAXINFO:
{
LPPOINT lppt;
lppt = (LPPOINT)lParam; // lParam points to array of POINTS
lppt[3].x = 640;
...
Thanks erikj,
That actually did work about 99%, and the 1% you really don't notice unless you count pixels.
________
Rutabega
What methods are available to keep a Windows program looking the same despite the resolution they are run at?
I'm writing a program on my computer with 1600x1200 resolution that, when run at a...
Thanks man!!
That worked perfectly.
I was kind of amused by this note in msdn for EM_SCROLLCARET
" Return Value
The return value is not meaningful. "
Thanks again
Is it possible and, if so, how is it done?
At the startup of my program I create an edit and then fill it with some text. I then set the focus to the edit so that the text cursor will appear...
Thanks for your help, I got it to work correctly.
It seems that the first example code I used had me declaring a PCONSOLE_SCREEN_BUFFER_INFO variable which is actually just a pointer. When I...
I am using the GetConsoleScreenBufferInfo function in an attempt to get the position of the Console cursor (the text cursor, not the mouse cursor). The function however returns error number 12...
What is the newest version of MFC ?
Latest and greatest version here. I know everyone was waiting impatiently for this :rolleyes:
Fixed a few more potential bugs and some newly created ones. Added checking for 'splits' to the AI....
"I had to fill over the background's for Rutabega's images to get them to work"
Hmm, that's strange. They all worked for me as far as recall. It could be that I saved them as just 16 bit bmp's...
Yes Blizzarddog, those are my graphics.
I tried MS Paint, but found it to be too limiting in annoying ways. So I'm using Adobe Photoshop. I'm not using any of the 'special' features though, just...
Can you not use the int86() function?
From the Watcom help file:
int86
Synopsis:
#include <i86.h>
None that I am aware of.
Variable argument function calls happen just like any other and the arguments are passed in the same manner. It is just up to the programmer to determine how many and...