|
Why not encapsulating the DLL instead of messing around? You'll most probably receive an updated version of the file with the next Service Pack, and you'll need to do the work again. I'd rather write my own DLL that simply calls the standard one, are there any obstacles here?
Regards,
BB
http://spin.bartoszbien.com
|
|
|
|
|
there are a few 3rd party libraries (.lib's) that either perform the linking / mapping to symbols in dlls, or actually contain code. the library that actually contains code (that i need) also contains the DllMain, but as i mention, i really need to implement my own DllMain. So in other words my own dll encapsulates functionality provided by the other dlls AND libraries, but i can't dynamically link to all symbols, because they're actually provided within a .lib.
is there any way of extracting/removing symbols from .lib's/.obj's that i need/don't want?
|
|
|
|
|
|
I'd imagine object modules within libraries are included in the resultant exe/dll as are those that are generated during compilation of project code!?!? In which case, ALL symbols specified to the linker (directly/indirectly) would be included.
Any ideas??
|
|
|
|
|
hello!
i am new to mfc programming. i want to know "how to convert ini files into xml files by using mfc". i am working on windows xp platform.plz help me
thanx
|
|
|
|
|
hello!
i am new to mfc programming. i want to know "how to convert ini files into xml files by using mfc". i am working on windows xp platform.plz help me
thanx
|
|
|
|
|
hey swaapu u have posted the message twice.........
will send u feedback if i get it for converting
the ini--> xml by mfc
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
vikas amin wrote:
will send u feedback if i get it for converting
the ini--> xml by mfc
hey, are you too tired to come to the forum and read what you want ?
don't you want us to eat in your plate and f**k you wife too ????
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
don't you want us to eat in your plate and f**k you wife too ????
Tox, this was not you posting this, was it ? I am not used to you answering like that ...
~RaGE();
|
|
|
|
|
hummm, hem, what ? who is speaking ?
oh, hello dear Rage
ok, i was a bit too hard in my post but hey, this is a forum or not ? if this is a forum (what i deeply suspect to be) why one would forward to another the answer he could have been given ? i find exactly the same as asking something on a forum, and ending your post by giving your email....
d'you understand what i mean ?
if the guy cannot come back to the forum and see the answer he was seeking, so maybe he needs someone to handle his fork, take the food in his plate, put into his mouth... (or much... )
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
toxcct wrote:
d'you understand what i mean ?
Would it have been too much for you to have simply ignored the thread?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
The first thing I would do is print out an .ini file on your system that fits on a single sheet of paper (for me this was win.ini ). Then on a separate sheet of paper, write out what the resulting XML format should look like. Some things you should notice:
Each section in the .ini file should relate to a set of same-named tags in the XML file. For example, if the .ini file had a section named [Mail], then you should expect to have <Mail></Mail> tags in the XML file.
Each key in a given section of the .ini file should relate to a set of same-named tags within the aforementioned tags. For example, if the .ini file had a key named MAPIXVER with a value of 1.0.0.1 in the [Mail] section, then you should expect to have <MAPIXVER>1.0.0.1</MAPIXVER> in the XML file in between the <Mail></Mail> tags.
Make sense?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
hi!
i understand the points , which u had told me. but, i hav to write a program for it using mfc. could u please help me out??
thanx
|
|
|
|
|
Which part exactly are you needing help with?
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Hi
actually, i need help on which functions to use and how to proceed?
thanx
|
|
|
|
|
Hi All,
I have created 2 seperate application. now i want to transfer
information from one application to other . i know little bit about
IPC but i am still confuse.
please tell me.
if both application are running in seperate machine which method is best. or running in same machine which one is best in all aspect (fast processing..)
Please help me.
Prashant
|
|
|
|
|
Hello,
You should choose the method you want depending on your needs. If you want really fast data transfer, you could use UDP, but the data might not arrive completely. If you need the data exact as you send it, TCP could be of some help. It is a little bit slower, but the data arrives just like you send it.
You could also use some form of middleware (CORBA, RMI, ...) but this is more slow than raw socket programming. It is more easy in most cases though.
You'll only learn to make the best choice by experience...
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Thanks Blog,
Its very usefull information for me. but can you differentiate socket connection vs pipe,window messageing , RPC. so that i better understand
which is sutable for my applicaion.
I want to develop two application one store some information in data structure and other retrive and delete that information.
I don't want to use database. i want fast processing in it.
can you suggest me which is better.
Regards
Prashant
|
|
|
|
|
Hello,
First, my name is not Blog, it's Bob..
So you want to process your data fast. What has to be fast? The connection so that your data is transferred quickly? Do you want your application to process the data fast? How did you define "fast"? By this I mean, by what numbers is your application considered fast...
One other thing, where do you store the information. Do you store it in a file or do you keep it in RAM? Does the retrieval app needs to extract the information by itself or does the storing app push the data to the other...
I think that you need to do some more research on what you really want. After you do this, the way you'll need to communicate will become clear. One advice, don't bother too much with performance now, implement one solution and when it isn't fast enough, you can always do better later!
Kind regards,
Bob
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
Thanks Bob,
what i want . I am developing 2 application . one which monitor
no. of telephone line and store all lines information in one data structure
it may be linklist.
second application monitoring agent who is idle for
handling that call. as soon as agent free it retrive call information
which is stored by first application in linklist and route that to agent. and
delete that information from linklist.
i want to store information which is shared by both application. i read about file mapping but i don't want to use file or database.
please help me bob.
|
|
|
|
|
Hello,
So if your applications run on the same machine, this solution will work:
Create a DLL which can be used to store and retrieve the information. The first appication stores information and sets a signal or something so that the second application can retrieve the information.
If your applications run on different machines, you should use a middleware of some sort. You can try RMI, DCOM, CORBA, etc..
Hope this helps
Behind every great black man...
... is the police. - Conspiracy brother
Blog[^]
|
|
|
|
|
prashantarun wrote:
i know little bit about
IPC but i am still confuse.
Then you must be aware of things like:
Clipboard
Data Copy (WM_COPYDATA)
DDE
File Mapping
Mailslots
Pipes
RPC
Windows Sockets
prashantarun wrote:
if both application are running in seperate machine which method is best.
RPC, perhaps.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
Thanks David,
but can you give me links through which we differentiate about this.
i.e advantages or disadvanges type of thing. Can you tell me what's
RPC advantages over other.
ThaNks
prashant
-- modified at 5:50 Thursday 6th October, 2005
|
|
|
|
|
prashantarun wrote:
but can you give me links through which we differentiate about this.
i.e advantages or disadvanges type of thing.
Start here.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
I advocate using pipes. They can be used for processes on the same machine and on different machines. There is lots of information available about them too. Look for "named pipes."
|
|
|
|