|
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
|
|
|
|
|
lot of learning today thanks for your time 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]--
|
|
|
|
|
you might want to check this one
DumpbinGUI^
"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]--
|
|
|
|
|
Are these automation servers? A DLL doesn't necessarily have to be registered with RegSvr32 in order to work.
|
|
|
|
|
hi,
i'd like to try some assmebly instructions inside my MFC application. any assembly specialist here? i just want a small sample of it... just to display a string.
_asm
<code>Please Fill in</code>:-D
thanks.
"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: to display a string
This is not a trivial example...
~RaGE();
|
|
|
|
|
Especially for an MFC application. Using interrupt 0x21 to display a string at a command prompt is easy enough, but not very useful. I can remember back when we used to write directly to video memory. Color was at B800:0000, and monochrome was at B000:0000.
"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
|
|
|
|
|
B800:0000, hmmmmm i remeber this number, once i tried to save the content of the screen.it came out well, but i tried in C.
"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]--
|
|
|
|
|
There are plenty of examples on the Web:
http://hem.passagen.se/danma/asmprog.htm[^]
"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
|
|
|
|
|
nice examples , can i call these codes simple inside the _asm block? a Cut-n-Paste will work??
"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]--
|
|
|
|