|
The link you provided doesn't support VC++ 6 (seems Ms never care that millions people are still using the old good VS6). But anyway, I got it from a friend (after asking to many people ... and it's compiling perfectly. Thanks for your help anyway.
|
|
|
|
|
Where did you put those defines?
Regards,
Nish
|
|
|
|
|
Hello ,
How can I get Message from other windows than my application ?
For example how can get in my application the Minimize/Maximize Window Message when I click on Min/Max of an Explorer Window,
wihtout using the Hook ?
Christian
|
|
|
|
|
desir wrote: wihtout using the Hook ?
You have to install a hook. Messages are always sent to their target windows (or threads). Imagine the havoc it'd cause, if every message was broadcasted to every window out there.
Regards,
Nish
|
|
|
|
|
Hello everyone,
I have written a configuration wizard in c++ (mfc) that works great on windows xp. I would like to use this application on a windows xp embedded system.
How would I go about creating the executable with no dependencies that will run on an xp embedded system? It is my first time working on an embedded application, so any help would be appreciated.
I have tried google, but I haven't had any luck finding a good tutorial.
Thanks in advanced.
-----------------
Genaro
|
|
|
|
|
|
I think I might have stated my problem incorrectly. The problem is not the dependencies, the problem is that I want to be able to run the wizard on a windows xp embedded system, but it won't work if I just try to run the same executable that works in windows xp.
Are there settings that have to be changed in VS 2003 to make the exe work in xp embedded?
Thanks for the help,
-----------------
Genaro
|
|
|
|
|
ah, yeah, you mean if you compile for a target, and execute on another plateform ?
in fact you have to cross compile, but i'm not sure this can only be made with a project settings change...
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VisualCalc 3.0]
|
|
|
|
|
I ran into this article a little while ago, which I think explains how to do it. However, I can't get to the project->properties->common properties->general from my c++ project.
Well, I also have visual studio 6.0, which I believe runs against the 1.0 framework. So if I can make my code work in VS 6.0, then wouldn't this allow me to run the application on xp embedded without further modifications/settting changes?
Thanks
-----------------
Genaro
|
|
|
|
|
How can I make an Accessor that takes fields come from many table. for Instance I have this SQL code select name,study from agent,diploma where agent.matric = diploma.matric. I need to access the name and study field at one time .
How can I do this Accessor ?
I learn my self
|
|
|
|
|
To answer that question, more information about your target environment would be useful.
Generally, look into .NET (System.Data), DAO, ODBC, ADO ... and everything else that somehow relates to database-access.
All solutions I am aware of will cache the result of a SELECT-operation, so that you can access these fields at any time.
That is all I can say without further details.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Dear Sir,
I am using SQLSERVER 2000 database and i work with Visual c++ 6.0.
This subject is very important for me to understand.
|
|
|
|
|
how do i count the number of messages present in the message queue? is there anyway?
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
I don't know of any way to obtain such a number. Why do you need it? Given the hundreds of messages that are flying around at any given time, I'd guess the number would be accurate for only a few milliseconds.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: Why do you need it?
Just to know about it.
DavidCrow wrote: I'd guess the number would be accurate for only a few milliseconds
yea i guessed the same, but i thought there's be a "snapshot" type to get the number of messages in the queue at a given point of time.
anyway..thanks david.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
As far as I know, there's no way to know that. Perhaps, if you wrote a kernel mode driver, and it could directly access some internal data structure that stores messages, it may be able to get a count that'd be valid for a few milliseconds, if at all.
Regards,
Nish
|
|
|
|
|
got it! in short ,its impossible for me for the moment. need to learn a lot
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
|
|
Do x.dll and y.dll export the DllRegisterServer() function? What message does regsvr32.exe give you?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
DLL LOADED BUT APPLICATION ENTRY NOT FOUND
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
if this is the case, then how the TOOL registers it?
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
You did not answer my first question so this is only a theory. Regsvr32.exe does nothing more than call one of two predefined, exported functions within a DLL or OCX file. That does not mean, however, that the DLL or OCX file can't name those exported functions something else. If that is the case, a regsvr32.exee replacement will be needed that calls those functions instead. Make sense?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
DavidCrow wrote: You did not answer my first question
oops, please excuse me david, how do i see if those predefined functions are available in the DLL?
DavidCrow wrote: Make sense?
Excellently does.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
VivekuniQ wrote: how do i see if those predefined functions are available in the DLL?
Use either Depends or Dumpbin.
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|