Click here to Skip to main content
15,891,372 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CButton and DialogBar Pin
MemLeak19-Mar-03 7:38
MemLeak19-Mar-03 7:38 
GeneralRe: CButton and DialogBar Pin
Ravi Bhavnani19-Mar-03 8:14
professionalRavi Bhavnani19-Mar-03 8:14 
GeneralAviCap Questions Pin
User 1278218-Mar-03 10:13
User 1278218-Mar-03 10:13 
GeneralSAPI 5.1 and Win98... Pin
JoeSox18-Mar-03 9:42
JoeSox18-Mar-03 9:42 
GeneralRe: SAPI 5.1 and Win98... Pin
Tim Smith18-Mar-03 9:54
Tim Smith18-Mar-03 9:54 
GeneralRe: SAPI 5.1 and Win98... Pin
JoeSox19-Mar-03 9:43
JoeSox19-Mar-03 9:43 
GeneralVery interesting Question about Compilers Pin
Joel Holdsworth18-Mar-03 9:36
Joel Holdsworth18-Mar-03 9:36 
GeneralRe: Very interesting Question about Compilers Pin
Chris Losinger18-Mar-03 10:31
professionalChris Losinger18-Mar-03 10:31 
Joel Holdsworth wrote:
So if this is the case is it possible to load this machine code into memory manually, then use the beginning of the buffer as a function pointer, and then run the code that way?

i don't think so, not easily, anyway. besides simply stitching the machine code in the .objs together, the linker also makes sure all the required functions are present, fixes up pointers from the .obj to external items (like external functions and variables) and a ton of other boring, but necessary things.

i'd go with an interpreted language with a nice C/C++ binding. write a bunch of primitive operations as built-ins, for speed, but do all the user's scripting in the interpreted language.

-c



Image tools: ThumbNailer, Bobber, TIFFAssembler
GeneralRe: Very interesting Question about Compilers Pin
Joel Holdsworth18-Mar-03 10:45
Joel Holdsworth18-Mar-03 10:45 
GeneralRe: Very interesting Question about Compilers Pin
Neville Franks18-Mar-03 10:55
Neville Franks18-Mar-03 10:55 
GeneralRe: Very interesting Question about Compilers Pin
Joel Holdsworth18-Mar-03 11:26
Joel Holdsworth18-Mar-03 11:26 
GeneralRe: Very interesting Question about Compilers Pin
Neville Franks18-Mar-03 12:29
Neville Franks18-Mar-03 12:29 
GeneralON_THREAD_MESSAGE Pin
clintsinger18-Mar-03 9:20
clintsinger18-Mar-03 9:20 
GeneralRe: ON_THREAD_MESSAGE Pin
Dave Bryant18-Mar-03 9:38
Dave Bryant18-Mar-03 9:38 
QuestionWell, when I use cstringVar.GetBuffer() I need to call ReleaseBuffer, but if I (LPTSTR)(LPCTSTR)cstringVar? Pin
Joan M18-Mar-03 9:10
professionalJoan M18-Mar-03 9:10 
AnswerRe: Well, when I use cstringVar.GetBuffer() I need to call ReleaseBuffer, but if I (LPTSTR)(LPCTSTR)cstringVar? Pin
Dave Bryant18-Mar-03 9:33
Dave Bryant18-Mar-03 9:33 
AnswerRe: Well, when I use cstringVar.GetBuffer() I need to call ReleaseBuffer, but if I (LPTSTR)(LPCTSTR)cstringVar? Pin
Tim Smith18-Mar-03 9:34
Tim Smith18-Mar-03 9:34 
GeneralRe: Well, when I use cstringVar.GetBuffer() I need to call ReleaseBuffer, but if I (LPTSTR)(LPCTSTR)cstringVar? Pin
Joan M20-Mar-03 5:05
professionalJoan M20-Mar-03 5:05 
GeneralATL Object Wizard Pin
DuFF18-Mar-03 8:59
DuFF18-Mar-03 8:59 
GeneralCombine multiple images into one Pin
AWebDude18-Mar-03 8:59
AWebDude18-Mar-03 8:59 
GeneralRe: Combine multiple images into one Pin
Maximilien18-Mar-03 9:07
Maximilien18-Mar-03 9:07 
GeneralRe: Combine multiple images into one Pin
AWebDude18-Mar-03 9:34
AWebDude18-Mar-03 9:34 
GeneralRe: Combine multiple images into one Pin
Larry Antram18-Mar-03 10:05
Larry Antram18-Mar-03 10:05 
GeneralSort Pin
Anthony988718-Mar-03 7:16
Anthony988718-Mar-03 7:16 
GeneralRe: Sort Pin
valikac18-Mar-03 8:49
valikac18-Mar-03 8:49 

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.