|
Wt is the Difference between Debug Build and Release build.
when i channged from Debug to release build..
there r alot of errors.
if some one wanaa send the project to user in which format it should be??
thanx
|
|
|
|
|
|
Hi Dear answering last part first
One has to deliever the Release Mode executable to the client.
Next i am providing following link here: This will be helpful to get the idea about Debug and Release mode conflict:
http://www.codeguru.com/forum/showthread.php?s=&threadid=269905
Apart from this tehre is well known and widely famous good article on codeproject--Debug section i.e. Surviving Release mode
Check it out
Hope this will help.
Leave your mark wherever you go
|
|
|
|
|
hi,
Y its neccesry to deliever the Release Mode executable to the client.
wt r the difference or disadvantages w.r.t client point of view .
thanx
|
|
|
|
|
Hi All,
I have 2 processes using same port.I want to send data on port and read by the same data by second process on same port. For that purpose I need to have network notifications. I tried using WSACreateEvent API. but this is only for single process.What I need to do?
Vikram S
|
|
|
|
|
Make a third process, that is a port traffic broker, and have the first two communicate with it using RPC and syncrhonization events.
|
|
|
|
|
Well,How to write port traffic broker? any guideline/sample?
|
|
|
|
|
What I meant was that two programs could not have the port open at the same time, I think.
So, you make a third program that opens the port up for reading and writing.
The other two programs use RPC to communicate with the broker when they want to read and write. The broker can set events when there is data available or some occurrence of interest to either of the other two programs.
Search this site for 'RPC' and you will find many articles.
Here is one that might be worth reading. There is also another that claims to be an introduction to RPC.
How to use rpc for doing bi-directional client/server procedure calls.
http://www.codeproject.com/internet/birpc.asp
Search this site for 'sockets' and you will find many articles.
Microsoft does something similar for TAPI, since only one 'process' can really control a modem at any given time.
|
|
|
|
|
now, i can compress a file to zip and uncompress it with zlibstate.lib that is downloaded from http://www.winimage.com/zLibDll/unzip.html.
but i wanna delete a file from a zip file, i don't find the approach to do it.
can you tell me how do it? 3ks
hi
|
|
|
|
|
Check the following articles.
http://www.codeproject.com/cpp/zip.asp
http://www.codeproject.com/cpp/zipunzip.asp
Rodrigo Pinho Pereira de Souza
|
|
|
|
|
yes, i was read it, but i can't find the function to delete a file that is in zip. There is only add a file to zip and extract a file from zip.
thanks. if write it by myself, it's not worth. i hope there is a source code to do it.
someone can help me?
Shy, My english is so poor.
even now, would you like help me?
|
|
|
|
|
FWIW, I believe that even WinZip recreates (instead of just modifies) an archive when deleting from it, which leads me to beleive that the ZIP format does not directly support deletion in situ.
You may have to stream the archive's contents from the original archive to a temporary one and just omit the desired file when you get to it...
Peace!
-=- James
Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"! Articles -- Products: Delete FXP Files & Check Favorites
|
|
|
|
|
If a zip file is very large, then we do it by this way. Is not the speed slow?
hi
|
|
|
|
|
While the general answer is "yes, having to recreate the ZIP file would be slower than deleting an item in-place", "slow" depends on the environment (hardware, software, OS, etc.).
I do not know of any way to modify a ZIP file in-place, so that may be the only way to do it. As the developer, the responsibility is yours to try to optimize the process as much as possible (different buffering, async/overlapped I/O, etc.).
Peace!
-=- James
Tip for SUV winter driving survival: "Professional Driver on Closed Course" does not mean "your Dumb Ass on a Public Road"! Articles -- Products: Delete FXP Files & Check Favorites
|
|
|
|
|
Thanks for your answer.
Now, my possible approach to resolve it is not use zip.
After all, hold zip's format isn't my target, only for use it.
hi
|
|
|
|
|
Hi, i've created a small app (client/server) to chat and i would like to add an file transfer system to that app...
is that point of view could works :
In the client side, there is a main thread (CDialog) wich has a connection to the server(client-server)...
to integrate the file transefer system between client to client can i create a new class derived from CWinThread (CFileTransferThread for exemple) wich has :
CPtrList of listing socket
CPtrList of sending socket
CPtrlist of receveing socket
(these socket would be reserved to the file transfering only, a new connection (send or receive) would be etablished thanks to the 'main' connection: client-server)
and the client would have one CFileTransferThread *m_pFileTransferThread in member variable wich would be set and create on the init of the client dialog
?
Thank You
Banlt
|
|
|
|
|
I cant seem to set a different size font without getting a different font
for example
Fixedsys = new CFont;
Fixedsys->CreateFont( 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, FF_SWISS, "Fixedsys" );
mycontrol.SetFont( Fixedsys );
gives me the font i want "fixedsys" but when i do want a font size of 14 or something not default
and i do
Fixedsys = new CFont;
Fixedsys->CreateFont( 14, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, FF_SWISS, "Fixedsys" );
mycontrol.SetFont( Fixedsys );
it gives me the right size but no the right font, (it doesnt use the fixedsys font)
anyone know what i can do to get a higher font size and keep the font i want?
|
|
|
|
|
What is a Fixedsys font? Truetype? Raster? (I do not have it on my system).
Looks like Fixedsys could not be created with size 14, and you got the closest match.
-----------------------------
Get trial copy of comment generating tool CommentMakerPro, std::string and std::string containers viewer FeinEvaluatorPro and windows manager for Microsoft Visual Studio .NET FeinWindows at www.FeinSoftware.com
|
|
|
|
|
FixedSys is a monospace font as for what type of font it is i dont really know, i know its not TrueType, and its the one that uses the "A" icon like MS Sans-Serif, MS Serif, and Courier, on my computer its set as the defualt font for note-pad, and notepad uses it at different font-sizes just fine.
|
|
|
|
|
Fixedsys is a raster font, and raster fonts only support a fixed set of sizes. You will have to enumerate all possible sizes for such a font, an select a size appropriate for your needs. You might want to check EnumFontFamiliesEx for this.
|
|
|
|
|
I know WM_POWERBROADCAST can disable SLEEP key, but cant disable POWEROFF, which way can do this?
|
|
|
|
|
I have a webpage with a java applet child window. I want to write a program that can set focus on the applet and then fill in some data within it. Basically it's an online "time card" for submitting work time. I have a set schedule so I'd like to script it so I don't have to enter "9-5" over and over. Also, I don't have access to any of the applet source code, so this has to be done all with my own external app. I have some rudimentary undersanding of MFC but I assume this will take some heavy keystroke passing. Any ideas on how to make it easy?
.:curless.Tim:.
http://www.mio.uwosh.edu/curlet91
|
|
|
|
|
Hey all,
I am using InternetAttemptConnect()[^] to invoke the dial-up dialog when the user is on a dialup connection. I would like to know how to programmatically cancel the dial-up dialog that is created.
Sonork 100.11743 Chicken Little
"You're obviously a superstar." - Christian Graus about me - 12 Feb '03
Within you lies the power for good - Use it!
|
|
|
|
|
O.K. Scriptkiddies!
I was hoping that someone might want a challenge.
I have been looking at AngelCodes Desktop Overlay code that allows for a directdraw screen animation to be displayed onto the win32 desktop.
http://www.angelcode.com/dev/overlay/
"This demo will show an animated image like an old TV without signal on your desktop, under your windows and icons. It does this by using DirectDraw overlay surfaces that are masked to the desktop background color. DirectX 7 or later is needed to run the demo. "
Now for the newbee question and hopefully one might be up for this challenge (NOTE: do not care about being a resource hog).
I would like to know how to draw a very very basic box, 3d object, or load a image into that code instead of the static screen the code shows.
Exmaple: http://www.cplusplus.com/src/direct3d.zip
AngelCode does not have the time as he is very busy.
Now, I have searched and searched the web with only answers like "Just use Active Desktop", but I do not want to do a gif/flash animation.
I would like to get a code sample to show a simple 3d box on the desktop.
Very Very basic so that my little brain can get that light bulb going to go "OH THATS HOW THEY DO IT!"
I hope that one of you would like a challenge, or even help out a newbee at this to get my brain, and coding in the right direction.
Sure it might be a dumb thing to do, but I would realy like to learn how anyways.
Thank You
|
|
|
|
|
Is no up to this challenge?
Even if you happen to have some links that would be great.
|
|
|
|