#include <tchar.h>
#include <process.h>
#include <stdio.h>
-
+
#include "taskmgr.h"
#include "applpage.h"
#include "procpage.h"
else
{
//pAPLI = new APPLICATION_PAGE_LIST_ITEM;
- pAPLI = malloc(sizeof(APPLICATION_PAGE_LIST_ITEM));
+ pAPLI = (LPAPPLICATION_PAGE_LIST_ITEM)malloc(sizeof(APPLICATION_PAGE_LIST_ITEM));
pAPLI->hWnd = hWnd;
pAPLI->hIcon = hIcon;
HWND* hWndArray;
int nWndCount;
- hWndArray = malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
+ hWndArray = (HWND*)malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
nWndCount = 0;
for (i=0; i<ListView_GetItemCount(hApplicationPageListCtrl); i++) {
int nWndCount;
//hWndArray = new HWND[ListView_GetItemCount(hApplicationPageListCtrl)];
- hWndArray = malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
+ hWndArray = (HWND*)malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
nWndCount = 0;
for (i=0; i<ListView_GetItemCount(hApplicationPageListCtrl); i++) {
int nWndCount;
//hWndArray = new HWND[ListView_GetItemCount(hApplicationPageListCtrl)];
- hWndArray = malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
+ hWndArray = (HWND*)malloc(sizeof(HWND) * ListView_GetItemCount(hApplicationPageListCtrl));
nWndCount = 0;
for (i=0; i<ListView_GetItemCount(hApplicationPageListCtrl); i++) {