|
As it happens, that's actually not that unreasonable a thing to ask
I know there are a lot of DOS based handheld barcode terminals out there still getting new software written for them (I work somewhere that does just that), and there's probably a lot of DOS apps on PCs that still need maintaining (much as we'd all like to be using .NET), and version 1.5 is the last version of Visual C++ to support compiling for DOS.
But yeah
--
Ian Darling
"The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky
|
|
|
|
|
As it happens I've just started a new contract where I've got to provide fixes and enhancements to VC++ 1.5 applications. I've not used 1.5 for almost 10 years so it's like going back to the dark ages but it pays the bills!
Luckily, the same client is also doing and moving to .NET so I should be able to work on this too.
Kevin
|
|
|
|
|
I think you can get it from MSDN subscriber downloads. Or room 101.
Ryan.
|
|
|
|
|
Even though it's an obsolete Win16 product I sure microsoft still charge a small fee.
The only real way I can think of it a MSDN it's
and it's only avaible in Visual C++ 1.52 (English)
I am that is
|
|
|
|
|
|
Thank you very much for all replies. Now I'm downloading it from MSDN.
Special thanks to Normski. Yes, it's Visual C++ 1.52 (English).
Best regard.
____
Tuan
|
|
|
|
|
|
Dear Mr. Archer,
Thank you very much for your suggestion.
Actually, my company has a license for MSDN Subscriber downloads. So I found it after getting Mr. Normski's reply.
Again, thank you so much.
____
Tuan
|
|
|
|
|
|
I guess if you do some changes in the project settings prorbably you can generated win16 output, not sure, but its a pointer to a sol.
|
|
|
|
|
I am having a similar problem as Keck (about 5 posts down). A few years ago I wrote some templated storage classes (Arrays, Linked Lists, Stacks, Queues) and I still use them all the time in applications, and I've never had problems with them working. Just recently I wrote a Table class which is basically an array of my templated Arrays. So my one private variable WAS defined as:
const static int SIZE = 100;
Array<T> * MyTable = new Array<T>[SIZE];
This worked perfectly, no errors, no memory leaks (as far as I could tell)...I never had a single problem with it. But I am using this same class to store various datatypes, and sometimes there are many items, sometimes only a few hundred...so I changed the wanted to be able to define SIZE instead of always using 100. So basically I didn't define MyTable in the declaration anymore, now I define it in the constructor. So my declaration is now:
Array<T> * MyTable;
and in the constructor:
MyTable = NULL;
MyTable = new Array<T>[WHATEVER_SIZE];
This still seems to work fine, but now my program is crashing when it hits the destructor from this Table class. This is all I have in the constructor:
if ( MyTable )
delete []MyTable;
The debugger won't show me a line where my program crashes, but if I comment out the contents of the destructor function, then my program will run through to finish...and never releases memory. I do get the following error when the program crashes:
Expression: _CrtIsValidHeapPointer(pUserData)
But I don't know exactly what this means. I hope I wasn't vague at all in my explanation of my problem, and I appreciate the help! Thanks a ton to everybody who responds!
I have never failed when programming. Instead I have succeeded in finding thousands of ways of crashing a computer!
Douglas A. Wright
dawrigh3@kent.edu
|
|
|
|
|
if ( MyTable )
delete []MyTable;
This code is in the DESTRUCTOR. I had a typo in my original message, but the website won't allow me to modify it.
I have never failed when programming. Instead I have succeeded in finding thousands of ways of crashing a computer!
Douglas A. Wright
dawrigh3@kent.edu
|
|
|
|
|
How to include a library (or something like that) that can play sound (wav)(but mp3 would be a lot cooler!)? I know that winmm can do something like that, but the linker bails out then.
|
|
|
|
|
See the WIN32 API function PlaySound()
onwards and upwards...
|
|
|
|
|
do your homework alone please... you can do this yourself, it isn't that difficult!
Don't try it, just do it!
|
|
|
|
|
No I can't. I assume that PlaySound etc. is declared in <winmm.h>, is that okay? Well, if it is and I build the thing (executable), the LINKER crashes, cuz there is no .lib file for that function. SO: Where the heck can I get it?!
|
|
|
|
|
Okay, I found it. It's #pragma comment(lib, "winmm.lib")
|
|
|
|
|
can any one tell how to display Thumbnails of image files.I want to display them as seen in Windows explorer..actually i'm working on this project in VC(Win32 Api)..without using MFC.
|
|
|
|
|
first, can you display images ? and where ?
have a look at ::StretchBlt to stretch/shrink a bitmap.
Maximilien Lincourt
"Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )
|
|
|
|
|
The thumnail control used in explorer is available via COM. Can't remember what its called though. Have a google.
Ryan
|
|
|
|
|
Check out CxImage. Someone posted a thumbnail function in the article discussion thread (which worked well). I haven't tried the lastest version, but it looks like he now has included thumbnail support.
Regards
Mike
|
|
|
|
|
I had some applications with a window with one main control in them (like an edit control). So on WM_SIZE i did a GetWindowRect() to get the size of the main window and then i used SetWindowPos() to set the edit window to those coordinates and adjust the size. But now i ran those apps on XP and they don't fit nicely anymore, i think its because of the titlebar or something, the visual themes or something. Anyone know how i can size a control so it will always fit nicely to the window?
Kuniva
--------------------------------------------
|
|
|
|
|
|
I am looking for some sample program that will accept key strokes and then send them to another running program like Notepad. Does anyone have any sample that I can use as a starting point ? Ideally, I would like to identify the target program using mouse click or automatically by Window title. Also, being able to select and replace the entire text in the target window will be great. Also can I send mouse moves to the target window ? Too many questions,
JX
|
|
|
|
|
Are you writing one of those spyware utilities?
J.
----------------------------
|
|
|
|