|
I want to connect windows mobile to my application.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: how can i resolve this error of 'CeGetDeviceId'.
Did you include the "ceutil.h" header file (which should be on your include path) ?
"_$h@nky_" wrote: fatal error LNK1181: cannot open input file 'rapi.lib'
fatal error LNK1181: cannot open input file 'ceutil.lib'
Where did you put those libraries ? They should be on the library path.
|
|
|
|
|
yes i m include ceutil.h.
and write these lib name in
Poject property->Linker->Input->Additional Dependencies.
please help me for this.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: yes i m include ceutil.h.
Did you include it in the file in which you are calling 'CeGetDeviceId' ?
"_$h@nky_" wrote: and write these lib name in
Poject property->Linker->Input->Additional Dependencies.
You should also add the path to these libraries in "Poject property->Linker->General->Additional Library Directories".
|
|
|
|
|
Cedric Moonen wrote: Did you include it in the file in which you are calling 'CeGetDeviceId' ?
yes i m include it.
Cedric Moonen wrote: You should also add the path to these libraries in "Poject property->Linker->General->Additional Library Directories".
how can i get the lib path.
To accomplish great things, we must not only act, but also dream;
not only plan, but also believe.
|
|
|
|
|
"_$h@nky_" wrote: how can i get the lib path.
By finding the files with explorer, and taking careful note of what path (ie directory) the libs you are interested in live.
It's less complicated than you thought... (I hope!)
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Experts,
I want to use DirectX.AudioVideoPlayback.Audio calss in C++, but which head file I should include? which lib file I should reference?
|
|
|
|
|
Novice,
It's been 3 1/2 hours since you posted. Have you found the information by reading the documentation? Or are you waiting for someone to give it to you?
|
|
|
|
|
Cannot find "AudioVideoPlayback" in DirectX Documentation for C++, so it seems we can only use that in managed code.
|
|
|
|
|
I am fetching the data from excel file using the odbc connection . but the connection is breaking randomly form the excel file I am getting the following error
key voilation
[Microsoft][ODBC Excel Driver] The connection for viewing your linked Mmicrosoft Excel worksheet was lost
Trioum
|
|
|
|
|
Have you checked if the connection is being closed somewhere prematurely in your code while it is still being used?
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Actually some other application is also updating the excel file. I am just reading the file through odbc . I go through my code it is correct
Trioum
|
|
|
|
|
Is there any way of knowing the windows of a process. I want to write a win32 program that will tell if a process has any visible window or if a window minimised to system tray.
|
|
|
|
|
GetWindowThreadProcessId will give you the process id of a window.
You can do EnumWindows to get all visible and hidden windows.
I don't think you can do it the other way around.
«_Superman_»
I love work. It gives me something to do between weekends.
|
|
|
|
|
I’m getting a assertion in below code. What could be the prolbem.
bool AxControl::CreateOleClientInstance(CLSID clsidActual)
{
clsid = clsidActual;
AfxEnableControlContainer();
pDoc = new COCXDocument();
pDoc->OnNewDocument();
pClient = new COCXClientItem(pDoc);
CoInitialize(NULL);
pClient->CreateNewItem(clsidActual);
pClient->m_lpObject->QueryInterface(
IID_IDispatch, (void**)&m_lpObjectdispatch);
return true;
}
VIBIN
"Fool's run away,where angle's fear to tread"
modified on Wednesday, March 25, 2009 4:32 AM
|
|
|
|
|
Possibly this [^] helps.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
As My application is Build in C++\CLI, and I was using MFC code in that, the application name was not set. To fix the Assertion, I used
afxCurrentAppName =(LPCTSTR) "Dummy App";
VIBIN
"Fool's run away,where angle's fear to tread"
|
|
|
|
|
Hello,
Once I make an object throuh CRuntimeClass how do I pass parameters to this object.
CMDIFrameWnd* pFrame = STATIC_DOWNCAST(CMDIFrameWnd,AfxGetApp()->m_pMainWnd);
pFrame->CreateNewChild(RUNTIME_CLASS(TableF),IDR_KTYPE, m_hMDIMenu, m_hMDIAccel);
how do I access object made with CreateNewChild()
Prithaa
|
|
|
|
|
If you check out the documentation[^] you can see that it returns an CMDIChildWnd pointer...could that be it?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Hey, no fair waiting for me to be in the middle of replying before posting...
:growl:
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Sorry, must have had my psychic module unloaded and i didn't sense you were half way there...
(btw: good luck with that "moving to Sweden" project mentioned in your signature...)
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Life: great graphics, but the gameplay sux. <
|
|
|
|
|
Hehe, makes a change from Carlo scooping me.
As for the other, scary and exciting! Will be an interesting year, regardless.
Iain.
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Iain Clarke wrote: moving to Sweden for love
if you're in Stockholm at the end of September I'll buy you a beer (I'll be there for 4 nights)
'g'
|
|
|
|
|
Being bought a beer always sounds like a good plan to me!
Maybe I'll try and arrange a Sweden CP meet late summer... could be fun.
But my plans are very chaotic right now, as I'm sure you'll understand, so that sort of thing will havge to wait a couple of months.
Iain
In the process of moving to Sweden for love (awwww).
If you're in Scandinavia and want an MVP on the payroll (or happy with a remote worker), give me a job!
|
|
|
|
|
Iain Clarke wrote: But my plans are very chaotic right now, ...
Man, *gasp* you plan things?
BTW, good luck for you to succeed in your love life.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|