|
axid3j1al wrote:
[1] How do you include the version number in the dll? Do you append it dynamically?
Funny you should ask! I just got done solving this problem. Will post a reply (or better yet, an article) soon.
axid3j1al wrote:
[2] Having done something similar to the above per library I would like to create a repository of libraries.
Gotcha. I guess I'd copy the public .h files to a global /inc folder and the libs and dlls to a global /lib (or /bin ) folder as you yourself suggested. The copy would occur in the post-build step for each library - i.e. it would occur every time you rebuilt a library (which is probably less often than rebuilding apps that use these libs).
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
An article/reply would be great!
Thanks for you help.
At least im on the right track.
Regards,
axe
|
|
|
|
|
Note that this forum topic is not for advertising.
If your program was complete freeware, you should've created an article for it. Now, unfortunately, you should make a presentation of your application and send it to the Code Project staff, so it might get a place in the Product Showcase section.
But advertising under this forum topic is generally considered a bad thing, as there are many many questions to answer and posts to read already
-Antti Keskinen
----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
|
|
|
|
|
A little while ago I asked if you could take the 7 .NET cd's and put it onto dvd. While its not on dvd yet it works on the hard drive.
Here is my initial question under the heading "Installing .NET"
http://www.codeproject.com/script/comments/forums.asp?forumid=1647&fr=426#xx766942xx
By this I mean just mkdir c:\net\install
Then copy disk1-disk7 into net\install
Then run the components update bit.
Then run something like
c:\net\install\progra~1\Microsoft Visual Studio .NET\setup\setupmm\setup.exe
(something like that)
Then when it asks for disk1 point it to c:\net\install.
And yes I tried to compile something under install (which worked).
So on a machine with one cd/dvd drive you can listen to music and install .NET and its way quicker as well due to non cd swapping and the difference in speed between the hard drive and a cd mechanism.
So now you can just put that onto a dvd or just have a file server so that other users can easily install .NET unattended.
So sorry for asking such a basic question.
Regards,
|
|
|
|
|
Yeah i told you so.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
eh?
You said it couldn't be done.
I did it.
Am I missing something?
|
|
|
|
|
I said that you cant install .net by copying its files from one pc to another and tweaking the registry.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
Mr.Prakash wrote:
tweaking the registry
I dont think this is needed!!!
I was born intelligent Education ruined me!.
|
|
|
|
|
S P S wrote:
I dont think this is needed!!!
yeah i know, but he was asking something to do with the registry.
MSN Messenger.
prakashnadar@msn.com
|
|
|
|
|
I guess it should work... I have tried working with putting them in HDD as u did... but in DVD - have to try that...
I was born intelligent Education ruined me!.
|
|
|
|
|
S P S wrote:
I guess it should work... I have tried working with putting them in HDD as u did... but in DVD - have to try that...
Course it will work.
Whats the difference between the cd files getting copied to a specified location or a user doing it?
With the registry I am not sure if .NET puts initial stuff in there when installing or it just saves information in there the first time it is run.
SO I reckon just dragging the folder over from one to the other would get you 90% of the way there.
Seriously its easy.
Install a vanilla install of xp then use norton to keep track of what gets installed.
Install .NET properly then see where the files go and then you can just drag em from machine to machine
|
|
|
|
|
axid3j1al wrote:
Seriously its easy
axid3j1al wrote:
Install a vanilla install of xp
Whats that??
I was born intelligent Education ruined me!.
|
|
|
|
|
What I mean by "vanillia" is a bare bones initial install.
|
|
|
|
|
ok...
I was born intelligent Education ruined me!.
|
|
|
|
|
hey all!
when using rich edit ctrl, I can't insert any unicode string that is not pute English.
I have create an application that have many windows controls, all of them respond
correctly to the unicode string (wchar_t []) that's includs the regular edit class.
however, I need the formatting, font color and size that is offered fy this control.
I didn't find any help on that in the MSDN...
any ideas anybody?
TY
|
|
|
|
|
Did u try finding CHARFORMAT, its a structure that containg all the formating features... pretty useful with richedit ctrl.
|
|
|
|
|
yes it does, but nomatter what font I used (unicode fonts), still nothing but pure English.
|
|
|
|
|
HI all;
I am building an application which should have a tab control on a CDialogBar. Visual C++ gladly added the dockable dialog bar for me but i could not figure out where to put the code to create the tab control since the OnInitDialog() function is simply ineffective. Can anybody please help out. I need to know where i should place my code to create the TAb control on the dialogbar.
I badly need this guys;
THanks
Krugger
|
|
|
|
|
Hi, I can't find any way to resize class arrays
created using "new"
is it right to use C memory allocation functions for class arrays and then call constructors/destructors
|
|
|
|
|
You definitely wouldn't want to use realloc with an object created with new. You need to leave that old C stuff behind.
If you are using MFC CArray or better still STL vector then they will resize themselves as required.
Neville Franks, Author of ED for Windows www.getsoft.com and coming soon: Surfulater www.surfulater.com
|
|
|
|
|
|
If you're using MFC, you can use SetSize() to preallocate a CArray 's storage. This is useful when optimizing deserialization of a collection. The size of the collection will grow as you add more elements.
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Imagine the following scenario:
One of my applications communicates with another (3rd party, non open source) application via a simple TCP socket. The socket is only used to retrieve the status of the other app (or better, the other app sends its status over the socket). The packets are small, usually below 70 bytes, but they are sent pretty often (about 3-5 times per second). After my app receives a packet from the other app, it sends a small, 33 byte answer. After this answer, the other app sends a new status packet and so on. So much for the scenario...
Now there are two odd things going on.
The first oddity is a packet of 1024 bytes. This packet is mysteriously received by the other app, but I have no idea where this might come from (I'm using Port explorer, and it says that it should come from my app, but that's impossible). The packet arrives shortly after I've sent my "answer" to the other app. It contains my answer plus a lot of garbage. But that's not all...
After a while, the other app stops sending out its status to my app. But! It begins to receive even more of these 1024 byte packets - with the correct status at the beginning! Port explorer still says that all comes from my app, but that's totally impossible (I couldn't even guess the correct status).
So, where might these packets come from? What might make the other app stop sending out its status? Is there a way to get these 1024 byte packets?
|
|
|
|
|
Hi!
If you can post some of the code snippets, then there might a chance for a solution. At the moment it seems that you are allocating the buffer of size 1024, and fill in the first few bytes ans send it. Rest is garbage. And btw what kind of sockets you are using? Sync or Async etc.
Regards,
Bilal Anjum
|
|
|
|
|
No, your assumptions are wrong. My buffer is not 1024, and I am not sending it (as I stated, I CANNOT send it, I can't guess the contents of these packets). It is not that simple. The socket on my side is async, but that doesn't matter. I can't say what kind of socket the other program is using (I don't think that they use MFC at all).
And code snippets won't help - it's a simple derivated socket which receives stuff and sends a small reply (and this reply does not contain garbage, nor is it 1024 bytes long).
I can only say that these packages cannot come from my app. I neither can guess the contents of them (that would solve my problems, lol), nor do I send anything at that time (I only send sth. when I receive sth., and as I stated, I don't receive anything after a while... and even if I don't send anything at all these 1024 byte packages arrive at the other app).
|
|
|
|