Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 06:00

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



weird issue

Discussion on weird issue within the C/C++ forum part of the Coders Den category.

Closed Thread
 
Old   #1
 
iCraziE's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 456
Received Thanks: 218
weird issue

Got a program i wrote that simply suspends a process.. I wrote it on my laptop, it works perfectly on my desktop PC, but on my laptop it does not suspend at all.

Any ideas why it will only work on my desktop but not my laptop?

-- Laptop ---
Windows 10 Home 64bit
Windows 10 Version 1607 (Build 14393.1198)

-- Desktop --
Windows 10 Pro 64bit
Windows 10 Version 1703 (Build 15063.296)
iCraziE is offline  
Old 06/07/2017, 12:41   #2
Trade Restricted
 
elite*gold: LOCKED
Join Date: Oct 2016
Posts: 321
Received Thanks: 79
Btw are you pretending to sleep the process or kill it? because the term "suspend" its not exactlier.
If you just wanna sleep it and be in standbye use this

Quote:
#include <unistd.h>

unsigned int microseconds;
...
usleep(microseconds);
Now make a loop until you click some key or reach some condition.
Hope it helps
Underfisk is offline  
Old 06/07/2017, 13:39   #3

 
BladeTiger12's Avatar
 
elite*gold: 64
Join Date: May 2011
Posts: 1,228
Received Thanks: 847
Why doublepost?


Btw just try like Lawliet said: #RequireAdmin
BladeTiger12 is offline  
Old 06/07/2017, 18:38   #4
dotCom
 
Devsome's Avatar
 
elite*gold: 12400
The Black Market: 104/0/0
Join Date: Mar 2009
Posts: 15,875
Received Thanks: 4,381
#closed
c++ or autoit
Devsome is offline  
Closed Thread


Similar Threads Similar Threads
Weird Issue
08/08/2012 - CO2 Private Server - 0 Replies
well my friend packet logged me the Guild Statue packet .. it uses packet 2031 as Npc Response once u open statue scroll then once u click okay if your rank is GL or DL Npc Spawn packet 2030 is sent to player having the selected Action So the issue here that i sent to player packet 2030 containing same value at packet dumb offsets .. but what spawn is just Damn store keeper ..Heres Packet Log Packer 2031 10 00 EF 07 03 00 00 00 6A 04 00 00 05 00 09 00 packet 2030
CoMon Weird Issue
08/08/2012 - CO2 Programming - 0 Replies
Well the CoMon which was released long time ago just works now on Win Xp os and its not working with win 7 ( my Os is Win7 64bit Home Premium) when i attach Co into CoMon the Client Crashes immeditly .. So can any1 Fix this issue Or even tell me whats wrong with it like y it still working on Xp os unlike win 7 ? regards shadowman123
Really weird range issue
12/30/2011 - CO2 Private Server - 7 Replies
I think it's easiest to just use images to show the problem: http://i.imgur.com/2Ap14.jpg As you can see, the monsters are hitting me but upon death the server and client suddenly synchronize and I literally get teleported to different coords and it's as if I had been there all the time. http://i.imgur.com/7y6UI.jpg It is as if I'm in a different spot serverside, however, this can't be true since I made the console output the X and Y coordinates whenever I moved and they always matched...
Weird.... Just weird ( inside )
08/05/2011 - Shaiya Private Server - 14 Replies
Windows 2008 webserver S2 , service pack 4 , 64 bit Os. when i go to install Sql 2005 it does its little pre install check list, well i get a warning on asp.net , it tells me that 64 bit is installed and mysql report services require 32 bit.. So i sorta stumble around a bit, well i ran across Banes tut on sql 2008 , so i thought allright lets try it. as i click on the installserver.bat for the client,, the cmd prompt comes up, goes thew it steps, then tells me that Shaiya is not...
Weird Issue
11/19/2010 - Dekaron Private Server - 5 Replies
Ok well, I added feew new mobs to my lil test Server and some of them show up but there are 4 invisible Monsters. They do hit me but I can't see them for some reason. Already checked out Share/Action, Share/Ai, Share/Creature/Monster.csv, Script/Creature/Monser_shape.csv I just cant find the bug. And yea I already used the search button but found no usefull post.



All times are GMT +2. The time now is 06:00.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.