This field is actually defined as TCHAR szExeFile[MAX_PATH];, where TCHAR is either an ASCII or wide character depending on your configuration type (although the doc implies Unicode only). Assuming that you are using this in conjunction with Process32First()/Process32Next() then each call will return the exe path name in this field. If you then wish to store these names in an array you will need to copy them to a new buffer whose address is stored in the array. If your code is non-unicode then you will also need to convert the strings from Unicode to mbcs types.
You already had a good reply 4 1/2 hours ago to your question. If you read the article pointed to, it has a button, with a big "balloon", with links in it.
Have a fun evening reading,
I have now moved to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), or need contract work done, give me a job! http://cv.imcsoft.co.uk/[^]
i tried a lot to pass array to excel sheet using xloper structure hear is sample function i wrote to pass array using xloper
<code>__declspec(dllexport) LPXLOPER xarr ()
static XLOPER xlArray;
for (i = 0; i < 4; ++i)
xlValues[i].val.num = i+10;
xlValues[i].xltype = xltypeNum;
//this will generate array with 4 element 10,11,12,13
above function gives only first value of array i.e.10 in the cell from which function call is made
is there is any way to fill the other cell? as i am giving no of row and column in xloper it should fill 3 cell also but that is not happening
i am showing media player on dialog box using MCIWNDCreate function as follows
HWND h_video ;
h_video = MCIWndCreate(this->GetSafeHwnd(),
here h_video is handle of window
by using MCIWNDPlay(h_video);it will play audio file
but it will show that media player on top of dialog box but i want to show that player on anywhere on dialog box.Plz if anyone know this plz tell me how can i show that media on anywhere on dialog box.
i am new driver development .
i want to know how to create project display Mirror driver project with vs...
is there any wizard to create this project or i will create from begin.
please help me.
I use connection to sql server:
m_pConnection.CreateInstance( __uuidof( Internal::Connection ) );
when I am currently testing my application in remote (server sqlserver in another machine) everything works as it should.
But when I simulate a network outage (disconnect and reconnect the cable network) and I run a query to read attributes (for example) I noticed that my application does not know the basis which has been connected even though the tests on the connection it gives me yet opened(pConnection->GetState() = adStateOpen)!
So I wonder how to know if there is a network outage or how to create a connection attempt and also the best test on the connection that it is still connected to my database.