Checking for a module

I'm trying to check for a module handle on form load, but regardless it always checks positive. Heres what I have

1
2
3
4
5
6
7
8
9
DWORD dwTest;
do{
dwTest = (DWORD)GetModuleHandleA("Test.dll");
//Sleep(100);
}
while(dwTest);
this->label1->ForeColor = System::Drawing::Color::Lime;
this->label1->Text = "Test : Found!";
}
Last edited on
closed account (zb0S216C)
You'll get better answers if you move this thread to the Windows section.

Wazzak
Topic archived. No new replies allowed.