nullptr 167 Occasional Poster

Try scanning your PC with ESET Online Scanner

then

Download Tweaking.Com - Windows Repair Portable to your Desktop and extract the folder from the zip archive.
Open the folder and run Repair_Windows.exe. Select the Repairs tab and then click on the 'Open Repairs' button.
Select the following Repairs:

  • 03 - Reset Service Permissions
  • 04 - Register System Files
  • 05 - Repair WMI
  • 10 - Remove Policies Set by Infections
  • 17 - Repair Windows Update
  • 26 - Restore Important Windows Services
  • 27 - Set Windows Services to Default Startup

Press the 'Start Repairs' button. When all repairs have completed, you'll receive a prompt to reboot.
Reboot the PC and see if Windows Update will work.

nullptr 167 Occasional Poster

You can delete those logs as well as OTL.
It would be better if you ran Farbar Recovery Scan Tool.
Download FRST - Farbar Recovery Scan Tool and save it to your Desktop. (Select the version 32 or 64 bit that applies to your operating system.)

  • Right click FRST.exe and run as administrator. When the tool opens click Yes to the disclaimer.
  • Press the Scan button.
  • It will produce logs FRST.txt and Addition.txt in the same directory the tool is run from.
  • Attach both logs.

If you like, hold off on running FRST until you've upgraded the router firmware.

nullptr 167 Occasional Poster

Noor, did you upgrade the firmware on your router and are the DNS settings in your router still being changed?
If you've not upgraded the firmware, I'd do that first and see if the problem persists.

nullptr 167 Occasional Poster

I've no idea if upgrading the router firmware would resolve the issue. If you do upgrade then you'd just need to save the SSID, the type of encryption key used and the encryption key.

If you still have a problem, then download OTL by Old Timer and save it to your Desktop.
Launch OTL and press 'Run Scan'. When it has finished there will be 2 log files created on your desktop, OTL.txt and Extras.txt.
Zip both log files and attach to your post.

nullptr 167 Occasional Poster

Should I change the router password?

I'd definitely change the router password.

I'll write out some instructions to have a look at the PC you're on. Is it only Chrome browser that redirects to the ads?
What operating system are you running on your PC?

nullptr 167 Occasional Poster

Have you checked your router to see whether the new DNS settings provided by your ISP have been modified?
Is access to your router password protected?
Are all your other devices (laptop, phones) still affected?

nullptr 167 Occasional Poster

Right click on your shortcut to notepad and Run as administrator.
Then click on File -> Open and browse to "C:\Windows\System32\drivers\etc\hosts"
Add the extra line then Save.

nullptr 167 Occasional Poster

You should add another line: 127.0.0.1 wonderlandads.com

nullptr 167 Occasional Poster

If it was this - hxxp://www.flvto.biz/youtube-downloader/ - then the alert was likely for PUA (Potentially Unwanted Application) as the installer is bundled with OpenCandy.
As long as you were careful during the installation and opted out of any other software you were offered, then you have nothing to worry about.

nullptr 167 Occasional Poster

For S = 1/n, as 1 and n are both integers you are performing integer division. Assume that n = 4, then the answer is equivalent to asking "How many times does 4 go into 1" - answer = zero times.

To solve this, you need to make the first operand in the equation a float.
Your teacher said to do that by casting 1 as type float - (float)1
You could also write 1 as a float - 1.0, therefore S = 1.0/n

Ghost0s commented: thanks man :) +1
nullptr 167 Occasional Poster

Yes, why one directory / file must be deleted.

If you mean the link source, it would be so that an empty directory or file can be created with the correct reparse attributes.

nullptr 167 Occasional Poster

The target directory with files can exist, but the link directory must not initially exist as an on disk directory.

nullptr 167 Occasional Poster

To achieve what you are wanting to do, you need to move all the files from C:\Custom Program Settings\Sublime-Packages to C:\Users\<name>\AppData\Roaming\Sublime Text 2\Packages and then Delete C:\Custom Program Settings\Sublime-Packages.

Once you've done that the mklink command will work.
i.e. All files destined for C:\Custom Program Settings\Sublime-Packages will be directed to C:\Users\<name>\AppData\Roaming\Sublime Text 2\Packages

Or is it the other way around?

mklink /j <link path> <Target>
(<link path> must not already exist)

mklink /j "C:\Users\<name>\AppData\Roaming\Sublime Text 2\Packages" "C:\Custom Program Settings\Sublime-Packages"
Where "C:\Users\<name>\AppData\Roaming\Sublime Text 2\Packages" must not already exist.

nullptr 167 Occasional Poster

The operator for cin should be >>

std::cin >> n;
std::cin >> x;
nullptr 167 Occasional Poster

PsSetCreateProcessNotifyRoutineEx is a kernel mode callback that you would use in a KM driver. Are you developing a driver?

nullptr 167 Occasional Poster

As ddanbe pointed out, the byte value is being converted to an integer - BitArray(int32).
Effectively what you have written is:

BitArray bitArray = new BitArray(255);

255 bits all set to 0 (false).

nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

AdwCleaner should take care of Snapdo and search safe.finder.
It requires no installation.

nullptr 167 Occasional Poster

Have you tried running Malwarebytes Anti-Malware?
There's usually an executable that auto starts with Windows that keeps installing the addon each time it's removed.

Minimalist commented: worked well, thanks +5
nullptr 167 Occasional Poster

Click the properties button, highlight 'Internet Protocol Version 4 (TCP/IPv4)', then click Properties.
Make sure that 'Obtain an IP address automatically' is selected.

nullptr 167 Occasional Poster

Yes, reverted back to the way things were yesterday morning

That must be why Firefox was alerting me to an insecure SSL cipher and now it's back to normal.

nullptr 167 Occasional Poster

From line 45, you're exceeding the loop bounds, it should be

for (int column = 0; column < width; column++)
{
    for (int row = 0; row < height; row++)
    {
      //  
      //  
    }
}

Apart from that, I think you'll always find some discrepancies between the Screen DC and the DC that you blit it to.
I took a screen shot utilising GetDIBits. It looked exactly like my desktop, though there were differences between using GetPixel on the Screen DC and what was saved in my bitmap capture.

nullptr 167 Occasional Poster

Change the iteration to

for (int row = 0; row < h; row++)
{
    for (int column = 0; column < w; column++)
    {
        std::cout << std::hex << (DWORD)GetPixel(hdcSource, column, row) << "-"; 
        std::cout << std::hex << (DWORD)pPixels[(row * w) + column].rgbRed << 
            (DWORD)pPixels[(column * w) + row].rgbGreen <<
            (DWORD)pPixels[(column * w) + row].rgbBlue << " ";
    }
    std::cout << std::endl;

That way you should be comparing the same pixel in GetPixel and pPixels.

nullptr 167 Occasional Poster

The only major thing that stands out is the call to GetDIBits.
Try

int GDB = GetDIBits(hdcDest, hbmp, 0, BMI.bmiHeader.biHeight, pPixels, &BMI, DIB_RGB_COLORS);
nullptr 167 Occasional Poster
typedef struct tagRGBQUAD {
  BYTE rgbBlue;
  BYTE rgbGreen;
  BYTE rgbRed;
  BYTE rgbReserved; // must be zero
} RGBQUAD;

Just mask out the most significant byte.
pPixels[idx] & 0xFFFFFF

nullptr 167 Occasional Poster

I have no idea as I've not seen your code.

nullptr 167 Occasional Poster

Something like:

for (int h = 0; h < height; h++)
{
    for (int w = 0; w < width; w++)
    {
        // do whatever
        // pPixels[w + h*width];
    }
}
nullptr 167 Occasional Poster

Try using this.Controls.Add(ribbon1);

nullptr 167 Occasional Poster

Try EM_LINEINDEX message, specifying -1 for the wParam

cambalinho commented: thanks for all +3
nullptr 167 Occasional Poster

I think the teachers of these coding classes tell their students "If you have any problems, just copy/paste your homework on Daniweb - the people there really dig that kind of thing".

jwenting commented: that has been observed I think, yes +0
Dani commented: Yes, this does happen. I've witnessed it firsthand. +0
rproffitt commented: That's it. +0
nullptr 167 Occasional Poster

What exactly are you wanting, the password for the router/modem or the encryption key?
As a last resort, you can reset the router or modem to the default factory settings.

nullptr 167 Occasional Poster

My two cents worth for the homepage opening ( a slight rewrite):
https://www.dazah.com/

Introducing Dazah, a unique business-oriented social messaging platform designed for the busy professional who works in high touch sales, marketing or business development and in any industry. Dazah provides an alternative or addition to attending industry networking events as a means of acquiring leads.

BTW, It's a nice looking site :)

nullptr 167 Occasional Poster

Yeah, it would seem so. Thanks :)

nullptr 167 Occasional Poster

Inline Code Example Here

I just noticed a post that contained 'Inline Code Example Here'. This can be reproduced by not selecting any code, then pressing the |>_Inline Code| button. Is this by design or a bug?

nullptr 167 Occasional Poster

I sincerely hope that Australia get the holy crap beaten out of them by Argentina in the semi.

We only have crap, none of which is holy.

nullptr 167 Occasional Poster

Checking code tool - please delete.

nullptr 167 Occasional Poster

Test, following Dani's directions:

LRESULT CALLBACK KeyboardProc(int Code, WPARAM wParam, LPARAM lParam)
{
    if(lParam & 0x40000000)
    {
        GetKeyNameText(lParam, szKey, 32);
        SendMessage(hWndMain, WM_USER, 0, 0);
    }
    return CallNextHookEx(hHook, Code, wParam, lParam);
}

That all seems OK, so I'll blame it on the late night gremlins :)

nullptr 167 Occasional Poster

Yes that was pasted straight into the Code editor and seemed OK.

nullptr 167 Occasional Poster

I've just noticed some anomalies when I try to paste code that aren't consistent with how things previously operated.
I can't recall exactly what it was, but I ended up with the code being double tabbed.

nullptr 167 Occasional Poster

It seems you can disable the suggested apps/ads - http://www.zdnet.com/article/how-to-disable-windows-10-start-menu-ads/

Edit. I just noticed that Rev Jim mentioned the opt out aspect.

nullptr 167 Occasional Poster

Here's your code, formatted and with curly braces as ddanbe explained.

    #include <stdio.h>

    int main(void)
    {
        int w;
        double v, s, t;

        printf("Dieses Programm berechnet Geschwindigkeiten, Wegdifferenzen und\n"
        "Zeitdifferenzen fuer eine gleichfoermige Translation.\n"
        "1 ... Berechnung der Geschwindigkeit\n"
        "2 ... Berechnung der Wegdifferenz\n"
        "3 ... Berechnung der Zeitdifferenz\n");
        printf("Bitte waehlen Sie aus:"); scanf("%d", &w); getchar();

        if (w = 1)
        {    
            printf("Wegdiffernz (in m):\n");        
            scanf("%lf", &s);   
            getchar(); 
            printf("Zeitdiffernz (in s):\n");      
            scanf("%lf", &t);   
            getchar(); 
            (v = s / t);
            printf("Ergebnis:\n Geschwindigkeit: %lf m/s", &v);
        }

        else if (w = 2)
        {    
            printf("Geschwindigkeit (in m/s):\n");  
            scanf("%lf", &v);   
            getchar();
            printf("Zeitdiffernz (in s):\n");       
            scanf("%lf", &t);   
            getchar();
            (s = v * t);
            printf("Ergebnis:\n Wegdifferenz: %lf m", &s);
        }

        else if (w = 3)
        {    
            printf("Geschwindigkeit (in m/s):\n");  
            scanf("%lf", &v);   
            getchar();
            printf("Wegdiffernz (in m):\n");        
            scanf("%lf", &s);   
            getchar();
            (t = v * s);
            printf("Ergebnis:\n Zeitdifferenz: %lf s", &t);
        }

        return 0;
    }
nullptr 167 Occasional Poster

Supposedly, the telemetry data gathered is used to personalize your experience and provide ads "specially tailored to you".
If windows was free, I could understand some advertising, but not for an operating system that I pay for.

nullptr 167 Occasional Poster

Hi all i already got a solution thanks for all the input. Cheers

Did you go with a cruise missile perchance?

nullptr 167 Occasional Poster
nullptr 167 Occasional Poster

My main issue is the with navigating to a page (e.g page 3) of a thread. I either have to scroll to the bottom of the first page to be able to select the page or manually edit the URL.

diafol commented: Agreed +0
nullptr 167 Occasional Poster

My exe file contain my mail and password

Why does it need to contain your password? Isn't that just asking for trouble?

nullptr 167 Occasional Poster

From the GNU C library:
The ‘%m’ conversion prints the string corresponding to the error code in errno.

nullptr 167 Occasional Poster

From what I see at a glance, you've declared a class G_master
Above that you have variables with the same names as variables and functions in your class.
Many of the class functions are undefined and some make no sense.
e.g

    void G_master::respond()
    {
        switch (m_choice)
        {
        case 1:
            {  Number_guess ng; 
               ng.conversation();
               break;
            }
        case 2:
            {  Card_guess cg;
               cg.conversation();
               break;
            }
        default: break;
        }
    }

Where is m_choice declared and how is m_choice passed to ::respond()?
Then you have Number_guess ng; - Number_guess is declared as an integer, so how would this integer have a conversation? - ng.conversation();
Ditto for Card_guess cg;

Are you wanting to have a class G_master and then derive other classes from it?
If you can explain exactly what the end goal is, someone may be able to point you in the right direction. :)

nullptr 167 Occasional Poster

1. It's best to find the capslock key and turn it off.

nullptr 167 Occasional Poster

I thought the cache could be the issue, though I expected it would have updated at some point in the 23 hours since originally posted.