|
as i told ,i am using Win CE,i can see memory status der....
birajendu
CyberG India
Delhi
India
|
|
|
|
|
birajendu wrote: i can see memory status der....
What is a "memory status der?"
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hi All!
I m trying to create the DLL of my VC++ project. My project is a dialog Based project at which i use ActiveX control when i m make the Dll of this project it not work.If i remove ActiveX control from the Dialog Box Dll work prperly.
Pls tell me how i create Dll without deleting the ActiveX control.... of my project.
ansh
|
|
|
|
|
aaaan wrote: it not work
What does this mean?
Does it compile/link/run/crash?
You have to be more explicit than that.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote
|
|
|
|
|
In my ActiveX Control Project i simply use an ActiveX Check Box. and when i use The Dll of this project in my another project in which i call the Interface of ActiveX Control Project on ok event of my project that interface is not view. Bt if i remove the ActiveX Check Box from the ActiveX Control Project and make DLL of it and use it in my new project it works well....
So i just want to know how I use DLL with ActiveX Control.
|
|
|
|
|
aaaan wrote: which i use ActiveX control
Which activeX control you are using ?
|
|
|
|
|
In my ActiveX Control Project i simply use an ActiveX Check Box. and when i use The Dll of this project in my another project in which i call the Interface of ActiveX Control Project on ok event of my project that interface is not view. Bt if i remove the ActiveX Check Box from the ActiveX Control Project and make DLL of it and use it in my new project it works well....
So i just want to know how I use DLL with ActiveX Control.
|
|
|
|
|
quick question: how do i find the path to the directory in which my executable is saved?
|
|
|
|
|
GetModuleFileName() returns the full pathed name of your application. you can extract from it the current dir (i assume you mean by current dir, the directory from which the application has been started)
|
|
|
|
|
The CWD, per ths subject of your post, can be obtained via GetCurrentDirectory() . This, however, is not necessarily the same as the folder in which the application is running from. Use GetModuleFileName(NULL, ...) for this.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
GetModuleHandle(NULL) to retrieve the executable full path, and then ShLwApi.dll's PathRemoveFileSpec to strip filename and get the path.
Nuclear launch detected
|
|
|
|
|
I see the previous reply voted with 1.
Just for my [sick] curiosity, is there something wrong with GetModuleHandle/PathRemoveFileSpec combination, or is just a retaliatory kind of rating? I really don't get it.
Nuclear launch detected
|
|
|
|
|
Hi,
I'm trying to add HTML(associated JPEGs are in a separate folder) and MP3 files to a dll and then use them in another dialog based app. Now, thanks to CP i know how to add Jpegs to a DLL and call them but am completely stumped as to how to call the HTML or MP3 via ActiveX(MS WebBrowser Control and W.Media Player respectively)
Any clues?
|
|
|
|
|
Its hardly a complete answer, but I think the res: protocol for urls may be of help. I know its used for things like CHM, etc, so it may be helpful to you - at least for html, if not for your mp3s.
Can you not extract the resources to a temporary file (GetTempFilename), play / use that temp file, then tidy up when you're done?
If you're not sure when the external app is finished with (eg) your mp3, you could open it with DELETE_ON_CLOSE flag (going from memory here)
Iain.
|
|
|
|
|
Hi
I want to use SetlocalInfo function in my application, so in which file (View,doc,appframe) this function should include.
thanks
atul
|
|
|
|
|
M. Atul wrote: so in which file (View,doc,appframe) this function should include.
From the MSDN for SetLocaleInfo :
...
"Header: Declared in Winnls.h; include Windows.h."
...
So it is already included. And linked.
Just use it. And read the MSDN-entry about it!
If that does not answer your question, please clarify it!
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
jhwurmbach wrote: If that does not answer your question, please clarify it!
His question was very clear. He wanted to know from where SetLocaleInfo() should be called.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: He wanted to know from where SetLocaleInfo() should be called.
No.
He asked specifically for include.
You might or might not guess from that whether he could have meant call.
And even then you can not answer it in one word.
Do you have a problem with me answering questions?
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
jhwurmbach wrote: He asked specifically for include.
He wanted to know where the call to SetLocaleInfo() should be called from (e.g., the project's view, doc, or frame), not which .h file contains the function's prototype.
jhwurmbach wrote: Do you have a problem with me answering questions?
No, not at all.
"Approved Workmen Are Not Ashamed" - 2 Timothy 2:15
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
Hai,
I am new to VC++ Environment.Can you please explain me the use of each library file mentioned below.I would like to know what all files become mandatory (like if we are including one library file we should include some other along with it)
File Names:-
strmbasd.lib ,maddecoder.lib ,nellymoser.lib, sorenson.lib wsock32.lib ,ole32.lib ,oleaut32.lib ,wininet.lib ,urlmon.lib, version.lib ,kernel32.lib, user32.lib ,gdi32.lib, comdlg32.lib, advapi32.lib shell32.lib ,uuid.lib ,winmm.lib ,comsupp.lib
Thanks & Regards,
Hot
|
|
|
|
|
If you have a .EXE using all these DLLs, you may be able to use "depends.exe" (from the VC++-Tools-directory to see the dependency tree, and decide what depends on what.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
Hey.. how can that be a abusive post??? if a person doesn't know a thing he can ask over here and that is y such a site has been opened too also..
so frnd if u dnt hav any othr job no need to mak fun of others ok??? this is not a matter of fun 4 us....
mike
|
|
|
|
|
mike dano wrote: so frnd if u dnt hav any othr job no need to mak fun of others ok
is this english ?? naaaaaa, SMS !!
BTW, i think This[^] might give you a tip for your seach... (+MSDN)
|
|
|
|
|
Nobody can give you wiser advice than yourself. - Cicero
ப்ரம்மா
|
|
|
|
|
Maybe new version
|
|
|
|