|
When you say "sets the bytes written pointer to the number of bytes written in my port buffer", do you mean the actual number (compressed) or the number you were sent in?
If the former, it might be that the spooler thinks the write is failing, and is retrying.
Steve S
Developer for hire
|
|
|
|
|
Hi Steve S,
I am sending back the actual number read and put in the compression buffer not the number of compressed bytes. Still the MSDN states that no matter the number written back to the spooler, the spooler only needs the return result TRUE to know that the call has succeeded.
BOOL (WINAPI *pfnWritePort)(HANDLE hPort, LPBYTE pBuffer, DWORD cbBuf, LPDWORD pcbWritten );
where pcbWritten is the number wriiten.
Neoadam
|
|
|
|
|
hi~everyone
i hava a question puzzle me ! when i used "CFile's" open()function read a file use unicode in windows 98
but it's allways fail ! i can't get the handle of file!
please help me ande very thanks in advance!!
nothing
|
|
|
|
|
Perhaps you're missing the fact that Windows 9x doesn't have built in support for Unicode?
Check this[^] out.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm looking for an OpenType or TrueType font that contains both upper and lowercase plus digits (as a minimum), which consist of lines made of circular dots (like on electronic messageboards).
Anyone know one like this (ideally free!)? Failing that, can anyone direct me to a better place to look...
Needs to be OT/TT because I want to be able to rotate text without having to resort to GDI+ stuff (everything else uses straight GDI).
Thanks in advance
Steve S
Developer for hire
|
|
|
|
|
|
Thanks. If nothing else, I can use the trial editors to create what I need !
Steve S
Developer for hire
|
|
|
|
|
I am working on a client/server project.I want to send any jpg or bmp image from server(VB.NET appln) to another PC that can be rec'd by client(VB.NET appln). Plz give me some hint so that I can do this.
email: sharma.hariomprakash@gmail.com
|
|
|
|
|
Look into NetworkStreams and BinaryReaders/Writers.
Should not be too difficult.
I just looked and I don't have any specific code examples but I have moved data between machines before (not pictures specifically but other things) and it works fine.
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
i know all this using NetworkStream and BinaryReaders/Writers. but it takes a lot of time to send each data line every time after making a connection every time(using tcp sockets). Is there any another way to send half or full data at a time?
email: sharma.hariomprakash@gmail.com
|
|
|
|
|
I am not really sure what you mean by 'it takes a lot of time'.
This all depends on:
- How quick your network is.
- How large your file is.
- How you are reading the file in.
- How you are writing it out.
- How you are reading it in on the other end and putting it back together.
How are you quantifying the speed?
Look at the various ways you can use the readers and writers regarding reading in larger chunks and sending them. Look into ways to maybe compress what you are sending.
George Carlin wrote:
"Don't sweat the petty things, and don't pet the sweaty things."
Jörgen Sigvardsson wrote:
If the physicists find a universal theory describing the laws of universe, I'm sure the a**hole constant will be an integral part of that theory.
My Blog[^]
|
|
|
|
|
Hi, all. I'm trying to put a keylogger on my comp, one that would run undetected of course, and I need the log or text file to be automatically e-mailed to me each day. Do you have any suggestions that meet these requirements?
|
|
|
|
|
Sorry, noone is going to help with such a project. For very obvious reasons...
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
As in, obviously I shouldn't have any concern what is being done on my computer while I'm gone? There are several keyloggers available, I'm just asking for a recommendation to make a cost-effective decision while keeping my interests secure.
|
|
|
|
|
Nope. Because it can be turned around and abused so badly.
I know. I've done it myself and it scared the crap out me how easy it was and what I could see with it. I wrote mine as an exercise in client activated/server objects. When ever the person logged in, a window popped up on my machine and I could see every keystroke, as they typed it!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi,
I am stuck in a situation. Actually i have to make a windows service to gracefully shut down an Application (if any running process gets killed or hanged, then shutdown all the processes gracefully).
This application consists of four processes (running exes). All these four processes are multithreded processes.
Out of the four processes we have code of only two processes which are actually wrapper of the other two.
While other two are third party exe's..
Can you please tell some approach for this situation. The real problem is to gracefully shutdown the proccesses without code.
Plz help !!
Rajni
|
|
|
|
|
I am creating the installer package for MFC app with InstallShield. Now I want while installing the user should not be able to select the subfeatures twice in the Customed installation. He should be able to select the sub feature only once. for the second time he will not be allowed. How can i do that?
|
|
|
|
|
hi to all
I installed one security component on one server. Suppose if any user want to access the core functionality of the main applcations, the user credentials must be passed through this security component. Users belonging to different domains.Again this domains are divided into global and local group users.
For only one domain(assume x), if local group is used , the security component does not work. Global group for this domain is working fine.
what is the expectiong error here?
Is that OS related error or Applcation error?
OS: NT
component p.language: cpp
Expecting a early reply....
Thanks,
Bhasker.P.
from smile world......
|
|
|
|
|
|
i know, i know, i have to stay calm myself, but it seems that i've been seeing this question too much time. yeah, you have no answers, but did you wonder if you were asking the question the right way ? i mean, a way that everybody can understand you ?
well,personnaly, i have no idea of what to do in you case, ,but i have an advice.
did you notice the "little" ( ) sentence when you posted this on this forum ??
<font color=red>Please do NOT post programming questions or ads to this forum.</font>
so, get the [Delete] link at the bottom of your post, and do what you have to do with it.
nothing more for me.
TOXCCT >>> GEII power [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]
|
|
|
|
|
|
|
|
|