Click here to Skip to main content
16,006,594 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 9:55
Navin16-Dec-02 9:55 
GeneralRe: Waiting for an application to finish Pin
Atlantys16-Dec-02 10:06
Atlantys16-Dec-02 10:06 
GeneralRe: Waiting for an application to finish Pin
Navin16-Dec-02 10:11
Navin16-Dec-02 10:11 
GeneralRe: Waiting for an application to finish Pin
Atlantys16-Dec-02 11:09
Atlantys16-Dec-02 11:09 
GeneralRe: Waiting for an application to finish Pin
Todd Smith16-Dec-02 18:59
Todd Smith16-Dec-02 18:59 
GeneralDll Help...... Pin
keb16-Dec-02 9:20
keb16-Dec-02 9:20 
GeneralRe: Dll Help...... Pin
Rickard Andersson2016-Dec-02 9:26
Rickard Andersson2016-Dec-02 9:26 
GeneralRe: Dll Help...... Pin
Alvaro Mendez16-Dec-02 9:29
Alvaro Mendez16-Dec-02 9:29 
The memory leak being detected is because the object that is added to the array (inside InitProcess) is allocated by the DLL but not freed by the DLL. I assume you're adding multiple elements to the array, right? Because if it's only one, then you don't need an array. The bottom line is that if the DLL is that one allocating the memory, it must also be the one freeing it.

The access violation I'm not sure of, since there's a lot of code missing from your sample. Try posting it again but leave a space after the opening angle bracket and before the closing one (for the template parameters). Also, what is "type"? You don't show where it came from.

Regards,
Alvaro


Well done is better than well said. -- Benjamin Franklin
(I actually prefer medium-well.)
GeneralRe: Dll Help...... Pin
keb16-Dec-02 10:04
keb16-Dec-02 10:04 
GeneralRe: Dll Help...... Pin
Alvaro Mendez16-Dec-02 10:25
Alvaro Mendez16-Dec-02 10:25 
GeneralRecent File List Pin
will138316-Dec-02 8:28
will138316-Dec-02 8:28 
GeneralRe: Recent File List Pin
Gary Kirkham16-Dec-02 8:44
Gary Kirkham16-Dec-02 8:44 
GeneralRe: Recent File List Pin
will138316-Dec-02 8:56
will138316-Dec-02 8:56 
GeneralRe: Recent File List Pin
Gary Kirkham16-Dec-02 9:05
Gary Kirkham16-Dec-02 9:05 
GeneralRe: Recent File List Pin
will138316-Dec-02 9:17
will138316-Dec-02 9:17 
GeneralList Control Problem Pin
sikrip16-Dec-02 7:26
sikrip16-Dec-02 7:26 
GeneralRe: List Control Problem Pin
valikac16-Dec-02 8:04
valikac16-Dec-02 8:04 
Generalread/write datas from TCP/IP Pin
youssef16-Dec-02 7:23
youssef16-Dec-02 7:23 
GeneralRe: read/write datas from TCP/IP Pin
User 665816-Dec-02 7:37
User 665816-Dec-02 7:37 
GeneralRe: read/write datas from TCP/IP Pin
Jörgen Sigvardsson16-Dec-02 11:40
Jörgen Sigvardsson16-Dec-02 11:40 
GeneralOwner-drawn menus Pin
RobinBobin16-Dec-02 6:31
RobinBobin16-Dec-02 6:31 
GeneralRe: Owner-drawn menus Pin
Alvaro Mendez16-Dec-02 7:13
Alvaro Mendez16-Dec-02 7:13 
GeneralBuild Question.. Quickie... Pin
Ryan B.16-Dec-02 5:46
Ryan B.16-Dec-02 5:46 
GeneralRe: Build Question.. Quickie... Pin
Magius9616-Dec-02 5:50
Magius9616-Dec-02 5:50 
GeneralRe: Build Question.. Quickie... Pin
Ryan B.16-Dec-02 5:53
Ryan B.16-Dec-02 5:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.