27 Discussion / Question Topics

Remove Filter
Member Avatar for GDICommander

Hi, everyone! When I'm building my project on Visual Studio 2008 that uses Xerces, I have the following linker errors: [CODE=text] 2>XmlPersistingService.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static void __cdecl xercesc_2_8::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_2_8::PanicHandler * const,class xercesc_2_8::MemoryManager * const,bool)" (__imp_?Initialize@XMLPlatformUtils@xercesc_2_8@@SAXQEBD0QEAVPanicHandler@2@QEAVMemoryManager@2@_N@Z) referenced in function …

Member Avatar for Dazza2
0
1K
Member Avatar for GDICommander

Hello, everyone! I'm starting to learn OpenGL and I have a problem with linear transformations. The program is very basic: I want to draw 4 squares and make them move individually (by doing translations and rotation). I understand that I need to stock all the transformation in a matrix, so …

Member Avatar for chvkishore.20
0
1K
Member Avatar for GDICommander

Hello, DaniWeb community! I want to know how I can delete environment variables in Python so that I can no longer see them outside of the execution of the Python script (on Windows, in "Advanced System Settings/Environment Variables...") This is what I tried: os.unsetenv deleting entries in os.environ, but it …

Member Avatar for GDICommander
0
2K
Member Avatar for GDICommander

Hello! I need help to construct a regular expression in Python that will help me get the file name of a include directive in C++. I think that regular expressions are a good way to solve this problem, but I'm open to new ideas. Consider these following includes: [CODE] #include …

Member Avatar for GDICommander
0
312
Member Avatar for GDICommander

Hi, everyone! I'm having grave difficulties with generated JAR bundles from Maven OSGI plugin in Netbeans. When running the bundle from Netbeans, all works fine. But when I'm taking the generated JAR file from Maven and I'm using it outside Netbeans from command prompt and with Felix (java -jar bin\felix.jar, …

0
85
Member Avatar for GDICommander

Hello, everyone! I'm not able to access a WSDL file on a remote machine. I am using DOSGI and I'm creating a service in a OSGI bundle. My container is Apache Felix. DOSGI takes care of exposing a OSGI service as Web services. DOSGI publishes a WSDL at [url]http://localhost:9595/prototype1Service?WSDL[/url] on …

Member Avatar for GDICommander
0
204
Member Avatar for GDICommander

Hello everyone! When I'm starting a OSGI bundle in my Apache Felix container, I have a ClassNotFoundException. This is the output that I have: [CODE] start file:/C:/Users/Pierre-Alexandre/Documents/NetBeansProjects/Prototype1/src/Prototype1Client.jar 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged INFO: bundle changed: null 23-Sep-2010 10:43:12 AM org.apache.cxf.dosgi.discovery.local.LocalDiscoveryService bundleChanged …

Member Avatar for GDICommander
0
5K
Member Avatar for GDICommander

Hi, everyone! I'm in search of an associative container that does not need an implementation of operator< for the key type. std::map and std::set requires that, so I think that I need another kind of associative container. I can always implement my own contained using a vector of pairs, but …

Member Avatar for GDICommander
0
100
Member Avatar for GDICommander

Hello, everyone! I am unable to start a OSGI bundle. I'm using Apache Felix and this is my bundle: 1) Activator.java [code=java] package Example2; import java.util.Properties; import org.osgi.framework.BundleActivator; import org.osgi.framework.BundleContext; import Example2.Service.IDictionaryService; /** * This is the bundle. * @author Pierre-Alexandre * */ public class Activator implements BundleActivator { public …

Member Avatar for GDICommander
0
2K
Member Avatar for GDICommander

Hello! I have problems with modal MFC windows over 3dsMax. I'm popping a MFC modal window over 3dsMax (I'm programming a plugin for 3dsMax, if you mind), so I can't click on any 3dsMax window button, because the modal window is here. The modal window, by clicking on a button, …

Member Avatar for GDICommander
0
105
Member Avatar for GDICommander

Hello, everyone! I'm using the Win32 API PeekMessage function to retrieve key stroke events. I have a problem: suppose that someone holds the A button. PeekMessage will return messages for the A press event. Now, while A is pressed, someone holds B. PeekMessage will return only the B press event …

Member Avatar for Taurusk
0
125
Member Avatar for GDICommander

Hi, everyone! I'm having trouble with a linker error (I'm using Visual Studio 2008) and I would like to have some tips on solving this problem: This is my code: Bill.cpp [CODE] #include "Bill.h" #include "../Exceptions/InvalidArgumentException.h" Bill::Bill() { } Bill::Bill(string shopName) { if (shopName == "") { throw(InvalidArgumentException("The shop name …

Member Avatar for GDICommander
0
168
Member Avatar for GDICommander

Hi, everyone! I am using Interop.Photoshop.Dll from my C# Windows Forms application. I am using a com object that Adobe Photoshop CS4 provides to use Photoshop in my C# program. I'm using the ApplicationClass class to launch Photoshop. I have Photosoft CS3 and CS4 on my machine. When I do …

Member Avatar for sknake
0
977
Member Avatar for GDICommander

Hi, everyone! I'm writing a program in C# that needs to know opened files in a Photoshop CS4 window. The old versions of Photoshop have a MDIClient window in the program that can be getted with GetWindow() and GetClassName() calls. So, I can get the name from the window title …

0
172
Member Avatar for GDICommander

Hello everyone! I'm having a bad time trying to find a solution to my problem: I'm developping a client-server application. On the server side, I am calling a method, Recoit (receive), that calls internally msgrcv(), a UNIX system call for message-passing purposes. The problem is that I always receive a …

0
73
Member Avatar for GDICommander

Hello, everyone! It's been a long time using C++ and I have a link problem. This is the code... [CODE] #include <iostream> #include "libc++/pcslib.h" int main() { std::cout << "About to load the server and all the clients." << std::endl; Pcs serverProcess("server"); Pcs clientProcess("client"); serverProcess.Join(); clientProcess.Join(); std::cout << "After joining …

Member Avatar for GDICommander
0
112
Member Avatar for GDICommander

Hello everyone! I'm looking for a class in the Java API that can take the complete structure of a directory in itself and that can be passed on sockets, so it can be used on other machines of a network. Is there someone that can show me an existing class? …

Member Avatar for kvprajapati
0
104
Member Avatar for GDICommander

Hello, everyone! I have a problem with memory free. Here is the necessary code to understand the problem: [CODE] void fillArray(char** referenceArray, FILE* grid) { //Chaîne qui va contenir une ligne du fichier. char* lineContent = malloc((width + 1) * sizeof(char)); //Pour contenir le "\0" int i, j; for (i …

Member Avatar for jephthah
0
296
Member Avatar for GDICommander

Hello everyone! I'm developping a chat application in a client/server context and every client has a shared directory. I want the server to know the directory structure of each shared directory of every client. I'm asking myself if there's an existing class in the Java API that can keep a …

Member Avatar for ~s.o.s~
0
206
Member Avatar for GDICommander

Hi, everyone! I'm having problems with the implantation of a free camera in a 3D world. For now, I'm using the A/D/W/S keys to make the camera go right, left, forward and backward. The problem is that I don't see the effects of the forward and backward movements. Even with …

Member Avatar for MattEvans
0
2K
Member Avatar for GDICommander

Hello, everyone! I am using Xalan to parse a XML document. This is a glimpse of what I do: [CODE] std::string fileNameStr = fileName.Tofilename(); XalanDOMString strFileName(fileNameStr.c_str()); LocalFileInputSource srcFile(strFileName.c_str()); XalanDocument* document = parserLiaison.parseXMLStream(srcFile); [/CODE] What I want to do is to know the encoding of the source document. There is no …

Member Avatar for GDICommander
0
118
Member Avatar for GDICommander

Hi, everyone! At work, I'm having problems to run a XPath using the selectNodeList() method from Xalan. The XPath I want to execute is: //pam:message//prism:coverDate The error message I have is: The prefix 'pam' is not declared. expression = '//pam:message//prism:startingPage' Remaining tokens are: ('/' '/'). I have searched on the …

Member Avatar for GDICommander
0
122
Member Avatar for GDICommander

I need help with the code below. At root->removeChild(nodeToRemove), I have a NOT_FOUND_ERR code. It is not supposed to return this code, because I look in the DOM Tree with IsInDocument. Can someone tell me what's wrong with this code. I'm becoming blind with this code. [CODE] DOMNode* nodeToRemove; if …

Member Avatar for GDICommander
0
163
Member Avatar for GDICommander

Hello, everyone. Is there a program on Linux that displays all the processes that are holding a reference (or handle, I know that it is a Windows word) on a specific file? You know, like Process Explorer on Windows. That will be very useful for me. Thanks for your answers.

Member Avatar for GDICommander
0
97
Member Avatar for GDICommander

Hi, everyone! If you have worked on ACE, this is the post for you. I want to ensure that all the buffer contents of a file are on disk. So I want to use a fsync() or a fflush() function. I'm working with ACE_HANDLEs. Unfortunately, my searches concluded with this: …

Member Avatar for GDICommander
0
221
Member Avatar for GDICommander

Hello everyone. I am using ACE and I'm using the following method: ACE_OS::read(char* buffer, int nbbytes, int perms); I was informed that Windows is reading data from disk sectors and it puts the contents of the read sectors into the cache (who is in memory). I don't want that behavior …

0
43
Member Avatar for GDICommander

Hi, everyone. I am doing a performance test on the heapsort. I wrote this program and it has a run-time error that I cannot explain. I am compiling on Microsoft Visual Studio 2008 and this is the error. HEAP CORRUPTION DETECTED after Normal Block ... well, I think that the …

Member Avatar for GDICommander
0
114