|
|
How do i access and display a dxf object with the Visual C++ 6 api tools for Maya?
|
|
|
|
|
I want to save a struct contains points of char into a file,but actually the strings that the points point to don't be contained in the struct,how can I do?
|
|
|
|
|
You just save the contents of the strings. If you need to share strings between several instances of the struct (or other structs), you can devise some kind of id-mechanism instead.
|
|
|
|
|
Hi, I want to develop an application in Visual C++ 6 which will run the default internet connection.
Any ideas about how to do that, without running the internet explorer?
Thanks in Advance
Regards,
Dimitris
|
|
|
|
|
check MSDN for : Establishing a Dial-Up Connection to the Internet and InternetAutodial function.
InternetAutodial(INTERNET_AUTODIAL_FORCE_ONLINE,hWnd);
|
|
|
|
|
Hi guy;
Try to add an Web Browser control to your project. Add an Active control to the project. do Project->Add->Components and controls. Add the control and configure it to dial a connection in none is present.
Krugger
|
|
|
|
|
Hello, I am making a program in c using Microsoft's Visual C++ 6.0 compiler. I need to use in this program the function _beginthreadex, I have included the prosess.h header like this:
#include <process.h>
and I have linked LIBCMT.LIB MSVCRT.LIB in Project->Settings->link tab.
It still doesn't work and gives me a error like this:
error C2065: '_beginthreadex' : undeclared identifier
What am I to do?
PS I also tryed it in VC++ 7.0 and also it didn't work
|
|
|
|
|
Hi..Dear..
if your r using VC++6 then
u can use..
AfxBeginThread()
lot of examples available on internet regarding that...
OK! Bye..see you...
---Sumit Kapoor---
|
|
|
|
|
You probably haven't configured your project to be multi-threaded: Project Settings, C/C++ tab, Code Generation category, Use run-time library.
It defines a symbol _MT which turns on the definitions of _beginthreadex() etc. in the system headers (take a look inside process.h).
Lets be honest, isn't it amazing how many truly stupid people you meet during the course of the day. Carry around a pad and pencil, you'll have twenty or thirty names by the end of the day - George Carlin
Awasu 2.0 [^]: A free RSS reader with support for Code Project.
|
|
|
|
|
To debug a DLL project A, i set up a project B. On Windows NT & VC++ 5.0 i set project A's excute file to a debug version of B, it works. When open those two projects on Windows XP & VC++ 5.0, project B can still be debugged and breakpoints can be set, but i cannot set breakpoints to project A.
Could somebody please help me?
<font=sans-serif>|-|3llo Wo|2ld
|
|
|
|
|
Assuming that I understood you correctly, I think that you should do it the otherway around. Set the executable in project A to the one you compile in project B. This way you can debug your DLL.
|
|
|
|
|
I have some problem
problem #1 I am unable to write in Hkey_current_user thorugh service but i am able run to write same code for hkey local machine.when i try to write in hkey_current user it get wriiten in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Policies\System pls help.
is windows service don't authorize to write in HKEY_CURRENT_USER.
problem #2 i want to display the dialog box trough service,but till now i am unable to display the dialog box trough service.
is windows service authorize to show dialog box
problem #3
i am unable to use WinExec api call to execute the program thorugh service,they run but they don't show up to desktop,but they running as a background process which can seen in taskmgr, how to show them
thanks in advance
Alok Gupta
visit me at http://alok.stormpages.com
|
|
|
|
|
for executing try the CreateProcess function or ShellExecute because they are morfe efficient. If you are unable to write in the current user in registry you do not have the appropriate privilages to write to the certain user. Anyway it is better to write to HKEY local machine.
gabby
|
|
|
|
|
Hi friends,
I am trying to devlop a Single Document (Document/View Architecture) MFC application, which has Three frames. Left frame has a Hierarchy tree and on selection of any leaf node, number (not fixed) of images be displayed on the right upper frame (four picture per row) dynamically as shown below.
-----------------------------------------
| | |
| | |
| Tree | Images |
| | |
| | |
| |--------------------------------
| | |
| | Discription |
| | |
-------- -------------- -----------------
On click of an image its description should be displayed in right lower frame
My first priority is to display images dynamically.
Example: when there are 10 images, it should display 4 in first row, 4 in second row and last 2 in third row.
If any material/example/sample code/suggestion, Please reply me.
I need it very argently. Please help me.
Thanx
|
|
|
|
|
I am making a user interface with Outlook98-like bar in codeguru,now I'd like to put a bmp
picture as the background of left view,the code like follow which put on the
void CGfxOutBarCtrl::OnPaint().
CDC dcMem;
CBitmap bmpLogo;
BITMAP bitmap;
dcMem.CreateCompatibleDC(pDC);
bmpLogo.LoadBitmap(IDB_LEFTBACK);
bmpLogo.GetObject(sizeof(BITMAP), &bitmap);
CSize size(bitmap.bmWidth,bitmap.bmHeight);
CBitmap *pBmpOld = dcMem.SelectObject(&bmpLogo);
//GetClientRect(&rectClient);
pDC->StretchBlt(rc.left,rc.top,rc.Width(),rc.Height(),
&dcMem,0,0,size.cx,size.cy,SRCCOPY);
dcMem.SelectObject(pBmpOld);
dcMem.DeleteDC();
the IDB_LEFTBACK is the resource ID,but the color of the bmp picture is not normal,how can
I settle this question?
hi all
|
|
|
|
|
someone have told me that in this website there are a example or article which demonstrate the procedure to simulate the surface in vc IDE,that in debug,set a breakpoint,then on the left margin of the code view area shows a red point.....who can tell me the location in this website?
|
|
|
|
|
As a matter of a fact, you could use my line-numbering edit control, http://www.codeproject.com/editctrl/linenumberedit.asp[^] to accomplish this
You could, for example, add an array of the "breakpoints" to the line-number static.
You find code to draw on a specific line in the control. There is also code to select an entire line when you click in the margin, which you could use to get/set the "breakpoints".
|
|
|
|
|
Hello,
Please help me with information where could I make a free download of e-book named "Windows NT Shell Scripting"
I need it badly
Thanks!
|
|
|
|
|
I m previewing and capturing video in ASF Froamt using
VC++ and DirectShow + ASF_ Writer...
Now i want to send it on Network...using socket
How can i do it
how can i buffer if it required to send..
or Which interfaces or API's
or example source
thanx
|
|
|
|
|
Hi all
I understand that XP has thumbnail icons associated with file types an dthey're 48x48 pixels.
I was wondering what is the best way to extract say, the default shell thumbnail icon for an mp3 or other such file. I've been extracting the standard icons, but i was wondering how to extract the thumbnail icons
cheers
Bryce
---
Publitor, making Pubmed easy.
http://www.sohocode.com/publitor
|
|
|
|
|
hi,
i'm new here, can somebody help me, please..
heres the situation: i'm trying to run an exe file say test.exe, but this exe has still a file to open in order to fully function this exe. so what i wnat is to create another executable to launch the exe without manually opening the file associated to this exe.
|
|
|
|
|
Try ShellExecute()
"No matter where you go, there your are." - Buckaroo Banzai
-pete
|
|
|
|
|
I am having issues while writing a file renamer program using Visual c++. The problem is I can not replace non-unicode char to the unicode ones, for example i (not i) Visual c++ doesnt even let me to declare non-unicode chars.
If somebody has a clue or exprienced this before, please let me know.
Thnx...
Ilker TANLI
www.tanli.net
|
|
|
|
|
What do you mean "doesn't even let me declare non-unicode chars"? Why won't it? Is it giving you an error message of some sort? If so what's the error? What type of project are you trying to build? What version of Visual C++ are you using?
Without more information how do you expect anyone to help you?
Regards,
John
|
|
|
|