Search found 2225 matches

by 1000101
Aug 10, 2005 20:07
Forum: Beginners
Topic: Function length (not length function)?
Replies: 6
Views: 2446

Hmmm ... interesting. But don't forget that it'll be unlikely that restoring from disk and executing this code will most likely not work because your application is not guaranteed to be placed at the same memory address - even with virtual memory management (paging). a) That is not what I plan on d...
by 1000101
Aug 10, 2005 1:05
Forum: Beginners
Topic: Function length (not length function)?
Replies: 6
Views: 2446

v1ctor wrote:Why do you need to do that anyways?
To engage in bad programming habits. haha, I want to dump some functions to disk directly.
by 1000101
Aug 07, 2005 16:57
Forum: Beginners
Topic: Function length (not length function)?
Replies: 6
Views: 2446

Function length (not length function)?

This is beyond the scope of a "beginer" question, but doesn't apply to a platform specific compiler :P I need to find out the length of a function. ie: len( function_name ) Don't ask me why, just answer me question :P Seriously though, asm it's simply a case of using sizeof( function_name ...
by 1000101
Jul 28, 2005 19:32
Forum: Windows
Topic: DIR$ corrupting memory
Replies: 5
Views: 4010

I've made exaustive checks of my code, the pointers returned/referenced are valid and don't cause problems anywhere else. The memory pointer is explicitly allocated (not derived from some vairable/udt) and only set once. Further, I check the contents of the entire structure the pointer references be...
by 1000101
Jul 19, 2005 18:33
Forum: Windows
Topic: DIR$ corrupting memory
Replies: 5
Views: 4010

DIR$ corrupting memory

It seems there is a memory leak in the DIR function, if v1ct0r or lillo would ever show up at #badlogic I could explain it in more detail and send them the offending code (too big to post here and my server is down).