Click here to Skip to main content
15,905,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLine graph algorithm Pin
Miszou2-Jun-04 13:12
Miszou2-Jun-04 13:12 
GeneralRe: Line graph algorithm Pin
Nitzan Shaked2-Jun-04 19:53
Nitzan Shaked2-Jun-04 19:53 
GeneralRe: Line graph algorithm Pin
Member 8348123-Jun-04 4:00
Member 8348123-Jun-04 4:00 
GeneralCStatic window text Pin
dart132-Jun-04 12:34
dart132-Jun-04 12:34 
GeneralRe: CStatic window text Pin
valikac2-Jun-04 18:58
valikac2-Jun-04 18:58 
Questionsyncrhonised contact outlook with externe .MDB ACCESS? Pin
jerome_data2-Jun-04 11:10
jerome_data2-Jun-04 11:10 
GeneralAutomated Program Serial Numbers Pin
Will C.2-Jun-04 10:52
sussWill C.2-Jun-04 10:52 
GeneralRe: Automated Program Serial Numbers Pin
Paul Ranson2-Jun-04 12:02
Paul Ranson2-Jun-04 12:02 
In the dim and distant past when I was creating Novell Netware NLMs I did something like,
struct SerialNumber
{
    char sentinel [ 33 ] ;
    char serialno [ 33 ] ;
} ;

SerialNumber TheSerialNumber =  { "That'll be the day, when you mak",
      "00000000000000000000000000000000" } ;
Put that somewhere in static space, then write a separate application that searches the exe for the sentinel string (ensure there's only one instance if you're paranoid....) and sets the serial no to whatever is desired.

I'd suggest encoding the serial on the way in and way out, this can be something fairly trivial, and perhaps using a likely looking error message as the 'sentinel'.

Paul
GeneralRe: Automated Program Serial Numbers Pin
Will C.2-Jun-04 13:55
sussWill C.2-Jun-04 13:55 
GeneralMAC Address Pin
cobyjone2-Jun-04 10:09
cobyjone2-Jun-04 10:09 
GeneralRe: MAC Address Pin
David Crow2-Jun-04 10:27
David Crow2-Jun-04 10:27 
GeneralGetting lid closed event Pin
Alex Korchemniy2-Jun-04 9:55
Alex Korchemniy2-Jun-04 9:55 
GeneralRe: Getting lid closed event Pin
David Crow2-Jun-04 10:33
David Crow2-Jun-04 10:33 
Questionmany CMutex objects: good idea? Pin
berndg2-Jun-04 8:52
berndg2-Jun-04 8:52 
AnswerRe: many CMutex objects: good idea? Pin
peterchen2-Jun-04 9:03
peterchen2-Jun-04 9:03 
GeneralRe: many CMutex objects: good idea? Pin
berndg2-Jun-04 9:12
berndg2-Jun-04 9:12 
GeneralRe: many CMutex objects: good idea? Pin
Daniel Turini2-Jun-04 10:17
Daniel Turini2-Jun-04 10:17 
GeneralRe: many CMutex objects: good idea? Pin
Alexander M.,2-Jun-04 12:54
Alexander M.,2-Jun-04 12:54 
GeneralRe: many CMutex objects: good idea? Pin
Tim Smith2-Jun-04 15:56
Tim Smith2-Jun-04 15:56 
AnswerRe: many CMutex objects: good idea? Pin
Andy Brummer2-Jun-04 10:21
sitebuilderAndy Brummer2-Jun-04 10:21 
AnswerRe: many CMutex objects: good idea? Pin
Alexander M.,2-Jun-04 12:55
Alexander M.,2-Jun-04 12:55 
AnswerRe: many CMutex objects: good idea? Pin
Tim Smith2-Jun-04 15:49
Tim Smith2-Jun-04 15:49 
GeneralRe: many CMutex objects: good idea? Pin
berndg2-Jun-04 20:03
berndg2-Jun-04 20:03 
GeneralGet time zone info for a network computer. Pin
LizardWiz2-Jun-04 8:40
LizardWiz2-Jun-04 8:40 
GeneralRe: Get time zone info for a network computer. Pin
David Crow2-Jun-04 9:27
David Crow2-Jun-04 9:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.