|
-
May 8th, 2003, 08:42 PM
#1
help with crash on Win98 and another simple question
hi!
two quick questions:
1) im writing a program under VC++ in Windows XP which does not crash in either Debug or Release builds, but trying on Windows 98 gives me a failure (red icon) at module METRONOMO.EXE (this is the name of the program...) Im using virtual pc with win98 to test it.
2) How i can make a DWORD (32-bit value) from eight 8-bit values... note i'm very stupid using bit operators.
e.g:
M1 = 0x00;
M2 = 0xFF;
M3 = 0xDC;
M4 = 0x03;
I want the DWORD = M1M2M3M4 (0x00FFDC03)
thank you very much,.
-
May 8th, 2003, 08:58 PM
#2
2) How i can make a DWORD (32-bit value) from eight 8-bit values... note i'm very stupid using bit operators.
You can do this
Code:
DWORD dwVal = MAKELONG(MAKEWORD(M4, M3), MAKEWORD(M2, M1));
Hope it will help you
-
May 9th, 2003, 05:56 PM
#3
Can't you give more information about the error? Is almost impossible to know why this error with such few information.
-
May 9th, 2003, 07:10 PM
#4
I got BoundsChecker 7.0 TRIAL!!!
Yes! I will put to work this handy utility on my program... Sure it's a pointer going no where... 
thank you very much for ya help.
-
May 10th, 2003, 05:56 PM
#5
If boundschecker does not help you feel free to post more information about your error.
-
May 10th, 2003, 08:35 PM
#6
boundschecker reported 4 memory leaks and 4 resource leaks.
I fixed all errors.
Still crashes on program exit on Win98.
I will try Drwatson in w98... :P
-
May 11th, 2003, 01:58 AM
#7
i never got boundchecker to aid me in my projs =/
its weird proggy..
Bengi
-
May 11th, 2003, 11:42 AM
#8
i think it's very useful... come on.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|