|
i have to integrate google earth and GPS device.how can i do that.waiting for a reply.
|
|
|
|
|
Hello,
I have a problem that I hope someone have face before.
I have developed a MFC application which is a dll and executes C:\WINDOWS\system32\rundll32.exe C:\test\test.dll rdl (where the rdl is the entry point in the dll). Everything works just fine.
Now I am trying to run the same dll located into a network share: executes C:\WINDOWS\system32\rundll32.exe \\sharename\test.dll rdl and I receive an error that rundll32 cannot find the rdl entry point.
Any idea regarding how to run my dll from a network share?
Thank you.
|
|
|
|
|
plz check the entry point in the test.dll by depends.
|
|
|
|
|
Yes, but is the same dll. If I run it locally it works as it should. The problem appears when I run it from a network share.
|
|
|
|
|
try run like this :
C:\\WINDOWS\\system32\\rundll32.exe \"\\\\sharename\\test.dll\",rdl
-- modified at 3:54 Tuesday 14th March, 2006
|
|
|
|
|
Thank you.
It seems to work.
|
|
|
|
|
Hello!
I need help with tooltips on a Listbox which lays in a view.
If I go with mouse on a free space (an empty row) on my listbox the tooltip works but If I go on a used row the tooltip only flickers / flashes.
BOOL FMExListContol::OnToolTipText( UINT id, NMHDR * pNMHDR, LRESULT * pResult )
{
if (!m_bWithToolTip)
return FALSE;
TOOLTIPTEXTA* pTTTA = (TOOLTIPTEXTA*)pNMHDR;
TOOLTIPTEXTW* pTTTW = (TOOLTIPTEXTW*)pNMHDR;
CString strToolTipText;
strToolTipText = "test";
UINT nID = pNMHDR->idFrom;
#ifndef _UNICODE
if (pNMHDR->code == TTN_NEEDTEXTA)
lstrcpyn(pTTTA->szText, strToolTipText, 80);
else
_mbstowcsz(pTTTW->szText, strToolTipText, 80);
#else
if (pNMHDR->code == TTN_NEEDTEXTA)
_wcstombsz(pTTTA->szText, strToolTipText, 80);
else
lstrcpyn(pTTTW->szText, strToolTipText, 80);
#endif
*pResult = 0;
return TRUE;
}
-- modified at 3:31 Tuesday 14th March, 2006
|
|
|
|
|
Hi
ShellExecute(hwnd,"open","MyPrg.exe",NULL,NULL);
DeleteFile("MyPrg.exe");
I use ShellExecute function in a program. But the program executed both process simultaneously. How can i delete MyPrg.Exe after execution.
pls Help
thanx in advance
by
KK
|
|
|
|
|
Krishna Kumar N wrote: I use ShellExecute function in a program. But the program executed both process simultaneously. How can i delete MyPrg.Exe after execution.
Try this[^]
Take note of this line:
WaitForSingleObject( pi.hProcess, INFINITE );
Nibu thomas
Software Developer
|
|
|
|
|
Sometime will using "application.exe text.txt" to pass the option/value to the application.
But in MFC Application, how to put the option and receive the option in the MFC Applcation ?
Because i can't find the main and args..
Thanks
-- modified at 2:15 Tuesday 14th March, 2006
|
|
|
|
|
LPTSTR GetCommandLine(void);
Nibu thomas
Software Developer
|
|
|
|
|
Good Evening...
I was wondering if anyone has had issues with code from libraries operating differently than the same code in the .exe modules?
I am chasing a bug in some code, and the only thing I can point at is the fact that the code was moved out of the main program/exe project and into a link library....
I have no clue why?
Any thoughts?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.soonr.com">SoonR Inc.</A>
|
|
|
|
|
Just want to know how to use codeproject discussion block.
|
|
|
|
|
Draco Wang wrote:>> Just want to know how to use codeproject discussion block.
This[^] will help...
Nibu thomas
Software Developer
|
|
|
|
|
Is there anybody can tell me how to find my questions in this board?
|
|
|
|
|
Click on your name which appears under the options box in the top left corner of any page and then hit the 'Messages Posted' link and it will then show a list of all your messages posted.
Gavin Taylor
w: http://www.gavspace.com
|
|
|
|
|
Thanks alot.
|
|
|
|
|
Hello friends,
Can any one tell how to convert CString variable to integer data type?
for example
CString str1;
int b;
str1 = m_var1 ; m_var1 of string data type
I want to assign str1 to b . Since str1 is type of CString , then is not possible to assign str1 to b. I need to convert the str1 variable to data type of b. then only the assign is possible.
Can any one help me in this matter
|
|
|
|
|
CString strNumber = _T("2006");
int nNumber = _ttoi(strNumber);
Nibu thomas
Software Developer
|
|
|
|
|
Hi phijophlip
CString str;
str="123";
int i=atoi(str);
|
|
|
|
|
Hi all,
I have written a little program which uses gdi+ and a third party dll (just an interface to netcdf files).
I've tested both debug and release version on Win XP and W98SE on two desktop computers and it worked fine in all cases.
When check it on a laptop, debug version run ok but the release version always crash with this message:
Exeption Information
Code: 0xc0000005 Flags: 0x00000000
Record: 0x00000000 Address: 0x7c944262
(this address points into ntdll.dll)
Since I get this problem just on release version I have no idea about how to debug the application.
Any suggestion?
|
|
|
|
|
Could be one of these reasons[^].
Nibu thomas
Software Developer
|
|
|
|
|
Hi
I have a small problem
When i click a button in a dialogbox a new edit control should be created dynamically in that Dialog Box
How To solve this.
Thanks in Advance
abhi
|
|
|
|
|
This is how we do it...
CEdit* pEdit = new CEdit;
pEdit->Create(WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER, CRect(10, 10, 100, 100), this, 1);
Nibu thomas
Software Developer
|
|
|
|
|
Sir,
I want to know the difference between VC++ and vb.net, and asp.net and c#. I referred many books for these. But all contain the almost all same topics such as MFC, ActiveX, OLE, COM, DCOM, ADO, DAO. Then where the difference exist.
I have one doubt why many people are not interested to learn VC++. Many people put interest to learn VB.NET, ASP.NET and C#.
Sriram Suresh Kumar
|
|
|
|