Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[Question] FreeLibraryAndExitThread

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Sat Apr 12, 2008 3:16 pm    Post subject: [Question] FreeLibraryAndExitThread Reply with quote

Is it safe to call FreeLibraryAndExitThread within a thread created with _beginthreadex (or _beginthread)?
Can't find any result with google Confused

_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Apr 12, 2008 5:27 pm    Post subject: Reply with quote

Test it out?

I just use CreateThread so i woudn't know, coudn't hurt to try though Wink

_________________
Back to top
View user's profile Send private message
Snootae
Grandmaster Cheater
Reputation: 0

Joined: 16 Dec 2006
Posts: 969
Location: --->

PostPosted: Sat Apr 12, 2008 8:12 pm    Post subject: Reply with quote

msdn doesn't say much, but i would assume it would be safe, go ahead and try

btw, lurc, read my pm yet?

_________________
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Sat Apr 12, 2008 9:47 pm    Post subject: Reply with quote

Snootae wrote:
msdn doesn't say much, but i would assume it would be safe, go ahead and try

btw, lurc, read my pm yet?


Ye i read it, im trying to fix it, but eveyrtime you press the hotkey it crashes and then fucks my keyboard so i cant type, so i have to restart each attempt... which is wierd... cuz i remember compiling it a while ago and it was working completely fine... then i think i put some code back in order the way you had it and sent u the source thinking it would have the same result.. anyways, i'm still trying to fix it, but its coming slowly cuz im trying to fix my own program... A basic dissassembler for MapleStory.. once i get that down ill work on the rest of the Cheat Engine im attempting in C++.

Anyone know how to make the List View Control only scroll down 1 line at a time? (Report View)

Im setting the range 0 - 0x7FFFFFFF then setting the position to 50% of that. Then when you scroll down it deletes the first line and adds a new line to the end (vise versa for scrolling up)

Ive tried a variety of values for dy in ListView_Scroll (LVM_SCROLL Msg) and it still seems to scroll 2 or 3 down and up... -.-

The reason why I need it to scroll 1 is because it only is adding 1 to the end and deleting 1 in the beggining and because it scrolls 2 down, it goes to far, and leaves an empty space and when u continue to scroll you eventually have nothing in the list view unless u scroll back up (if scrolled down) or down (if scrolled up)

_________________
Back to top
View user's profile Send private message
Robotex
Master Cheater
Reputation: 0

Joined: 05 Sep 2006
Posts: 378
Location: The pizza country!

PostPosted: Sun Apr 13, 2008 4:06 am    Post subject: Re: [Question] FreeLibraryAndExitThread Reply with quote

x0r wrote:
Robotex wrote:
Is it safe to call FreeLibraryAndExitThread within a thread created with _beginthreadex (or _beginthread)?
Can't find any result with google Confused

Yes, as long as there is only one thread presently running on your module.

Thank you very much Very Happy

_________________

ASM/C++ Coder
Project Speranza lead developer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites