|
Hi Brain,
Your tutorial about dcom in code project website is more
useful,Iam able to understand the concept easily upto step 6 , when i tried
your sample in a stand alone machine both client and server application
works properly,But at the same time when im trying it from a remote machine
it is not working can you please help me with your reply im getting a error
like this "unable to access rpc IHelloWorld " i followed all the steps what
you have said to follow.wait for your reply
sarvendu
active member
|
|
|
|
|
Have you posted this comment to the article itself? The author may be able to help.
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
yup.
i need a help.
plz send me.
sarv
active member
|
|
|
|
|
sarvendu wrote: yup.
Where is the article you posted to?
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hi Brain,
Your tutorial about dcom in code project website is more
useful,Iam able to understand the concept easily upto step 6 , when i tried
your sample in a stand alone machine both client and server application
works properly,But at the same time when im trying it from a remote machine
it is not working can you please help me with your reply im getting a error
like this "unable to access rpc IHelloWorld " i followed all the steps what
you have said to follow.wait for your reply
active member
|
|
|
|
|
Is there a difference between using the WinInet function HttpSendRequest() asychronously and calling the function on a new thread?
I'm currently using HttpSendRequest() on a separate thread but it still seems to be blocking the winsock 'keepalives' that are sent between our client program and server programs.
AxisFirst For Business
|
|
|
|
|
|
And ?? What's the problem ?
Also, when you post code, use the code tags just above the emoticons
|
|
|
|
|
1. use <pre></pre> tags to post blocs of code.
2. use < and > when you have to display < and > in your code (in if , for , while , #include statements).
3. ask for a specific question ; "could any one help me [...] Help please" is not a question.
4. target the code that don't work and post only that code instead of 2 full big code files.
5. read the forum guidelines[^].
and at last 6. use the [Modify] link at the bottom of your post to edit it instead of repost the same thing twice...
sincerely,
TOXCCT >>> GEII power [toxcct][VisualCalc]
-- modified at 6:31 Wednesday 30th November, 2005
|
|
|
|
|
The String class in .NET, used by most of the controls returns Unicode strings.
I want to do some IO operations using the FILE* type. But fopen() accept only
char* arguments for the file name. Is there a way to solve this problem because
byte conversion can cause data loss?
Thanks a lot!
|
|
|
|
|
Use _wfopen .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi All,
I am using access automation. Please Guide How can I Get number of tables & names in a database using access automation?
I don't want to use any database connectivity since i don't intend to do anything with data or data fields. I just want to figure out number of tables & table names in an access database.is it possible using access automation.How?
Ankush Mehta
|
|
|
|
|
Hi all,
Please Guide me if anyone knows answer to this question!!!
Regards,
Ankush Mehta
erankushmehta
View Public Profile
Find all posts by erankushmehta
Add erankushmehta to Your Buddy List
Ankush Mehta
|
|
|
|
|
I am working on an applicaiton that needs to support different databases. I created the reports using SQL Server as the database, and for others i am setting the databse information and table locations from the code.
Now in some of the reports i have got subreports, having parameters mapping to the fields in the main report. Since the parameter is defined with an '@Parameter' in sql server and ad 'Parameter (no @)' in oracle for stored procedures I had to change the name of the parameters from code too. This is working ok.
Now the problem is that I had to modify the links accroding to the new parameter field names. but the problem is that i am unable to retrieve the mapping field names of the subreport. There is a call available as
ISubreportLinkPtr->MainReportField->GetName
ISubreportLinkPtr->SubreportField->GetName
The main report one return the correct name of the field in the main report but the subreport one always returns the first database field instead of the actual mapping field.
Anyone got any idea please reply quick.
Thanx.
Rahim Rattani
Software Engineer,
Matrix Systems (Pvt) Ltd.,
Karachi - Pakistan
|
|
|
|
|
Hello, after looking at this thread[^], I tried also to deploy my application on a remote computer (without VC2005 installed). The app was created with VC2005 Express edition. So, I read the several articles on app deployement on Microsoft website, and I could not believe it !! It seems impossible to use an app developped with the express edition on another computer !
None of the methods described there works because the files don't exists with the express edition:
1) Deploy using a Setup and Deployment Project: not possible because this type of project doesn't exist in the Express edition:
From the File menu, click New Project, open the Other Project Types node and select Setup and Deployment, then click Setup Project.
Supply a name and click OK.
2) Deploy using XCopy (method1: Deploying Visual C++ library DLLs as shared assemblies): the required files don't exist (and even the vcredist_x86 folder is not present)
Copy vcredist_x86.exe from %PROGDIR%\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\vcredist_x86\vcredist_x86.exe
to the target computer
3) Deploy using XCopy (method2: Deploying Visual C++ library DLLs as private assemblies): the required files don't exist neither (neither the redist folder)
On the development computer, from %PROGDIR%\Microsoft Visual Studio 8\VC\Redist\x86, copy Microsoft.VC80.CRT and
Microsoft.VC80.CRT to \bin and to \bin\MyLibrary.
SO WHAT ????
With the Express edition, all you can do is is develop your little application on your computer and that's it !! Not possible to redistribute it . And in November 2006 they want to make people pay for this crap ???
I can't believe it
Or maybe I could be wrong ?
|
|
|
|
|
Hello,
I have a MFC aplication with a dialog. In the same file where that dialog's methods are defined (dialog.cpp), i have defined some functions that don't belong to the dialog nor any other class. Some of those funcions need to access to the control's (some progress bar and a label) methods of that dialog.
Is that possible?. I've tried to define a global pointer to the dialog in the dialog.cpp file, and asign it to the dialog in the constructor method (pointer=this). Then i should access to the controls from the functions by using: pointer->GetDlgItem(ID)->SetWhatever(); , but i can't.
Could you help me?
Thanks in advance.
|
|
|
|
|
Accessing controls from outside a dialog is in general a bad design practice. Also, try to avoid global variables and global functions (it's lead in general to a lot of troubles).
Your problem could probably solved in another way than using global funcions. Why do you want to use such behavior in a global function ? What do you need to do exactly ? If you describe in details what you are trying to achieve, we could probably help you by pointing you better ways of doing it...
|
|
|
|
|
Thank you. I know that using global functions is not a good design practice, but due to external reasons i have to use at least one, and that one needs to update some controls very frequently (25 times/sec).
The process is this:
launch aplication
|__launch dialog
|__launch DirectShow graph
|__uses filter that takes a function (not method) as parameter
|____function accesses dialog controls 25 times per second to update some progress bars and labels
Thanks again.
|
|
|
|
|
ProbeVision wrote: Some of those funcions need to access to the control's (some progress bar and a label) methods of that dialog. Is that possible?
Perhaps, but why would you want to? It sounds like a recipe for disaster. Why not just send the dialog a standard Windows message and let the dialog itself communicate with its controls? If you absolutely had to communicate with the controls, use SendDlgItemMessage() .
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Thank you, but how could i send a Windows message to a dialog?
|
|
|
|
|
ProbeVision wrote: how could i send a Windows message to a dialog?
The same way you would send a message to any other window...by using SendMessage() .
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Thank you, the problem is solved. Your help was very useful.
|
|
|
|
|
Hello
I am using recursive function to populate directories and sub directories in a tree control.How can i make a directroy, sub directory of some directory. Please help me.
Waiting for reply...
We Believe in Excellence
|
|
|
|
|
Aqueel wrote: How can i make a directroy, sub directory of some directory.
By using CreateDirectory() or SHCreateDirectoryEx() .
"Take only what you need and leave the land as you found it." - Native American Proverb
|
|
|
|
|
Hi
How to differentiate MFC functions and SDK and what are the differences between these two. Please help me in this regard.
Thanks
|
|
|
|