First of all, you have posted your question in a wrong section. Secondly, what I understood is, you need a compact solution. Lets assume you have A,B,C these three Sub programs having dependency on X,Y,Z systems. Now again you said, you have a main prog., say ProgMain, which then have a total control over A,B & C. Am I right? If this is a kind of situation, then I would rather prefer to use MFC/MDI with multi threaded arcitecture. Rather using DLL, I would suggests you to use Class files of A,B,C. I can give you better suggestion, if you can explain the situation with a good example.
Intersect
Posts
-
Modularizing Help -
Windows could not start properly, a new software or hardware may be responsible for this problemjust go with "Last known good Confg." option, it will surely help u to open ur PC. If still it doesn't work, pls let me know, I will help u then.
-
High Resolution Monitorlook, the problem could be better understand if u follow the below steps: 1. Check ur monitor with a or standard resolution monitor, I mean 1024 X 786. If ur CPU perform well , then Increase the Resolution gradually like: 1280 x 960 to 1600 x 1200 and on. [Do not disconnect ur monitor from CPU & Check ur Monitor cable is properly attached wd CPU or not] 2. After increasing resolution if ur CPU shutdown, then its an issue either with ur VGA card [if ur using any] or ur motherboard graphics chip doesnot support that high resolution. 3. In that case, borrow any VGA card from ur frnd and check it again. I dont think it is a CPU issue.
-
Windows CEAs I said in my earlier reply go to file->new->Project from existing code, this will help you to convert your VC++ code into WinCE, but I am not sure about C#. But if it is only a DLL, then why dont you try to load that DLL into C++ code?
-
USB2.0-Ser! Driver (USB -> Serial port cable driver)2 yrs back I also did something with Holux GPS & XP, I forgot that site which contains those drivers for serial-usb2.0, but I am sure, it was a chinese version also. I didn't spend much time to understand that, just clicked that wizard to finish the installation. I just suggests you, clickinhg those buttons in the wizard just complete the installation procedure, need not to understand much of that.
-
How to receive HTTP request? [modified]Nor the Win32 or MFC, I better suggests you to use C#.net. It will be much easier to do that with C#.net. Also you can use MFC, if you want to do it.
-
marquee progress barFollow this link, it will help you for sure. http://msdn.microsoft.com/en-us/library/bb387183.aspx[^]
-
USB2.0-Ser! Driver (USB -> Serial port cable driver)Try the below links, they might help you out: 1. download HL-340.zip from below (please find it in the posted thread) http://www.techspot.com/vb/topic112380.html[^] I guess this is the one you are searching for, or try out other link too 2. download the Serial to USB driver.rar http://www.digital-kaos.co.uk/forums/f10/pl-2303-usb-serial-port-adapter-21347/[^] 3. download the usb adaptor drivers.zip http://www.digital-kaos.co.uk/forums/f10/please-upload-maplin-usb-serial-rs232-drivers-d-12622/[^]
-
Windows CEUnder the WinCE File Menu you'll find Open Project option ( for opening exixting projects); choose your VC++ projects from there, it will autometically get converted into netive format. You need to think over, but in case of C#, I am not sure, whether this will work or not. But as you may know, not all the functions & syntax of VC++ & its wrapper libraries are not supported by WinCE.
-
error C2664: 'IPersistFile::Save' : cannot convert parameter 1 from 'CString' to 'LPCOLESTR'.Before you pass your CString convert it into BSTR or LPCOLESTR const LPCOLESTR* pCole; int iLen = strlen(szLinkName); memcpy(pCole,szLinkName,iLen); hres = ppf->Save(pCole,TRUE); ppf->Release();
-
who can teach me EngLishI am also poor in english, still I am trying to improvise daily. As this community belongs to Programming Language only, so probably you will never find any good teacher here, You better join any english class, read more & more news papers loudly, follow grammer books to frame your sentences & dictionary to build up huge stock of words.
-
howv to load vb activex dll in vc++To understand this better, let's look at a simple example: Suppose I have a VB ActiveX DLL with a class called Test, which has a method called TestItOut(). You can create the object and call the method like this: #import "test.dll" no_namespace named_guids _TestPtr pTest = 0; HRESULT hres = pTest.CreateInstance ( __uuidof(Test) ); pTest->TestItOut();
-
Mouse scroll wheelNormally the View should scroll by default. Mostly you have such problem when you have some control over the form, you will need to handle Scroll messages in the control in this case.I can scroll with the wheel in a CFormView application. If no controls is placed in your form too, then I suggest you to try your application on a different machine, see if there is any changes?
-
Retransmission timeout and Persist timeout Problemsuchithra, from your post, I can understand the problem wel, but you didn't mentioned whether you were using any wired/wireless communication. Look, I have done so many programs for interfacing, establishments of communications for different mechatronic devices etc. & faced lots of probs. The best practice would be throughing Exceptions, so that you can understand where the problem is. I rather suggest you- 1. Use UDP protocol other than using TCP/IP protocol. 2. If you are sending bulk data, then check for stack overflow 3. Try to Impliment of your own timeout block or extend socket timeout value 4. Swap your globally stored data to local veriable, so that before every recieve, your global block should be cleaned. 5. Check your h/w connection for communication. "Retransmission Timeout" error occurs: 1. It means either no data is being recieved by your VC++ aps(use Exceptions to check atallit recieve any data from sender or not) or it recieves few data, after that communication lost (cause by stack overflow/ h/w issue), which is quite obvious in TCP/IP protocol for large data transfer. Use UDP only.
-
Convert CString array to System::StringTry this once CString menu[5]; menu[5]={"1","2","3","4","5"}; String[] ^ msg = gcnew String(menu); msg += " (System::String)";
-
excelI didn't get you. Could you please explain in a bit details?
-
Changing Printer Settings to ensure Landscape print [modified]This might help you I guess : void CYourApp::SetupDefaultPrinter() { UpdatePrinterSelection(FALSE); if (m_hDevMode == NULL) DEVMODE* pDevMode = (LPDEVMODE)::GlobalLock(m_hDevMode); if(pDevMode) { pDevMode->dmFields |= DM_ORIENTATION; pDevMode->dmOrientation = DMORIENT_LANDSCAPE ::GlobalUnlock(m_hDevMode); } } Njoy...
-
How do I segment an image in different colors?Are you suppose to collect all the colors uses by an image & put them into different segment accordingly? If so, then open image into binary format & create four matrix of R,G,B & O (offset values) considering each of them as a segment. Put each RGB values into corresponding martix. Thats all I guess. If your requirment is somthing else, then im :doh:
-
DLL in memoryYes. you can load one DLL into System Memory.
-
Windows ExlporerCan you please elaborate, like which IDE you are using. because if you are using MS-VS 2006 or higher , then I guess there is one tool.